In your datapack you could include an Items folder and a Blocks folder.
For each custom block or item you would create a .JSON file with the specific information of that item/block (e.g. if it requires silk touch to drop or if it edible).
You would also be able to specify texture/model, supported enchantments, custom right-click actions etc.
After you have defined a block/item you could /give it to yourself, add it to a loot table or use it in a crafting recipe.
The custom item would be registered as [DATAPACK NAMESPACE]:[.JSON FILE NAME]
This solution would make it way easier for map and datapack makers to add custom blocks and items in a matter of minutes instead of having to resolve to work-around solutions.
Please sign in to leave a comment.
0 Comments