#Item doesn't work

1 messages · Page 1 of 1 (latest)

random haven
#

I made a magic leaf but when in minecraft it does not work by being invisible with correct icon texture , isn't in the right category and group and do not make it's functionality

#

Is there a problem in code ?

"minecraft:item": {
"description": {
"identifier": "vca:magic_leaf",
"is_experimental": false
},
"components": {
"minecraft:icon": {
"texture": "leaf"
},
"minecraft:max_stack_size": 1,
"minecraft:foil": true,
"minecraft:creative_category": {
"group": "itemGroup.name.leaves",
"category": "nature"
},
"minecraft:use_duration": 2,
"minecraft:use_animation": "bow",
"minecraft:can_destroy_in_creative": false,
"minecraft:cooldown": {
"duration": 10,
"category": "magic"
},
"minecraft:on_use": {
"on_use": {
"event": "vca:on_use"
}
}
},
"events": {
"vca:on_use": {
"run_command": {
"command": [
"/particle vca:vine_effects ~~~",
"/effect @p slow_falling 3 1 false"
]
}
}
}
}

spiral cedar
#

and where is the format_version?

random haven
#

It's on the code , I didn't pasted it

#

Just minecraft:item

#

It's 1.19.50 format_version

spiral cedar
#

ok, do you have texture_item.json?

random haven
#

Yes