Minecraft-bedrock-json-schemas
Minecraft-bedrock-json-schemas copied to clipboard
Support single values for item components
Many item components also support a format similar to "minecraft:component": true
rather than "minecraft:component": { "value": true }
Could've sworn that resulted in an error in the newest format version for most of those components
Going to have to test this 🤔
I've tested them all in game, display name is the only component that doesn't support it.
Alr
@QuazChick Could you share your file?
I might just want to do a quick verification :)
{
"format_version": "1.20.70",
"minecraft:item": {
"description": {
"identifier": "test:staff",
"menu_category": {
"category": "equipment"
}
},
"components": {
"minecraft:can_destroy_in_creative": false,
"minecraft:max_stack_size": 64,
"minecraft:icon": "stick",
"minecraft:glint": true,
"minecraft:damage": 2,
"minecraft:stacked_by_data": true,
"minecraft:should_despawn": true,
"minecraft:hover_text_color": "aqua",
"minecraft:use_animation": "brush",
"minecraft:use_modifiers": {
"use_duration": 2
}
}
}
}
Confirmed that it still works
Guess it can be merged then