Example of a weapon/tool
assets\coreextensions\models\item\iron_sword.json
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "coreextensions:item/iron_sword"
}
}
This JSON file specifies the model for the iron sword item. It inherits from the "minecraft:item/handheld" model and defines the texture used for the sword's appearance.
The corresponding texture file should be placed in the following directory:
Texture File:
assets\coreextensions\textures\item\iron_sword.png
Ensure that the texture file is placed in the specified directory within your resource pack to define the appearance of the iron sword item in the game.
Last updated