properties
object¶
Info
👷 🚧 This Page is currently under construction ! 🏗️ 👷♀️
It equals to the Java code
new ItemWithProperties(new Item.Properties().([...]));
Example
[ { "registryName": "test_with_properties", "properties": { "toolType": "pickaxe", "toolTypeLevel": 1, "containerItem": "minecraft:bucket", "maxDurability": "20", "food": "APPLE", "maxStackSize": "64", "noRepair": false, "rarity": "COMMON" } } ]
Example with multiple blocks
[ { "registryName": "test_with_properties", "properties": { "toolType": "pickaxe", "toolTypeLevel": 1, "containerItem": "minecraft:bucket", "maxDurability": "20", "food": "APPLE", "maxStackSize": "64", "noRepair": false, "rarity": "COMMON" } }, { "registryName": "test_with_other_properties", "properties": { "maxStackSize": "1", "noRepair": true } } ]