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

From SAS Gaming Wiki
Revision as of 11:11, 16 September 2026 by SyncBot (talk | contribs) (Sync: new page from Minecraft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Template:Nbt Root object
    • Template:Nbt: Holds the names of all the variants of the block.Template:Info needed
      • Template:NbtTemplate:Nbt: Name of a variant, which consists of the relevant block states separated by commas. A block with just one variant uses "" as a name for its variant. Each variant can have one model or an array of models and contains their properties. If set to an array, the model is chosen randomly from the options given, with each option being specified in separate subsidiary Template:Nbt-tags. Item frames are treated as blocks and use "map=false" for a map-less item frame, and "map=true" for item frames with maps.
    • Template:Nbt: Used instead of variants to combine models based on Minecraft:block state attributes.
      • Template:Nbt Determines a case and the model that should apply in that case.
        • Template:Nbt: A list of cases that have to be met for the model to be applied. If unset, the model always applies.
          • Template:Nbt: Matches if any of the contained cases return true. Cannot be set alongside other cases.
            • Template:Nbt: A list of cases that all have to match the block to return true.
              • Template:Nbt: Name of a block state. A single case that has to match one of the block states. It can be set to a list separated by | to allow multiple values to match.
          • Template:Nbt: Matches if all of the contained cases return true. Cannot be set alongside other cases.
            • Template:Nbt: A list of cases that all have to match the block to return true.
              • Template:Nbt: Name of a block state. A single case that has to match one of the block states. It can be set to a list separated by | to allow multiple values to match.
          • Template:Nbt: Name of a block state. A single case that has to match one of the block states. It can be set to a list separated by | to allow multiple values to match. Cannot be set alongside the OR or AND tag.
        • Template:NbtTemplate:Nbt: 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 Template:Nbt-tags.
"uvlock": true "uvlock": false
File:Uvlock true.png File:Uvlock false.png


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