Minecraft:Bedrock Edition level format/Block entity format: Difference between revisions
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{ | {{exclusive|bedrock}} | ||
This page lists NBT structures of block entities {{in|bedrock}}. | |||
This page lists NBT structures of block entities {{ | |||
A [[Minecraft:block entity]] is used by ''Minecraft'' to store information about a block that can't be stored in the block's block states. | A [[Minecraft:block entity]] is used by ''Minecraft'' to store information about a block that can't be stored in the block's block states. | ||
| Line 9: | Line 8: | ||
== Block Entity == | == Block Entity == | ||
All block entities share this base: | All block entities share this base: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|string|CustomName}}: (May not exist) The custom name of the block entity. | ||
** {{ | ** {{nbt|string|id}}: The savegame ID of the block entity. | ||
** {{ | ** {{nbt|byte|isMovable}}: 1 or 0 (true/false) - true if the block entity is movable with a piston. | ||
** {{ | ** {{nbt|int|x}}: X coordinate of the block entity. | ||
** {{ | ** {{nbt|int|y}}: Y coordinate of the block entity. | ||
** {{ | ** {{nbt|int|z}}: Z coordinate of the block entity. | ||
== Additional fields for block entity types == | == Additional fields for block entity types == | ||
=== Banner === | === Banner === | ||
Additional fields for [[Minecraft:banner]]: | Additional fields for [[Minecraft:banner]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|int|Base}}: The base color of the banner. See [[Minecraft:Banner#Block_data]]. | ||
** {{ | ** {{nbt|list|Patterns}}: (May not exist) List of all patterns applied to the banner. | ||
*** {{ | *** {{nbt|compound}}: An individual pattern. | ||
**** {{ | **** {{nbt|int|Color}}: The base color of the pattern. See [[Minecraft:Banner#Block_data]]. | ||
**** {{ | **** {{nbt|string|Pattern}}: The pattern ID code. See [[Minecraft:Banner#Block_data]]. | ||
** {{ | ** {{nbt|int|Type}}: The type of the block entity. 0 is normal banner. 1 is ominous banner. | ||
=== Beacon === | === Beacon === | ||
Additional fields for [[Minecraft:beacon]]: | Additional fields for [[Minecraft:beacon]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|int|primary}}: The primary effect selected, see [[Minecraft:Status_effect|Potion effects]] for IDs. Set to 0 when no effect is selected. | ||
** {{ | ** {{nbt|int|secondary}}: The secondary effect selected, see [[Minecraft:Status_effect|Potion effects]] for IDs. Set to 0 when no effect is selected. When set without a primary effect, does nothing. When set to the same as the primary, the effect is given at level 2 (the normally available behavior for 5 effects). When set to a different value than the primary (normally only Regeneration), gives the effect at level 1.{{needs testing}} | ||
=== Bed === | === Bed === | ||
Additional fields for [[Minecraft:bed]]: | Additional fields for [[Minecraft:bed]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|byte|color}}: The data value that determines the color of the half-bed block. When a bed is broken, the color of the block entity at the bed's head becomes the color of the bed item when it drops. See [[Minecraft:Bed#Metadata]]. | ||
=== Beehive and Bee Nest === | === Beehive and Bee Nest === | ||
Additional fields for [[Minecraft:beehive]] and bee nest: | Additional fields for [[Minecraft:beehive]] and bee nest: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|list|Occupants}}: (May not exist) Entities currently in the hive. | ||
*** {{ | *** {{nbt|compound}}: An entity in the hive. | ||
**** {{ | **** {{nbt|string|ActorIdentifier}}: The entity in the hive. Always <code>minecraft:bee<></code> in vanilla game. {{more info}} | ||
**** {{ | **** {{nbt|compound|SaveData}}: The NBT data of the entity in the hive. | ||
***** {{ | ***** {{bedrock nbt|Entity|entity}} | ||
***** Tags unique to this entity type. | ***** Tags unique to this entity type. | ||
**** {{ | **** {{nbt|int|TicksLeftToStay}}: The time in ticks until the entity leave the beehive. | ||
** {{ | ** {{nbt|byte|ShouldSpawnBees}}: 1 or 0 (true/false) - true if new bees will be spawned. | ||
=== Bell === | === Bell === | ||
Additional fields for [[Minecraft:bell]]: | Additional fields for [[Minecraft:bell]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|int|Direction}}: The direction data of this bell.{{more info}} | ||
** {{ | ** {{nbt|byte|Ringing}}: 1 or 0 (true/false) - true if it is ringing. | ||
** {{ | ** {{nbt|int|Ticks}}: Unknown.{{more info}} | ||
=== Brewing Stand === | === Brewing Stand === | ||
Additional fields for brewing stand: | Additional fields for [[Minecraft:brewing stand]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|short|CookTime}}: The number of ticks until the potions are finished. | ||
** {{ | ** {{nbt|short|FuelAmount}}: Remaining fuel for the brewing stand. | ||
** {{ | ** {{nbt|short|FuelTotal}}: The max fuel numder for the fuel bar. | ||
** {{ | ** {{nbt|list|Items}}: List of items in brewing stand. | ||
*** {{ | *** {{nbt|compound}}: An item in the brewing stand, including the slot tag. | ||
**** {{ | **** {{nbt|byte|Slot}}: The slot the item is in. | ||
**** {{ | **** {{bedrock nbt|Item Stack|item}} | ||
=== Campfire and Soul Campfire === | === Campfire and Soul Campfire === | ||
Additional fields for [[Minecraft:campfire]] and soul campfire: | Additional fields for [[Minecraft:campfire]] and [[Minecraft:soul campfire]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|compound|Item<''num''>}}: (May not exist) An items currently cooking. <code><''num''></code> is 1, 2, 3, and 4. | ||
*** {{ | *** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|int|ItemTime<''num''>}}: How long each item has been cooking. <code><''num''></code> is 1, 2, 3, and 4. | ||
=== Cauldron === | === Cauldron === | ||
Additional fields for [[Minecraft:cauldron]]: | Additional fields for [[Minecraft:cauldron]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|int|CustomColor}}: (May not exist) This tag exists only if the cauldron stores dyed water; stores a 32-bit ARGB encoded color. | ||
** {{ | ** {{nbt|list|Items}}: List of items in this container. | ||
*** {{ | *** {{nbt|compound}}: An item, including the slot tag. | ||
**** {{ | **** {{nbt|byte|Slot}}: The inventory slot the item is in. | ||
**** {{ | **** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|short|PotionId}}: If the cauldron contains a potion, this tag stores the ID of that potion. If there is no potion stored, then this tag is set to -1. | ||
** {{ | ** {{nbt|short|PotionType}}: If the cauldron contains a potion, this tag stores the type of that potion. 0 is normal, 1 is splash, 2 is lingering. If there is no potion stored, then this tag is set to -1. | ||
=== Chalkboard === | === Chalkboard === | ||
Additional fields for [[Minecraft:chalkboard]]: | Additional fields for [[Minecraft:chalkboard]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|int|BaseX}}: The X position of its base. | ||
** {{ | ** {{nbt|int|BaseY}}: The Y position of its base. | ||
** {{ | ** {{nbt|int|BaseZ}}: The Z position of its base. | ||
** {{ | ** {{nbt|byte|Locked}}: 1 or 0 (true/false) - true if it is on locked. | ||
** {{ | ** {{nbt|byte|OnGround}}: 1 or 0 (true/false) - true if it is on ground. | ||
** {{ | ** {{nbt|long|Owner}}: The Unique ID of its owner. | ||
** {{ | ** {{nbt|int|Size}}: The size of this chalkboard. | ||
** {{ | ** {{nbt|string|Text}}: The text on the chalkboard. | ||
=== Chemistry Tables === | === Chemistry Tables === | ||
Additional fields for chemistry tables (compound creator, element constructor, lab table, material reducer): | Additional fields for chemistry tables ([[Minecraft:compound creator]], [[Minecraft:element constructor]], [[Minecraft:lab table]], [[Minecraft:material reducer]]): | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|short|itemAux}}: (Only for Lab Table) The Aux value of the item to be spawned. | ||
** {{ | ** {{nbt|int|itemId}}: (Only for Lab Table) The numeral ID value of the item to be spawned. | ||
** {{ | ** {{nbt|byte|itemStack}}: (Only for Lab Table) The item stack amount of the item to be spawned. | ||
=== Chests === | === Chests === | ||
Additional fields for [[Minecraft:chest]], trapped chest, [[Minecraft:barrel]], and ender chest: | Additional fields for [[Minecraft:chest]], [[Minecraft:trapped chest]], [[Minecraft:barrel]], and [[Minecraft:ender chest]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|byte|Findable}}: Unknown. | ||
** {{ | ** {{nbt|byte|forceunpair}}: 1 or 0 (true/false) - (may not exist) true if this chest is unpair with chest next to it. | ||
** {{ | ** {{nbt|list|Items}}: List of items in this container. | ||
*** {{ | *** {{nbt|compound}}: An item, including the slot tag. | ||
**** {{ | **** {{nbt|byte|Slot}}: The inventory slot the item is in. | ||
**** {{ | **** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|string|LootTable}}: (May not exist) Loot table to be used to fill the chest when it is next opened, or the items are otherwise interacted with. | ||
** {{ | ** {{nbt|int|LootTableSeed}}: (May not exist) Seed for generating the loot table. 0 or omitted use a random seed. | ||
** {{ | ** {{nbt|byte|pairlead}}: (May not exist) Unknown. | ||
** {{ | ** {{nbt|int|pairx}}: (May not exist) The X position of the chest paired with. | ||
** {{ | ** {{nbt|int|pairz}}: (May not exist) The Z position of the chest paired with. | ||
=== Chiseled Bookshelf === | === Chiseled Bookshelf === | ||
Additional fields for chiseled bookshelf: | Additional fields for [[Minecraft:chiseled bookshelf]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|list|Items}}: List of books in the bookshelf. | ||
*** {{ | *** {{nbt|compound}}: An item in the chiseled bookshelf. | ||
**** {{ | **** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|int|LastInteractedSlot}}: Last interacted slot (1-6), or 0 if no slot has been interacted with yet. | ||
=== Command Block === | === Command Block === | ||
Additional fields for command block: | Additional fields for [[Minecraft:command block]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{bedrock nbt|Command Block}} | ||
** {{ | ** {{nbt|byte|auto}}: 1 or 0 (true/false) - Allows to activate the command without the requirement of a redstone signal. | ||
** {{ | ** {{nbt|byte|conditionalMode}}: (May not exist) Unknown. | ||
** {{ | ** {{nbt|byte|conditionMet}}: 1 or 0 (true/false) - if a conditional command block had its condition met when last activated. True if not a conditional command block. | ||
** {{ | ** {{nbt|byte|LPCondionalMode}}: Unknown. | ||
** {{ | ** {{nbt|byte|LPRedstoneMode}}: Unknown. | ||
** {{ | ** {{nbt|byte|LPCommandMode}}: Unknown. | ||
** {{ | ** {{nbt|byte|powered}}: 1 or 0 (true/false) - true if the command block is powered by redstone. | ||
=== Comparator === | === Comparator === | ||
Additional fields for comparator: | Additional fields for [[Minecraft:comparator]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|int|OutputSignal}}: Represents the strength of the analog signal output of this redstone comparator. | ||
=== Conduit === | === Conduit === | ||
Additional fields for [[Minecraft:conduit]]: | Additional fields for [[Minecraft:conduit]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|byte|Active}}: 1 or 0 (true/false) - true if it is active. | ||
** {{ | ** {{nbt|long|Target}}: The Unique ID of the hostile mob the conduit is currently attacking. If there's no target, defaults to -1. | ||
=== Copper Golem Statue === | === Copper Golem Statue === | ||
Additional fields for copper golem statue: | Additional fields for [[Minecraft:copper golem statue]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|compound|Actor}}: Data for the entity associated with the statue. | ||
*** {{ | *** {{nbt|string|ActorIdentifier}}: The entity's identifier. Always <code>minecraft:copper_golem<></code>. | ||
*** {{ | *** {{nbt|compound|SaveData}}: The NBT data of the entity (the copper golem) while it is in the statue state. | ||
**** {{ | **** {{bedrock nbt|Entity|entity}} | ||
** {{ | ** {{nbt|int|Pose}}: The current visual pose of the statue from 0 to 3, 0 for standing pose, 1 for sitting pose, 2 for running pose and 3 for star pose. | ||
=== Crafter === | === Crafter === | ||
Additional fields for [[Minecraft:crafter]]: | Additional fields for [[Minecraft:crafter]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|short|disabled_slots}}: Indexes of slots that are disabled. | ||
** {{ | ** {{nbt|list|Items}}: List of items in the crafter. | ||
*** {{ | *** {{nbt|compound}}: An item in the crafter, including the slot tag. Crafter slots are numbered 0-8. 0 starts in the top left corner. | ||
**** {{ | **** {{nbt|byte|Slot}}: The inventory slot the item is in. | ||
**** {{ | **** {{bedrock nbt|Item Stack|item}} | ||
=== Creaking Heart === | |||
Additional fields for [[Minecraft:creaking heart]]: | |||
* {{nbt|compound}}: The block entity's root tag. | |||
** {{nbt|int|Cooldown}}: {{more info}} | |||
** {{nbt|long|SpawnedCreakingID}}: The unique identifier of the [[Minecraft:creaking]] associated with this creaking heart. If there is no linked creaking, this field is absent. | |||
=== Decorated Pot === | === Decorated Pot === | ||
Additional fields for decorated pot: | Additional fields for [[Minecraft:decorated pot]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|string|LootTable}}: (May not exist) Loot table to be used to fill the decorated pot when it is next opened, or the items are otherwise interacted with. | ||
** {{ | ** {{nbt|int|LootTableSeed}}: (May not exist) Seed for generating the loot table. 0 or omitted use a random seed. | ||
** {{ | ** {{nbt|byte|animation}}: (May not exist) Unknown. | ||
** {{ | ** {{nbt|compound|item}}: The item in the decorated pot. | ||
*** {{ | *** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|list|sherds}}: List of sherds on this decorated pot. | ||
*** {{ | *** {{nbt|string}}: [[Minecraft:Bedrock Edition data values|Item ID]] of this face. Defaults to <code>minecraft:brick</code>. | ||
=== Dispenser and Dropper === | === Dispenser and Dropper === | ||
Additional fields for [[Minecraft:dispenser]] and [[Minecraft:dropper]]: | Additional fields for [[Minecraft:dispenser]] and [[Minecraft:dropper]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|list|Items}}: List of items in this container. | ||
*** {{ | *** {{nbt|compound}}: An item, including the slot tag. | ||
**** {{ | **** {{nbt|byte|Slot}}: The inventory slot the item is in. | ||
**** {{ | **** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|string|LootTable}}: (May not exist) Loot table to be used to fill the chest when it is next opened, or the items are otherwise interacted with. | ||
** {{ | ** {{nbt|int|LootTableSeed}}: (May not exist) Seed for generating the loot table. 0 or omitted use a random seed. | ||
=== Enchantment Table === | === Enchantment Table === | ||
Additional fields for Enchantment table: | Additional fields for [[Minecraft:Enchantment table]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|string|CustomName}}: (May not exist) The name of this enchantment table. | ||
** {{ | ** {{nbt|float|rott}}: The clockwise rotation of the book in radians. Top of the book points West when 0. | ||
=== End Gateway === | === End Gateway === | ||
Additional fields for end gateway: | Additional fields for [[Minecraft:end gateway]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|int|Age}}: Age of the portal, in ticks. This is used to determine when the beam is rendered. | ||
** {{ | ** {{nbt|list|ExitPortal}}: Location entities are teleported to when entering the portal. | ||
*** {{ | *** {{nbt|int}}: X coordinate of target location. | ||
*** {{ | *** {{nbt|int}}: Y coordinate of target location. | ||
*** {{ | *** {{nbt|int}}: Z coordinate of target location. | ||
=== Flower Pot === | === Flower Pot === | ||
Additional fields for flower pot: | Additional fields for [[Minecraft:flower pot]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|compound|PlantBlock}}: (May not exist) The block in the pot. | ||
*** {{ | *** {{bedrock nbt|Block}} | ||
=== Furnace === | === Furnace === | ||
Additional fields for [[Minecraft:furnace]], [[Minecraft:smoker]], and blast furnace: | Additional fields for [[Minecraft:furnace]], [[Minecraft:smoker]], and [[Minecraft:blast furnace]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|short|BurnDuration}}: The total time that in ticks that the currently used fuel can burn. | ||
** {{ | ** {{nbt|short|BurnTime}}: Number of ticks left before the current fuel runs out. | ||
** {{ | ** {{nbt|short|CookTime}}: Number of ticks the item has been smelting for. The item finishes smelting when this value reaches 200 (10 seconds). Is reset to 0 if BurnTime reaches 0.{{needs testing}} | ||
** {{ | ** {{nbt|list|Items}}: List of items in this container. | ||
*** {{ | *** {{nbt|compound}}: An item in the furnace, including the slot tag. | ||
**** {{ | **** {{nbt|byte|Slot}}: The inventory slot the item is in. | ||
**** {{ | **** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|int|StoredXPInt}}: The number of experiences it stores. | ||
=== Hopper === | === Hopper === | ||
Additional fields for [[Minecraft:hopper]]: | Additional fields for [[Minecraft:hopper]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|list|Items}}: List of items in this container. | ||
*** {{ | *** {{nbt|compound}}: An item, including the slot tag. | ||
**** {{ | **** {{nbt|byte|Slot}}: The inventory slot the item is in. | ||
**** {{ | **** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|int|TransferCooldown}}: Time until the next transfer in game ticks, naturally between 1 and 8 or 0 if there is no transfer. | ||
=== Item Frame === | === Item Frame === | ||
Additional fields for item frame: | Additional fields for [[Minecraft:item frame]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|compound|Item}}: The items in this item frame. | ||
*** {{ | *** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|float|ItemDropChance}}: (May not exist) The chance of item dropping when the item frame is broken. | ||
** {{ | ** {{nbt|float|ItemRotation}}: (May not exist) The rotation of the item in the item frame. | ||
=== Jigsaw === | === Jigsaw === | ||
Additional fields for jigsaw: | Additional fields for [[Minecraft:jigsaw]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|string|final_state}}: The block that this jigsaw block becomes. | ||
** {{ | ** {{nbt|string|joint}}: The joint option value, either "rollable" or "aligned". | ||
** {{ | ** {{nbt|string|name}}: The jigsaw block's name. This jigsaw block will be aligned with another structure's jigsaw block which has this value in the target tag. | ||
** {{ | ** {{nbt|string|target}}: The jigsaw block's target name. This jigsaw block will be aligned with another structure's jigsaw block which has this value in the name tag. | ||
** {{ | ** {{nbt|string|target_pool}}: The jigsaw block's target pool to select a structure from. | ||
=== Jukebox === | === Jukebox === | ||
Additional fields for [[Minecraft:jukebox]]: | Additional fields for [[Minecraft:jukebox]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|compound|RecordItem}}: (May not exist) The record item in it. | ||
*** {{ | *** {{bedrock nbt|Item Stack|item}} | ||
=== Lectern === | === Lectern === | ||
Additional fields for [[Minecraft:lectern]]: | Additional fields for [[Minecraft:lectern]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|compound|book}}: (May not exist) The book item currently on the lectern. | ||
*** {{ | *** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|byte|hasBook}}: 1 or 0 (true/false) - (may not exist) true if it has a book. | ||
** {{ | ** {{nbt|int|page}}: (May not exist) The page the book is currently on, starting from 0. | ||
** {{ | ** {{nbt|int|totalPages}}: (May not exist) The total pages the book has. | ||
=== Lodestone === | === Lodestone === | ||
Additional fields for [[Minecraft:lodestone]]: | Additional fields for [[Minecraft:lodestone]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|int|trackingHandle}}: (May not exist) The id of lodestone. | ||
=== Monster Spawner === | === Monster Spawner === | ||
Additional fields for monster spawner: | Additional fields for [[Minecraft:monster spawner]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{bedrock nbt|Monster Spawner}} | ||
=== Moving Block === | === Moving Block === | ||
Additional fields for moving block: | Additional fields for [[Minecraft:moving block]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|compound|movingBlock}}: The main layer of moving block represented by this block entity. | ||
*** {{ | *** {{bedrock nbt|Block}} | ||
** {{ | ** {{nbt|compound|movingBlockExtra}}: The [[Minecraft:Waterlogging|extra moving block layer]] represented by this block entity. | ||
*** {{ | *** {{bedrock nbt|Block}} | ||
** {{ | ** {{nbt|compound|movingEntity}}: (May not exist) The block entity stored in this moving block. | ||
*** {{ | *** {{bedrock nbt|Block Entity|block}} | ||
** {{ | ** {{nbt|int|pistonPosX}}: X coordinate of the piston base. | ||
** {{ | ** {{nbt|int|pistonPosY}}: Y coordinate of the piston base. | ||
** {{ | ** {{nbt|int|pistonPosZ}}: Z coordinate of the piston base. | ||
=== Note Block === | === Note Block === | ||
Additional fields for note block: | Additional fields for [[Minecraft:note block]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|byte|note}}: The pitch of the note block. | ||
=== Nether Reactor === | === Nether Reactor === | ||
Additional fields for nether reactor: | Additional fields for [[Minecraft:nether reactor]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|byte|HasFinished}}: 1 or 0 (true/false) - true if the reactor has completed its activation phase, and has gone dark. | ||
** {{ | ** {{nbt|byte|IsInitialized}}: 1 or 0 (true/false) - true if the reactor has been activated, and has turned red. | ||
** {{ | ** {{nbt|short|Progress}}: Number of ticks the reactor has been active for. It finishes after 900 game ticks (45 seconds). | ||
=== Piston === | === Piston === | ||
Additional fields for [[Minecraft:piston]]: | Additional fields for [[Minecraft:piston]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|list|AttachedBlocks}}: The list of positions of blocks it should move. | ||
*** {{ | *** {{nbt|int}}: A block's X coordinate. | ||
*** {{ | *** {{nbt|int}}: A block's Y coordinate. | ||
*** {{ | *** {{nbt|int}}: A block's Z coordinate. | ||
*** {{ | *** {{nbt|int}}: Another block's X coordinate. | ||
*** {{ | *** {{nbt|int}}: Another block's Y coordinate. | ||
*** {{ | *** {{nbt|int}}: Another block's Z coordinate. | ||
*** {{ | *** {{nbt|int}}: etc. | ||
** {{ | ** {{nbt|list|BreakBlocks}}: The list of positions of blocks it should break. | ||
*** {{ | *** {{nbt|int}}: A block's X coordinate. | ||
*** {{ | *** {{nbt|int}}: A block's Y coordinate. | ||
*** {{ | *** {{nbt|int}}: A block's Z coordinate. | ||
*** {{ | *** {{nbt|int}}: Another block's X coordinate. | ||
*** {{ | *** {{nbt|int}}: Another block's Y coordinate. | ||
*** {{ | *** {{nbt|int}}: Another block's Z coordinate. | ||
*** {{ | *** {{nbt|int}}: etc. | ||
** {{ | ** {{nbt|float|LastProgress}}: Progress in last tick. | ||
** {{ | ** {{nbt|byte|NewState}}: Next state. Can be 0 (unextended), 1 (pushing), 2 (extended), or 3 (pulling). | ||
** {{ | ** {{nbt|float|Progress}}: How far the block has been moved. Can be 0.0, 0.5, and 1.0. | ||
** {{ | ** {{nbt|byte|State}}: Current state. | ||
** {{ | ** {{nbt|byte|Sticky}}: 1 or 0 (true/false) - true if this piston is sticky. | ||
=== Sculk Catalyst === | === Sculk Catalyst === | ||
Additional fields for sculk catalyst: | Additional fields for [[Minecraft:sculk catalyst]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|list|cursors}}: List of charges associated with the sculk catalyst. | ||
*** {{ | *** {{nbt|compound}}: A charge. | ||
**** {{ | **** {{nbt|short|charge}}: How much power is in the charge. | ||
**** {{ | **** {{nbt|short|decay}}: Be 1 if the charge was spread from a sculk or sculk vein, 0 otherwise. The charge can spread to any block if this tag is 1. If it is 0, all the powers in the charge disappear when it spreads to a block not in sculk family.{{needs testing}} | ||
**** {{ | **** {{nbt|short|facing}}: {{info needed}} | ||
**** {{ | **** {{nbt|short|update}}: Delay in ticks until the charge begins to travel after being created.{{needs testing}} | ||
**** {{ | **** {{nbt|int|x}}: X coordinate of the charge. | ||
**** {{ | **** {{nbt|int|y}}: Y coordinate of the charge. | ||
**** {{ | **** {{nbt|int|z}}: Z coordinate of the charge. | ||
=== Sculk Shrieker, Sculk Sensor, and Calibrated Sculk Sensor === | === Sculk Shrieker, Sculk Sensor, and Calibrated Sculk Sensor === | ||
Additional fields for sculk shrieker, sculk sensor, and calibrated sculk sensor: | Additional fields for [[Minecraft:sculk shrieker]], [[Minecraft:sculk sensor]], and [[Minecraft:calibrated sculk sensor]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|compound|VibrationListener}}: The vibration event listener of the sculk shrieker, sculk sensor, and calibrated sculk sensor. | ||
*** {{ | *** {{nbt|int|event}}: Unknown. | ||
*** {{ | *** {{nbt|compound|pending}}: Unknown. | ||
**** {{ | **** {{nbt|float|distance}}: Unknown. | ||
**** {{ | **** {{nbt|long|source}}: Unknown. | ||
**** {{ | **** {{nbt|int|vibration}}: Unknown. | ||
**** {{ | **** {{nbt|int|x}}: Unknown. | ||
**** {{ | **** {{nbt|int|y}}: Unknown. | ||
**** {{ | **** {{nbt|int|z}}: Unknown. | ||
*** {{ | *** {{nbt|compound|selector}}: Unknown. | ||
*** {{ | *** {{nbt|int|ticks}}: Unknown. | ||
=== Shelf === | === Shelf === | ||
Additional fields for [[Minecraft:shelf]]: | Additional fields for [[Minecraft:shelf]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|list|Items}}: List of items in the shelf. Unlike other containers, the order in the list determines the visual position. | ||
*** {{ | *** {{nbt|compound}}: An item in the shelf. | ||
**** {{ | **** {{bedrock nbt|Item Stack|item}} | ||
=== Shulker Box === | === Shulker Box === | ||
Additional fields for shulker box: | Additional fields for [[Minecraft:shulker box]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{bedrock nbt|Chests|block}} | ||
** {{ | ** {{nbt|float|facing}}: The facing of this shulker box.{{more info}} | ||
=== Sign and Hanging Sign === | === Sign and Hanging Sign === | ||
Additional fields for [[Minecraft:sign]] and hanging sign: | Additional fields for [[Minecraft:sign]] and hanging sign: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|compound|BackText}}: A compound which discribes back text. The same structure as {{nbt|compound|FrontText}}. | ||
** {{ | ** {{nbt|compound|FrontText}}: A compound which discribes front text. | ||
*** {{ | *** {{nbt|byte|HideGlowOutline}}: 1 or 0 (true/false) - true if the outer glow of a sign with glowing text does not show. | ||
*** {{ | *** {{nbt|byte|IgnoreLighting}}: 1 or 0 (true/false) - true if the sign has been dyed with a [[Minecraft:glow ink sac]]. | ||
*** {{ | *** {{nbt|byte|PersistFormatting}}: Unknown. Defaults to 1. | ||
*** {{ | *** {{nbt|int|SignTextColor}}: The color that has been used to dye the sign. Is a 32-bit encoded color, defaults to <code>-16777216</code> (black). One of <code>-986896</code> for "White", <code>-425955</code> for "Orange", <code>-3715395</code> for "Magenta", <code>-12930086</code> for "Light Blue", <code>-75715</code> for "Yellow", <code>-8337633</code> for "Lime", <code>-816214</code> for "Pink", <code>-12103854</code> for "Gray", <code>-6447721</code> for "Light Gray", <code>-15295332</code> for "Cyan", <code>-7785800</code> for "Purple", <code>-12827478</code> for "Blue", <code>-8170446</code> for "Brown", <code>-10585066</code> for "Green", <code>-5231066</code> for "Red", and <code>-16777216</code> for "Black". | ||
*** {{ | *** {{nbt|string|Text}}: The text on it. | ||
*** {{ | *** {{nbt|string|TextOwner}}: Unknown. | ||
** {{ | ** {{nbt|byte|IsWaxed}}: 1 or 0 (true/false) - true if the text is locked with [[Minecraft:honeycomb]]. | ||
=== Skull === | === Skull === | ||
Additional fields for skull: | Additional fields for [[Minecraft:skull]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|byte|MouthMoving}}: 1 or 0 (true/false) - true if this dragon head's mouth is moving. | ||
** {{ | ** {{nbt|int|MouthTickCount}}: The animation frame of the dragon head's mouth movement.{{needs testing}} | ||
** {{ | ** {{nbt|float|Rotation}}: The rotation of this skull.{{more info}} | ||
** {{ | ** {{nbt|byte|SkullType}}: The type of this skull. (unused, only exists for backwards compatibility for flattened IDs) 0 = [[Minecraft:Skeleton]], 1 = [[Minecraft:Wither Skeleton]], 2 = [[Minecraft:Zombie]], 3 = [[Minecraft:Player]], 4 = [[Minecraft:Creeper]], 5 = [[Minecraft:Ender Dragon]], 6 = [[Minecraft:Piglin]]. | ||
=== Structure Block === | === Structure Block === | ||
Additional fields for structure block: | Additional fields for [[Minecraft:structure block]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|byte|animationMode}}: The mode of animation.{{more info}} | ||
** {{ | ** {{nbt|float|animationSeconds}}: The duration of the animation.{{more info}} | ||
** {{ | ** {{nbt|int|data}}: The mode of the structure block, values for data are the same as the data values for the item. Ex. 0 = Data, 1 = Save, 2 = Load, 3 = Corner, 4 = Inventory, 5 = Export. | ||
** {{ | ** {{nbt|string|dataField}}: Unknown. | ||
** {{ | ** {{nbt|byte|ignoreEntities}}: 1 or 0 (true/false) - true if the entities should be ignored in the structure. | ||
** {{ | ** {{nbt|float|integrity}}: How complete the structure is that gets placed. | ||
** {{ | ** {{nbt|byte|isPowered}}: 1 or 0 (true/false) - true if this structure block is being powered by redstone. | ||
** {{ | ** {{nbt|byte|mirror}}: How the structure is mirrored.{{more info}} | ||
** {{ | ** {{nbt|int|redstoneSaveMode}}: The current redstone mode of this structure block.{{more info}} | ||
** {{ | ** {{nbt|byte|removeBlocks}}: 1 or 0 (true/false) - true if the blocks should be removed in the structure. | ||
** {{ | ** {{nbt|byte|rotation}}: Rotation of the structure.{{more info}} | ||
** {{ | ** {{nbt|long|seed}}: The seed to use for the structure integrity, 0 means random.{{needs testing}} | ||
** {{ | ** {{nbt|byte|showBoundingBox}}: 1 or 0 (true/false) - true if show the structure's bounding box to players in Creative mode. | ||
** {{ | ** {{nbt|string|structureName}}: Name of the structure. | ||
** {{ | ** {{nbt|int|xStructureOffset}}: X-offset of the structure. | ||
** {{ | ** {{nbt|int|yStructureOffset}}: Y-offset of the structure. | ||
** {{ | ** {{nbt|int|zStructureOffset}}: Z-offset of the structure. | ||
** {{ | ** {{nbt|int|xStructureSize}}: X-size of the structure. | ||
** {{ | ** {{nbt|int|yStructureSize}}: Y-size of the structure. | ||
** {{ | ** {{nbt|int|zStructureSize}}: Z-size of the structure. | ||
=== Suspicious Block === | === Suspicious Block === | ||
Additional fields for suspicious sand and suspicious gravel: | Additional fields for [[Minecraft:suspicious sand]] and [[Minecraft:suspicious gravel]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|int|brush_count}}: The number of times the suspicious block is being brushed by the player, from 1 to 10 (the item will be extracted when it reaches 10). If the player stops brushing, it will progressively return to 0. And if it hasn't been brushed yet, defaults to 0. | ||
** {{ | ** {{nbt|byte|brush_direction}}: The direction of the suspicious block that was brushed. 0 = Down, 1 = Up, 2 = North, 3 = South, 4 = West, 5 = East, or 6 if it has not been brushed yet. | ||
** {{ | ** {{nbt|compound|item}}: (May not exist) The item in the suspicious block. | ||
*** {{ | *** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|string|LootTable}}: (May not exist) Loot table to be used to generate the hidden item when brushed. | ||
** {{ | ** {{nbt|int|LootTableSeed}}: (May not exist) Seed for generating the loot table. 0 or omitted use a random seed. | ||
** {{ | ** {{nbt|string|type}}: The type of suspicious block. Valid types are <code>minecraft:suspicious_sand</code> and <code>minecraft:suspicious_gravel</code>. | ||
=== Trial Spawner === | === Trial Spawner === | ||
Additional fields for trial spawner and ominous trial spawner: | Additional fields for [[Minecraft:trial spawner]] and [[Minecraft:ominous trial spawner]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|int|required_player_range}}: Between 1 and 128. Defaults to 14. — Maximum distance in blocks for players to join the battle. | ||
** {{ | ** {{nbt|compound|normal_config}}: Optional, see configuration for defaults. — The configuration to use when not ominous. | ||
*** {{ | *** {{nbt|int|spawn_range}}: Between 1 and 128. Defaults to 4. — Maximum distance in blocks that mobs can spawn. | ||
*** {{ | *** {{nbt|float|total_mobs}}: Defaults to 6. — Total amount of mobs spawned before cooldown for a single player. | ||
*** {{ | *** {{nbt|float|simultaneous_mobs}}: Defaults to 2. — The amount of spawned mobs from this spawner that are allowed to exist simultaneously. | ||
*** {{ | *** {{nbt|float|total_mobs_added_per_player}}: Defaults to 2. — Amount of total mobs added for each additional player. | ||
*** {{ | *** {{nbt|float|simultaneous_mobs_added_per_player}}: Defaults to 1. — Amount of simultaneous mobs added for each additional player. | ||
*** {{ | *** {{nbt|int|ticks_between_spawn}}: Defaults to 20. — Time in ticks between spawn attempts. | ||
*** {{ | *** {{nbt|int|target_cooldown_length}}: Defaults to 36000. — Time in ticks of the cooldown period. Includes the time spend dispensing the reward. | ||
*** {{ | *** {{nbt|list|spawn_potentials}}: List of possible entities to spawn. | ||
**** {{ | **** {{nbt|compound}}: A potential future spawn. ''After'' the spawner makes an attempt at spawning, it chooses one of these entries at random and uses it to prepare for the next spawn. | ||
***** {{ | ***** {{nbt|int|weight}}: The chance that this spawn gets picked in comparison to other spawn weights. Must be positive and at least 1. | ||
***** {{ | ***** {{nbt|compound|data}}: | ||
****** {{ | ****** {{nbt|compound|entity}}: | ||
******* {{ | ******* {{nbt|string|id}}: An entity ID. | ||
****** {{ | ****** {{nbt|compound|equipment}}: Optional. Determines the equipment the entity will wear. | ||
******* {{ | ******* {{nbt|string|loot_table}}: A path to a [[Minecraft:loot table]]. | ||
******* {{ | ******* {{nbt|compound|slot_drop_chances}}: Optional. Chances for the equipment to drop upon death. | ||
******** {{ | ******** {{nbt|float|head}}: Chance (0.0–1.0) for the head slot item to drop. | ||
******** {{ | ******** {{nbt|float|chest}}: Chance (0.0–1.0) for the chest slot item to drop. | ||
******** {{ | ******** {{nbt|float|legs}}: Chance (0.0–1.0) for the legs slot item to drop. | ||
******** {{ | ******** {{nbt|float|feet}}: Chance (0.0–1.0) for the feet slot item to drop. | ||
******** {{ | ******** {{nbt|float|mainhand}}: Chance (0.0–1.0) for the main hand item to drop. | ||
******** {{ | ******** {{nbt|float|offhand}}: Chance (0.0–1.0) for the off hand item to drop. | ||
*** {{ | *** {{nbt|list|loot_tables_to_eject}}: List of possible loot tables to give as reward. | ||
**** {{ | **** {{nbt|compound}}: A potential loot table. | ||
***** {{ | ***** {{nbt|int|weight}}: The chance that this loot table gets picked in comparison to other loot table weights. Must be positive and at least 1. | ||
***** {{ | ***** {{nbt|string|data}}: A path to a [[Minecraft:loot table]]. | ||
*** {{ | *** {{nbt|string|items_to_drop_when_ominous}}: Defaults to <code>loot_tables/spawners/trial_chamber/items_to_drop_when_ominous.json</code> — A path to a [[Minecraft:loot table]]. Determines the items used by [[Minecraft:ominous item spawner]]s spawned during the active phase when ominous. Ignored in normal mode. | ||
** {{ | ** {{nbt|compound|ominous_config}}: Optional, defaults to {{nbt|compound|normal_config}}. When individual entries are omitted, they also default to their setting in {{nbt|compound|normal_config}}. — The configuration to use when ominous. | ||
** {{ | ** {{nbt|list|registered_players}}: A set of player UUIDs. — All the players that have joined the battle. | ||
*** {{ | *** {{nbt|compound}}: A player UUID. | ||
**** {{ | **** {{nbt|long|uuid}}: The UUID. | ||
** {{ | ** {{nbt|list|current_mobs}}: A set of mob UUIDs. — The mobs that were spawned by this spawner and are still alive. | ||
*** {{ | *** {{nbt|compound}}: An entity UUID. | ||
**** {{ | **** {{nbt|long|uuid}}: The UUID. | ||
** {{ | ** {{nbt|long|cooldown_end_at}}: Gametime in ticks when the cooldown ends. 0 if not currently in cooldown. | ||
** {{ | ** {{nbt|long|next_mob_spawns_at}}: Gametime in ticks when the next spawn attempt happens. 0 if not currently active. | ||
** {{ | ** {{nbt|compound|spawn_data}}: The next mob to attempt to spawn. Selected from {{nbt|list|spawn_potentials}} after the last attempt. Determines the mob displayed in the spawner. | ||
*** {{ | *** {{nbt|string|TypeId}}: An entity ID. | ||
*** {{ | *** {{nbt|int|Weight}}: Selection weight for the current active spawn. | ||
*** {{ | *** {{nbt|compound|equipment}}: Optional. Same structure as the equipment found in {{nbt|list|spawn_potentials}}. | ||
** {{ | ** {{nbt|string|selected_loot_table}}: A path to the [[Minecraft:loot table]] that is given as reward. Unset if not currently giving rewards. Selected from {{nbt|list|loot_tables_to_eject}} after all mobs are defeated. | ||
=== Vault === | === Vault === | ||
Additional fields for [[Minecraft:vault]] and ominous vault: | Additional fields for [[Minecraft:vault]] and [[Minecraft:ominous vault]]: | ||
* {{ | * {{nbt|compound}}: The block entity's root tag. | ||
** {{ | ** {{nbt|compound|config}}: Configuration data that does not automatically change. All fields are optional. | ||
*** {{ | *** {{nbt|float|activation_range}}: The range in blocks when the vault should activate. Defaults to 4. | ||
*** {{ | *** {{nbt|float|deactivation_range}}: The range in blocks when the vault should deactivate. Defaults to 4.5. | ||
*** {{ | *** {{nbt|string|loot_table}}: A path to the [[Minecraft:loot table]] that is ejected when unlocking the vault. Defaults to <code>loot_tables/chests/trial_chambers/reward.json</code> for ''normal'' vaults and <code>loot_tables/chests/trial_chambers/reward_ominous.json</code> for ''ominous'' vaults. | ||
*** {{ | *** {{nbt|string|override_loot_table_to_display}}: A path to the loot table that is used to display items in the vault. If not present, the game will use the {{nbt|string|loot_table}} field. | ||
*** {{ | *** {{nbt|compound|key_item}}: The key item that is used to check for valid keys. Defaults to <code>minecraft:trial_key</code> for ''normal'' vaults and <code>minecraft:ominous_trial_key</code> for ''ominous'' vaults. | ||
**** {{ | **** {{bedrock nbt|Item Stack|item}} | ||
** {{ | ** {{nbt|compound|data}}: Data that is used to keep track of the current state of the vault. | ||
*** {{ | *** {{nbt|compound|display_item}}: The item that is currently being displayed. | ||
**** {{ | **** {{bedrock nbt|Item Stack|item}} | ||
*** {{ | *** {{nbt|list|items_to_eject}}: List of item stacks that have been rolled by the loot table and are waiting to be ejected. | ||
**** {{ | **** {{nbt|compound}}: An item stack. | ||
***** {{ | ***** {{bedrock nbt|Item Stack|item}} | ||
*** {{ | *** {{nbt|list|rewarded_players}}: A set of player UUIDs that have already received their rewards from this vault. | ||
**** {{ | **** {{nbt|long}}: A UUID. | ||
*** {{ | *** {{nbt|long|state_updating_resumes_at}}: The game time when the vault will process block state changes, such as changing from <code>unlocking</code> to <code>ejecting</code> after a delay. | ||
*** {{ | *** {{nbt|long|total_ejections_needed}}: The total amount of item stacks that need to be ejected. | ||
</div> | </div> | ||
pt:Formato de nível da Edição Bedrock/Formatos de bloco-entidade | [[Minecraft:pt:Formato de nível da Edição Bedrock/Formatos de bloco-entidade]] | ||
zh:基岩版存档格式/方块实体格式 | [[Minecraft:zh:基岩版存档格式/方块实体格式]] | ||
Revision as of 11:04, 25 April 2026
Template:Exclusive This page lists NBT structures of block entities Template:In.
A Minecraft:block entity is used by Minecraft to store information about a block that can't be stored in the block's block states.
Block Entity
All block entities share this base:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: (May not exist) The custom name of the block entity.
- Template:Nbt: The savegame ID of the block entity.
- Template:Nbt: 1 or 0 (true/false) - true if the block entity is movable with a piston.
- Template:Nbt: X coordinate of the block entity.
- Template:Nbt: Y coordinate of the block entity.
- Template:Nbt: Z coordinate of the block entity.
Additional fields for block entity types
Banner
Additional fields for Minecraft:banner:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The base color of the banner. See Minecraft:Banner#Block_data.
- Template:Nbt: (May not exist) List of all patterns applied to the banner.
- Template:Nbt: An individual pattern.
- Template:Nbt: The base color of the pattern. See Minecraft:Banner#Block_data.
- Template:Nbt: The pattern ID code. See Minecraft:Banner#Block_data.
- Template:Nbt: An individual pattern.
- Template:Nbt: The type of the block entity. 0 is normal banner. 1 is ominous banner.
Beacon
Additional fields for Minecraft:beacon:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The primary effect selected, see Potion effects for IDs. Set to 0 when no effect is selected.
- Template:Nbt: The secondary effect selected, see Potion effects for IDs. Set to 0 when no effect is selected. When set without a primary effect, does nothing. When set to the same as the primary, the effect is given at level 2 (the normally available behavior for 5 effects). When set to a different value than the primary (normally only Regeneration), gives the effect at level 1.Template:Needs testing
Bed
Additional fields for Minecraft:bed:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The data value that determines the color of the half-bed block. When a bed is broken, the color of the block entity at the bed's head becomes the color of the bed item when it drops. See Minecraft:Bed#Metadata.
Beehive and Bee Nest
Additional fields for Minecraft:beehive and bee nest:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: (May not exist) Entities currently in the hive.
- Template:Nbt: An entity in the hive.
- Template:Nbt: The entity in the hive. Always
minecraft:bee<>in vanilla game. Template:More info - Template:Nbt: The NBT data of the entity in the hive.
- Template:Bedrock nbt
- Tags unique to this entity type.
- Template:Nbt: The time in ticks until the entity leave the beehive.
- Template:Nbt: The entity in the hive. Always
- Template:Nbt: An entity in the hive.
- Template:Nbt: 1 or 0 (true/false) - true if new bees will be spawned.
- Template:Nbt: (May not exist) Entities currently in the hive.
Bell
Additional fields for Minecraft:bell:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The direction data of this bell.Template:More info
- Template:Nbt: 1 or 0 (true/false) - true if it is ringing.
- Template:Nbt: Unknown.Template:More info
Brewing Stand
Additional fields for Minecraft:brewing stand:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The number of ticks until the potions are finished.
- Template:Nbt: Remaining fuel for the brewing stand.
- Template:Nbt: The max fuel numder for the fuel bar.
- Template:Nbt: List of items in brewing stand.
- Template:Nbt: An item in the brewing stand, including the slot tag.
- Template:Nbt: The slot the item is in.
- Template:Bedrock nbt
- Template:Nbt: An item in the brewing stand, including the slot tag.
Campfire and Soul Campfire
Additional fields for Minecraft:campfire and Minecraft:soul campfire:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: (May not exist) An items currently cooking.
<num>is 1, 2, 3, and 4. - Template:Nbt: How long each item has been cooking.
<num>is 1, 2, 3, and 4.
- Template:Nbt: (May not exist) An items currently cooking.
Cauldron
Additional fields for Minecraft:cauldron:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: (May not exist) This tag exists only if the cauldron stores dyed water; stores a 32-bit ARGB encoded color.
- Template:Nbt: List of items in this container.
- Template:Nbt: An item, including the slot tag.
- Template:Nbt: The inventory slot the item is in.
- Template:Bedrock nbt
- Template:Nbt: An item, including the slot tag.
- Template:Nbt: If the cauldron contains a potion, this tag stores the ID of that potion. If there is no potion stored, then this tag is set to -1.
- Template:Nbt: If the cauldron contains a potion, this tag stores the type of that potion. 0 is normal, 1 is splash, 2 is lingering. If there is no potion stored, then this tag is set to -1.
Chalkboard
Additional fields for Minecraft:chalkboard:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The X position of its base.
- Template:Nbt: The Y position of its base.
- Template:Nbt: The Z position of its base.
- Template:Nbt: 1 or 0 (true/false) - true if it is on locked.
- Template:Nbt: 1 or 0 (true/false) - true if it is on ground.
- Template:Nbt: The Unique ID of its owner.
- Template:Nbt: The size of this chalkboard.
- Template:Nbt: The text on the chalkboard.
Chemistry Tables
Additional fields for chemistry tables (Minecraft:compound creator, Minecraft:element constructor, Minecraft:lab table, Minecraft:material reducer):
- Template:Nbt: The block entity's root tag.
- Template:Nbt: (Only for Lab Table) The Aux value of the item to be spawned.
- Template:Nbt: (Only for Lab Table) The numeral ID value of the item to be spawned.
- Template:Nbt: (Only for Lab Table) The item stack amount of the item to be spawned.
Chests
Additional fields for Minecraft:chest, Minecraft:trapped chest, Minecraft:barrel, and Minecraft:ender chest:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: Unknown.
- Template:Nbt: 1 or 0 (true/false) - (may not exist) true if this chest is unpair with chest next to it.
- Template:Nbt: List of items in this container.
- Template:Nbt: An item, including the slot tag.
- Template:Nbt: The inventory slot the item is in.
- Template:Bedrock nbt
- Template:Nbt: An item, including the slot tag.
- Template:Nbt: (May not exist) Loot table to be used to fill the chest when it is next opened, or the items are otherwise interacted with.
- Template:Nbt: (May not exist) Seed for generating the loot table. 0 or omitted use a random seed.
- Template:Nbt: (May not exist) Unknown.
- Template:Nbt: (May not exist) The X position of the chest paired with.
- Template:Nbt: (May not exist) The Z position of the chest paired with.
Chiseled Bookshelf
Additional fields for Minecraft:chiseled bookshelf:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: List of books in the bookshelf.
- Template:Nbt: An item in the chiseled bookshelf.
- Template:Nbt: Last interacted slot (1-6), or 0 if no slot has been interacted with yet.
- Template:Nbt: List of books in the bookshelf.
Command Block
Additional fields for Minecraft:command block:
- Template:Nbt: The block entity's root tag.
- Template:Bedrock nbt
- Template:Nbt: 1 or 0 (true/false) - Allows to activate the command without the requirement of a redstone signal.
- Template:Nbt: (May not exist) Unknown.
- Template:Nbt: 1 or 0 (true/false) - if a conditional command block had its condition met when last activated. True if not a conditional command block.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: 1 or 0 (true/false) - true if the command block is powered by redstone.
Comparator
Additional fields for Minecraft:comparator:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: Represents the strength of the analog signal output of this redstone comparator.
Conduit
Additional fields for Minecraft:conduit:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: 1 or 0 (true/false) - true if it is active.
- Template:Nbt: The Unique ID of the hostile mob the conduit is currently attacking. If there's no target, defaults to -1.
Copper Golem Statue
Additional fields for Minecraft:copper golem statue:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: Data for the entity associated with the statue.
- Template:Nbt: The entity's identifier. Always
minecraft:copper_golem<>. - Template:Nbt: The NBT data of the entity (the copper golem) while it is in the statue state.
- Template:Nbt: The entity's identifier. Always
- Template:Nbt: The current visual pose of the statue from 0 to 3, 0 for standing pose, 1 for sitting pose, 2 for running pose and 3 for star pose.
- Template:Nbt: Data for the entity associated with the statue.
Crafter
Additional fields for Minecraft:crafter:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: Indexes of slots that are disabled.
- Template:Nbt: List of items in the crafter.
- Template:Nbt: An item in the crafter, including the slot tag. Crafter slots are numbered 0-8. 0 starts in the top left corner.
- Template:Nbt: The inventory slot the item is in.
- Template:Bedrock nbt
- Template:Nbt: An item in the crafter, including the slot tag. Crafter slots are numbered 0-8. 0 starts in the top left corner.
Creaking Heart
Additional fields for Minecraft:creaking heart:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: Template:More info
- Template:Nbt: The unique identifier of the Minecraft:creaking associated with this creaking heart. If there is no linked creaking, this field is absent.
Decorated Pot
Additional fields for Minecraft:decorated pot:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: (May not exist) Loot table to be used to fill the decorated pot when it is next opened, or the items are otherwise interacted with.
- Template:Nbt: (May not exist) Seed for generating the loot table. 0 or omitted use a random seed.
- Template:Nbt: (May not exist) Unknown.
- Template:Nbt: The item in the decorated pot.
- Template:Nbt: List of sherds on this decorated pot.
- Template:Nbt: Item ID of this face. Defaults to
minecraft:brick.
- Template:Nbt: Item ID of this face. Defaults to
Dispenser and Dropper
Additional fields for Minecraft:dispenser and Minecraft:dropper:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: List of items in this container.
- Template:Nbt: An item, including the slot tag.
- Template:Nbt: The inventory slot the item is in.
- Template:Bedrock nbt
- Template:Nbt: An item, including the slot tag.
- Template:Nbt: (May not exist) Loot table to be used to fill the chest when it is next opened, or the items are otherwise interacted with.
- Template:Nbt: (May not exist) Seed for generating the loot table. 0 or omitted use a random seed.
- Template:Nbt: List of items in this container.
Enchantment Table
Additional fields for Minecraft:Enchantment table:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: (May not exist) The name of this enchantment table.
- Template:Nbt: The clockwise rotation of the book in radians. Top of the book points West when 0.
End Gateway
Additional fields for Minecraft:end gateway:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: Age of the portal, in ticks. This is used to determine when the beam is rendered.
- Template:Nbt: Location entities are teleported to when entering the portal.
- Template:Nbt: X coordinate of target location.
- Template:Nbt: Y coordinate of target location.
- Template:Nbt: Z coordinate of target location.
Flower Pot
Additional fields for Minecraft:flower pot:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: (May not exist) The block in the pot.
Furnace
Additional fields for Minecraft:furnace, Minecraft:smoker, and Minecraft:blast furnace:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The total time that in ticks that the currently used fuel can burn.
- Template:Nbt: Number of ticks left before the current fuel runs out.
- Template:Nbt: Number of ticks the item has been smelting for. The item finishes smelting when this value reaches 200 (10 seconds). Is reset to 0 if BurnTime reaches 0.Template:Needs testing
- Template:Nbt: List of items in this container.
- Template:Nbt: An item in the furnace, including the slot tag.
- Template:Nbt: The inventory slot the item is in.
- Template:Bedrock nbt
- Template:Nbt: An item in the furnace, including the slot tag.
- Template:Nbt: The number of experiences it stores.
Hopper
Additional fields for Minecraft:hopper:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: List of items in this container.
- Template:Nbt: An item, including the slot tag.
- Template:Nbt: The inventory slot the item is in.
- Template:Bedrock nbt
- Template:Nbt: An item, including the slot tag.
- Template:Nbt: Time until the next transfer in game ticks, naturally between 1 and 8 or 0 if there is no transfer.
- Template:Nbt: List of items in this container.
Item Frame
Additional fields for Minecraft:item frame:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The items in this item frame.
- Template:Nbt: (May not exist) The chance of item dropping when the item frame is broken.
- Template:Nbt: (May not exist) The rotation of the item in the item frame.
Jigsaw
Additional fields for Minecraft:jigsaw:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The block that this jigsaw block becomes.
- Template:Nbt: The joint option value, either "rollable" or "aligned".
- Template:Nbt: The jigsaw block's name. This jigsaw block will be aligned with another structure's jigsaw block which has this value in the target tag.
- Template:Nbt: The jigsaw block's target name. This jigsaw block will be aligned with another structure's jigsaw block which has this value in the name tag.
- Template:Nbt: The jigsaw block's target pool to select a structure from.
Jukebox
Additional fields for Minecraft:jukebox:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: (May not exist) The record item in it.
Lectern
Additional fields for Minecraft:lectern:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: (May not exist) The book item currently on the lectern.
- Template:Nbt: 1 or 0 (true/false) - (may not exist) true if it has a book.
- Template:Nbt: (May not exist) The page the book is currently on, starting from 0.
- Template:Nbt: (May not exist) The total pages the book has.
Lodestone
Additional fields for Minecraft:lodestone:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: (May not exist) The id of lodestone.
Monster Spawner
Additional fields for Minecraft:monster spawner:
- Template:Nbt: The block entity's root tag.
Moving Block
Additional fields for Minecraft:moving block:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The main layer of moving block represented by this block entity.
- Template:Nbt: The extra moving block layer represented by this block entity.
- Template:Nbt: (May not exist) The block entity stored in this moving block.
- Template:Nbt: X coordinate of the piston base.
- Template:Nbt: Y coordinate of the piston base.
- Template:Nbt: Z coordinate of the piston base.
Note Block
Additional fields for Minecraft:note block:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The pitch of the note block.
Nether Reactor
Additional fields for Minecraft:nether reactor:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: 1 or 0 (true/false) - true if the reactor has completed its activation phase, and has gone dark.
- Template:Nbt: 1 or 0 (true/false) - true if the reactor has been activated, and has turned red.
- Template:Nbt: Number of ticks the reactor has been active for. It finishes after 900 game ticks (45 seconds).
Piston
Additional fields for Minecraft:piston:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The list of positions of blocks it should move.
- Template:Nbt: A block's X coordinate.
- Template:Nbt: A block's Y coordinate.
- Template:Nbt: A block's Z coordinate.
- Template:Nbt: Another block's X coordinate.
- Template:Nbt: Another block's Y coordinate.
- Template:Nbt: Another block's Z coordinate.
- Template:Nbt: etc.
- Template:Nbt: The list of positions of blocks it should break.
- Template:Nbt: A block's X coordinate.
- Template:Nbt: A block's Y coordinate.
- Template:Nbt: A block's Z coordinate.
- Template:Nbt: Another block's X coordinate.
- Template:Nbt: Another block's Y coordinate.
- Template:Nbt: Another block's Z coordinate.
- Template:Nbt: etc.
- Template:Nbt: Progress in last tick.
- Template:Nbt: Next state. Can be 0 (unextended), 1 (pushing), 2 (extended), or 3 (pulling).
- Template:Nbt: How far the block has been moved. Can be 0.0, 0.5, and 1.0.
- Template:Nbt: Current state.
- Template:Nbt: 1 or 0 (true/false) - true if this piston is sticky.
- Template:Nbt: The list of positions of blocks it should move.
Sculk Catalyst
Additional fields for Minecraft:sculk catalyst:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: List of charges associated with the sculk catalyst.
- Template:Nbt: A charge.
- Template:Nbt: How much power is in the charge.
- Template:Nbt: Be 1 if the charge was spread from a sculk or sculk vein, 0 otherwise. The charge can spread to any block if this tag is 1. If it is 0, all the powers in the charge disappear when it spreads to a block not in sculk family.Template:Needs testing
- Template:Nbt: Template:Info needed
- Template:Nbt: Delay in ticks until the charge begins to travel after being created.Template:Needs testing
- Template:Nbt: X coordinate of the charge.
- Template:Nbt: Y coordinate of the charge.
- Template:Nbt: Z coordinate of the charge.
- Template:Nbt: A charge.
- Template:Nbt: List of charges associated with the sculk catalyst.
Sculk Shrieker, Sculk Sensor, and Calibrated Sculk Sensor
Additional fields for Minecraft:sculk shrieker, Minecraft:sculk sensor, and Minecraft:calibrated sculk sensor:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The vibration event listener of the sculk shrieker, sculk sensor, and calibrated sculk sensor.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: Unknown.
- Template:Nbt: The vibration event listener of the sculk shrieker, sculk sensor, and calibrated sculk sensor.
Shelf
Additional fields for Minecraft:shelf:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: List of items in the shelf. Unlike other containers, the order in the list determines the visual position.
- Template:Nbt: An item in the shelf.
- Template:Nbt: List of items in the shelf. Unlike other containers, the order in the list determines the visual position.
Shulker Box
Additional fields for Minecraft:shulker box:
- Template:Nbt: The block entity's root tag.
- Template:Bedrock nbt
- Template:Nbt: The facing of this shulker box.Template:More info
Sign and Hanging Sign
Additional fields for Minecraft:sign and hanging sign:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: A compound which discribes back text. The same structure as Template:Nbt.
- Template:Nbt: A compound which discribes front text.
- Template:Nbt: 1 or 0 (true/false) - true if the outer glow of a sign with glowing text does not show.
- Template:Nbt: 1 or 0 (true/false) - true if the sign has been dyed with a Minecraft:glow ink sac.
- Template:Nbt: Unknown. Defaults to 1.
- Template:Nbt: The color that has been used to dye the sign. Is a 32-bit encoded color, defaults to
-16777216(black). One of-986896for "White",-425955for "Orange",-3715395for "Magenta",-12930086for "Light Blue",-75715for "Yellow",-8337633for "Lime",-816214for "Pink",-12103854for "Gray",-6447721for "Light Gray",-15295332for "Cyan",-7785800for "Purple",-12827478for "Blue",-8170446for "Brown",-10585066for "Green",-5231066for "Red", and-16777216for "Black". - Template:Nbt: The text on it.
- Template:Nbt: Unknown.
- Template:Nbt: 1 or 0 (true/false) - true if the text is locked with Minecraft:honeycomb.
Skull
Additional fields for Minecraft:skull:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: 1 or 0 (true/false) - true if this dragon head's mouth is moving.
- Template:Nbt: The animation frame of the dragon head's mouth movement.Template:Needs testing
- Template:Nbt: The rotation of this skull.Template:More info
- Template:Nbt: The type of this skull. (unused, only exists for backwards compatibility for flattened IDs) 0 = Minecraft:Skeleton, 1 = Minecraft:Wither Skeleton, 2 = Minecraft:Zombie, 3 = Minecraft:Player, 4 = Minecraft:Creeper, 5 = Minecraft:Ender Dragon, 6 = Minecraft:Piglin.
Structure Block
Additional fields for Minecraft:structure block:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The mode of animation.Template:More info
- Template:Nbt: The duration of the animation.Template:More info
- Template:Nbt: The mode of the structure block, values for data are the same as the data values for the item. Ex. 0 = Data, 1 = Save, 2 = Load, 3 = Corner, 4 = Inventory, 5 = Export.
- Template:Nbt: Unknown.
- Template:Nbt: 1 or 0 (true/false) - true if the entities should be ignored in the structure.
- Template:Nbt: How complete the structure is that gets placed.
- Template:Nbt: 1 or 0 (true/false) - true if this structure block is being powered by redstone.
- Template:Nbt: How the structure is mirrored.Template:More info
- Template:Nbt: The current redstone mode of this structure block.Template:More info
- Template:Nbt: 1 or 0 (true/false) - true if the blocks should be removed in the structure.
- Template:Nbt: Rotation of the structure.Template:More info
- Template:Nbt: The seed to use for the structure integrity, 0 means random.Template:Needs testing
- Template:Nbt: 1 or 0 (true/false) - true if show the structure's bounding box to players in Creative mode.
- Template:Nbt: Name of the structure.
- Template:Nbt: X-offset of the structure.
- Template:Nbt: Y-offset of the structure.
- Template:Nbt: Z-offset of the structure.
- Template:Nbt: X-size of the structure.
- Template:Nbt: Y-size of the structure.
- Template:Nbt: Z-size of the structure.
Suspicious Block
Additional fields for Minecraft:suspicious sand and Minecraft:suspicious gravel:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: The number of times the suspicious block is being brushed by the player, from 1 to 10 (the item will be extracted when it reaches 10). If the player stops brushing, it will progressively return to 0. And if it hasn't been brushed yet, defaults to 0.
- Template:Nbt: The direction of the suspicious block that was brushed. 0 = Down, 1 = Up, 2 = North, 3 = South, 4 = West, 5 = East, or 6 if it has not been brushed yet.
- Template:Nbt: (May not exist) The item in the suspicious block.
- Template:Nbt: (May not exist) Loot table to be used to generate the hidden item when brushed.
- Template:Nbt: (May not exist) Seed for generating the loot table. 0 or omitted use a random seed.
- Template:Nbt: The type of suspicious block. Valid types are
minecraft:suspicious_sandandminecraft:suspicious_gravel.
Trial Spawner
Additional fields for Minecraft:trial spawner and Minecraft:ominous trial spawner:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: Between 1 and 128. Defaults to 14. — Maximum distance in blocks for players to join the battle.
- Template:Nbt: Optional, see configuration for defaults. — The configuration to use when not ominous.
- Template:Nbt: Between 1 and 128. Defaults to 4. — Maximum distance in blocks that mobs can spawn.
- Template:Nbt: Defaults to 6. — Total amount of mobs spawned before cooldown for a single player.
- Template:Nbt: Defaults to 2. — The amount of spawned mobs from this spawner that are allowed to exist simultaneously.
- Template:Nbt: Defaults to 2. — Amount of total mobs added for each additional player.
- Template:Nbt: Defaults to 1. — Amount of simultaneous mobs added for each additional player.
- Template:Nbt: Defaults to 20. — Time in ticks between spawn attempts.
- Template:Nbt: Defaults to 36000. — Time in ticks of the cooldown period. Includes the time spend dispensing the reward.
- Template:Nbt: List of possible entities to spawn.
- Template:Nbt: A potential future spawn. After the spawner makes an attempt at spawning, it chooses one of these entries at random and uses it to prepare for the next spawn.
- Template:Nbt: The chance that this spawn gets picked in comparison to other spawn weights. Must be positive and at least 1.
- Template:Nbt:
- Template:Nbt:
- Template:Nbt: An entity ID.
- Template:Nbt: Optional. Determines the equipment the entity will wear.
- Template:Nbt: A path to a Minecraft:loot table.
- Template:Nbt: Optional. Chances for the equipment to drop upon death.
- Template:Nbt: Chance (0.0–1.0) for the head slot item to drop.
- Template:Nbt: Chance (0.0–1.0) for the chest slot item to drop.
- Template:Nbt: Chance (0.0–1.0) for the legs slot item to drop.
- Template:Nbt: Chance (0.0–1.0) for the feet slot item to drop.
- Template:Nbt: Chance (0.0–1.0) for the main hand item to drop.
- Template:Nbt: Chance (0.0–1.0) for the off hand item to drop.
- Template:Nbt:
- Template:Nbt: A potential future spawn. After the spawner makes an attempt at spawning, it chooses one of these entries at random and uses it to prepare for the next spawn.
- Template:Nbt: List of possible loot tables to give as reward.
- Template:Nbt: A potential loot table.
- Template:Nbt: The chance that this loot table gets picked in comparison to other loot table weights. Must be positive and at least 1.
- Template:Nbt: A path to a Minecraft:loot table.
- Template:Nbt: A potential loot table.
- Template:Nbt: Defaults to
loot_tables/spawners/trial_chamber/items_to_drop_when_ominous.json— A path to a Minecraft:loot table. Determines the items used by Minecraft:ominous item spawners spawned during the active phase when ominous. Ignored in normal mode.
- Template:Nbt: Optional, defaults to Template:Nbt. When individual entries are omitted, they also default to their setting in Template:Nbt. — The configuration to use when ominous.
- Template:Nbt: A set of player UUIDs. — All the players that have joined the battle.
- Template:Nbt: A player UUID.
- Template:Nbt: The UUID.
- Template:Nbt: A player UUID.
- Template:Nbt: A set of mob UUIDs. — The mobs that were spawned by this spawner and are still alive.
- Template:Nbt: An entity UUID.
- Template:Nbt: The UUID.
- Template:Nbt: An entity UUID.
- Template:Nbt: Gametime in ticks when the cooldown ends. 0 if not currently in cooldown.
- Template:Nbt: Gametime in ticks when the next spawn attempt happens. 0 if not currently active.
- Template:Nbt: The next mob to attempt to spawn. Selected from Template:Nbt after the last attempt. Determines the mob displayed in the spawner.
- Template:Nbt: An entity ID.
- Template:Nbt: Selection weight for the current active spawn.
- Template:Nbt: Optional. Same structure as the equipment found in Template:Nbt.
- Template:Nbt: A path to the Minecraft:loot table that is given as reward. Unset if not currently giving rewards. Selected from Template:Nbt after all mobs are defeated.
Vault
Additional fields for Minecraft:vault and Minecraft:ominous vault:
- Template:Nbt: The block entity's root tag.
- Template:Nbt: Configuration data that does not automatically change. All fields are optional.
- Template:Nbt: The range in blocks when the vault should activate. Defaults to 4.
- Template:Nbt: The range in blocks when the vault should deactivate. Defaults to 4.5.
- Template:Nbt: A path to the Minecraft:loot table that is ejected when unlocking the vault. Defaults to
loot_tables/chests/trial_chambers/reward.jsonfor normal vaults andloot_tables/chests/trial_chambers/reward_ominous.jsonfor ominous vaults. - Template:Nbt: A path to the loot table that is used to display items in the vault. If not present, the game will use the Template:Nbt field.
- Template:Nbt: The key item that is used to check for valid keys. Defaults to
minecraft:trial_keyfor normal vaults andminecraft:ominous_trial_keyfor ominous vaults.
- Template:Nbt: Data that is used to keep track of the current state of the vault.
- Template:Nbt: The item that is currently being displayed.
- Template:Nbt: List of item stacks that have been rolled by the loot table and are waiting to be ejected.
- Template:Nbt: An item stack.
- Template:Nbt: A set of player UUIDs that have already received their rewards from this vault.
- Template:Nbt: A UUID.
- Template:Nbt: The game time when the vault will process block state changes, such as changing from
unlockingtoejectingafter a delay. - Template:Nbt: The total amount of item stacks that need to be ejected.
- Template:Nbt: Configuration data that does not automatically change. All fields are optional.
Minecraft:pt:Formato de nível da Edição Bedrock/Formatos de bloco-entidade Minecraft:zh:基岩版存档格式/方块实体格式