Every guide, two ways
Each guide shows how to make the thing in the GodCraft app and how to write it by hand. Same add-on, same result in Minecraft: pick the way that suits you.
IN THE APPtry it, it works
Texture
Name
Category
Identifier
Stack Size
64
Use Animation
Nutrition
6
Saturation Modifier
BY HANDBP/items/ruby_apple.json
{
"format_version": "1.26.30",
"minecraft:item": {
"description": {
"identifier": "myname:ruby_apple",
"menu_category": {
"category": "items"
}
},
"components": {
"minecraft:icon": "ruby_apple",
"minecraft:display_name": {
"value": "Ruby Apple"
},
"minecraft:max_stack_size": 64,
"minecraft:food": {
"nutrition": 6,
"saturation_modifier": 0.8,
"can_always_eat": true
},
"minecraft:use_animation": "eat",
"minecraft:use_modifiers": {
"use_duration": 1.6,
"movement_modifier": 0.35
},
"minecraft:tags": {
"tags": [
"minecraft:is_food"
]
}
}
}
}New to add-ons? Level up
Seven short lessons take you from zero to your own add-on in Minecraft.
The Codex
Everything Minecraft accepts in an add-on, with fields, types and defaults.