Minecraft:Bedrock Edition level format/Block entity format
More actions
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:基岩版存档格式/方块实体格式