#items with properties, help

1 messages · Page 1 of 1 (latest)

lilac zenith
#

Is it possible to place properties on items or is it impossible?

for example here

{
    "format_version": "1.20.50",
    "minecraft:item": {
        "description": {
            "identifier": "papa:pe",
            "properties": {
                "papa:pe": {
                    "type": "bool",
                    "client_sync": true,
                    "default": false
                }
            }
        },
        "components": {
            "minecraft:max_stack_size": 1,
            "minecraft:icon": {
                "texture": "pe"
            },
            "minecraft:display_name": {
                "value": "papaya"
            }
        }
    }
}