#Google said it was a datapack but idk
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
<@&1166082198152159386> <@&1202694677766348840>
Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)
Is there a particular reason you want to use a number?
Because I want to make it so you can not get the thing from crafting for example normal diamond armor
Not relevant, you can do that without using a number
really? Cuz what I did for non textured item was add data with the /give command
That's not necessary anymore
There's two parts to this: the data pack side and the resource pack side, and each side also has two parts: handling the item texture in the inventory, and handling the actual armor when worn
On the data pack side, you just make a give command or loot table (latter will be easier) to give an item that has at least an item_model component and an equippable component. Both will reference files you'll make on the resource pack side
In the resource pack, you'll make several files, mostly JSONs. For the item:
- A JSON file at
assets/<namespace>/items, which is what the item model component will reference, and itself references the next file - A JSON file at
assets/<namespace>/models/item, which contains information about the item model (which is necessary even if it's just a 2D sprite) and will reference the next file - A PNG file at
assets/<namespace>/textures/item, which will be the texture to use
For the armor:
- A JSON file at
assets/<namespace>/equipment, which will be referenced by the equippable component, and references the textures to use for the various armor types - Folders at
assets/<namespace>/models/entity/equipmentnamedhumanoidandhumanoid_leggings, each containing the PNG texture files to use for the respective armor types (in this case, Helmet+Chestplate+Boots, and Leggings
Thank you! Once I figure out how to make a pack in the first place I will keep this in mind!