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