The item def file:

{

"model": {

"type": "minecraft:select",

"property": "minecraft:component",

"component": "minecraft:custom\_name",

"cases": \[

{

"when": "Present",

"model": {

"type": "minecraft:model",

"model": "minecraft:block/present\_box",

"tints": \[\]

}

}

\],

"fallback": {

"type": "minecraft:model",

"model": "minecraft:block/shulker\_box"

}

}

}

Voir le contenu lié