Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Blockstates definition/format: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: new page from Minecraft
 
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
**** {{Nbt inherit/blockstates/models}}
**** {{Nbt inherit/blockstates/models}}
** {{nbt|list|multipart}}: Used instead of '''variants''' to combine models based on [[Minecraft:block state]] attributes.
** {{nbt|list|multipart}}: Used instead of '''variants''' to combine models based on [[Minecraft:block state]] attributes.
*** {{nbt|compound|A case}} Determines a case and the model that should apply in that case.
*** {{nbt|compound|A case}}: Determines a case and the model that should apply in that case.
**** {{nbt|compound|when}}: A list of cases that have to be met for the model to be applied. If unset, the model always applies.
**** {{nbt|compound|when}}: A list of cases that have to be met for the model to be applied. If unset, the model always applies.
***** {{nbt|list|OR}}: Matches if any of the contained cases return true. Cannot be set alongside other cases.
***** {{nbt|list|OR}}: Matches if any of the contained cases return true. Cannot be set alongside other cases.
****** {{nbt|compound|A condition}}: A list of cases that all have to match the block to return true.
****** {{nbt|compound|A condition}}: A list of cases that all have to match the block to return true.
******* {{/state}}
******* {{:Blockstates definition/format/state}}
***** {{nbt|list|AND}}: Matches if all of the contained cases return true. Cannot be set alongside other cases.
***** {{nbt|list|AND}}: Matches if all of the contained cases return true. Cannot be set alongside other cases.
****** {{nbt|compound|A condition}}: A list of cases that all have to match the block to return true.
****** {{nbt|compound|A condition}}: A list of cases that all have to match the block to return true.
******* {{/state}}
******* {{:Blockstates definition/format/state}}
***** {{/state}} Cannot be set alongside the '''OR''' or '''AND''' tag.
***** {{:Blockstates definition/format/state}} Cannot be set alongside the '''OR''' or '''AND''' tag.
**** {{nbt|compound}}{{nbt|list|apply}}: Determines the model(s) to apply and its properties. There can be '''one model''' or an '''array of models'''. If set to an array, the model is chosen randomly from the options given, with each option being specified in separate subsidiary {{nbt|compound}}-tags.
**** {{nbt|compound}}{{nbt|list|apply}}: Determines the model(s) to apply and its properties. There can be '''one model''' or an '''array of models'''. If set to an array, the model is chosen randomly from the options given, with each option being specified in separate subsidiary {{nbt|compound}}-tags.
***** {{Nbt inherit/blockstates/model}}
***** {{Nbt inherit/blockstates/model}}

Latest revision as of 11:10, 19 October 2026

"uvlock": true "uvlock": false
File:Uvlock true.png File:Uvlock false.png


Minecraft:pt:Definição de estados de bloco/formato