forum Forumsplay_arrow Minecraft fiber_manual_record Help

2

Need help making a datapack

2 emeralds5 replies124 views
created 03/23/2019 1:54 am by DragonSlayr1500
last reply 03/24/2019 12:44 am
Hello! Thanks for dropping by.
I'm currently in the process of making a datapack for my sister because she can't figure out how to install a certain plugin. This datapack is supposed to add new items, but I don't know how to code this, or where to put any code once it's made.
Background stuff: I downloaded a default 1.13 texture pack, in I think it was 1.2 style? so it was easier to navigate. I then started doing some texture for the new items, then didn't know what to do for the code, searching up "how to make a datapack" and finding the Minecraft wiki page. I followed the instructions that I saw fit, adding the separate nameplate folder "fgarden" and adding all the texture-based folders in there since I thought that was necessary. The added items are mostly all foods, and I want some of them to grow on trees.
What should I do to make the items work as I want them to?
Thanks in advance.
Posted by avatar
DragonSlayr1500
Level 1 : New Miner
0

5 replies

1
03/23/2019 4:45 am
Level 8 : Apprentice Engineer
Geeri
avatar
Depends. Adding new item is possible, but not sure what you want to use them for. You could use durability value of an item and change texture depending on what durability it has. Later you could give that item to your self.
1
03/23/2019 6:03 pm
Level 1 : New Miner
DragonSlayr1500
avatar
Most of the items are edible, made to be eaten by the player or crafted into a better edible item. I know how to do crafting recipes, but I don't know how to add the items themselves.
1
03/23/2019 4:15 am
Level 29 : Expert Modder
Toma1O6
avatar
Adding new consumable items is impossible (you can add some textures on specific items with modified NBT data, but you cannot change its behavior). But you can create it using mods
1
03/23/2019 6:06 pm
Level 1 : New Miner
DragonSlayr1500
avatar
I would have liked to just make a mod, but in my opinion, mods are too hard to install and uninstall. With the datapack, you just turn it on or off like a texture pack. Easy.

I also don't know how to make a mod, so there's that as well.
1
03/24/2019 12:44 am
Level 4 : Apprentice Modder
HoboMaggot
avatar
Mods have more give you more content to code with as datapacks are strictly limited to vanilla stuff.

Planet Minecraft

Browse

Site

© 2010 - 2019
planetminecraft.com

Welcome