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

Minecraft:Bedrock Edition level format/Block entity format

From SAS Gaming Wiki

Template:Missing information Template:Exclusive This page lists NBT structures of block entities Template:In.

A Minecraft:block entity is used by Minecraft to store information about a block that can't be stored in the block's block states.

Block Entity

All block entities share this base:

Additional fields for block entity types

Additional fields for Minecraft:banner:

Beacon

Additional fields for Minecraft:beacon:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: The primary effect selected, see Potion effects for IDs. Set to 0 when no effect is selected.
    • Template:Nbt: The secondary effect selected, see Potion effects for IDs. Set to 0 when no effect is selected. When set without a primary effect, does nothing. When set to the same as the primary, the effect is given at level 2 (the normally available behavior for 5 effects). When set to a different value than the primary (normally only Regeneration), gives the effect at level 1.Template:Needs testing

Bed

Additional fields for Minecraft:bed:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: The data value that determines the color of the half-bed block. When a bed is broken, the color of the block entity at the bed's head becomes the color of the bed item when it drops. See Minecraft:Bed#Metadata.

Beehive and Bee Nest

Additional fields for Minecraft:beehive and bee nest:

Bell

Additional fields for Minecraft:bell:

Brewing Stand

Additional fields for Minecraft:brewing stand:

Campfire and Soul Campfire

Additional fields for Minecraft:campfire and Minecraft:soul campfire:

Cauldron

Additional fields for Minecraft:cauldron:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: (May not exist) This tag exists only if the cauldron stores dyed water; stores a 32-bit ARGB encoded color.
    • Template:Nbt: List of items in this container.
    • Template:Nbt: If the cauldron contains a potion, this tag stores the ID of that potion. If there is no potion stored, then this tag is set to -1.
    • Template:Nbt: If the cauldron contains a potion, this tag stores the type of that potion. 0 is normal, 1 is splash, 2 is lingering. If there is no potion stored, then this tag is set to -1.

Chalkboard

Additional fields for Minecraft:chalkboard:

Chemistry Tables

Additional fields for chemistry tables (Minecraft:compound creator, Minecraft:element constructor, Minecraft:lab table, Minecraft:material reducer):

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: (Only for Lab Table) The Aux value of the item to be spawned.
    • Template:Nbt: (Only for Lab Table) The numeral ID value of the item to be spawned.
    • Template:Nbt: (Only for Lab Table) The item stack amount of the item to be spawned.

Chests

Additional fields for Minecraft:chest, Minecraft:trapped chest, Minecraft:barrel, and Minecraft:ender chest:

Chiseled Bookshelf

Additional fields for Minecraft:chiseled bookshelf:

Command Block

Additional fields for Minecraft:command block:

Comparator

Additional fields for Minecraft:comparator:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: Represents the strength of the analog signal output of this redstone comparator.

Conduit

Additional fields for Minecraft:conduit:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: 1 or 0 (true/false) - true if it is active.
    • Template:Nbt: The Unique ID of the hostile mob the conduit is currently attacking. If there's no target, defaults to -1.

Copper Golem Statue

Additional fields for Minecraft:copper golem statue:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: Data for the entity associated with the statue.
    • Template:Nbt: The 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

Additional fields for Minecraft:crafter:

Decorated Pot

Additional fields for Minecraft:decorated pot:

Dispenser and Dropper

Additional fields for Minecraft:dispenser and Minecraft:dropper:

Enchantment Table

Additional fields for Minecraft:Enchantment table:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: (May not exist) The name of this enchantment table.
    • Template:Nbt: The clockwise rotation of the book in radians. Top of the book points West when 0.

End Gateway

Additional fields for Minecraft:end gateway:

Flower Pot

Additional fields for Minecraft:flower pot:

Furnace

Additional fields for Minecraft:furnace, Minecraft:smoker, and Minecraft:blast furnace:

Hopper

Additional fields for Minecraft:hopper:

Item Frame

Additional fields for Minecraft:item frame:

Jigsaw

Additional fields for Minecraft:jigsaw:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: The block that this jigsaw block becomes.
    • Template:Nbt: The joint option value, either "rollable" or "aligned".
    • Template:Nbt: The jigsaw block's name. This jigsaw block will be aligned with another structure's jigsaw block which has this value in the target tag.
    • Template:Nbt: The jigsaw block's target name. This jigsaw block will be aligned with another structure's jigsaw block which has this value in the name tag.
    • Template:Nbt: The jigsaw block's target pool to select a structure from.

Jukebox

Additional fields for Minecraft:jukebox:

Lectern

Additional fields for Minecraft:lectern:

Lodestone

Additional fields for Minecraft:lodestone:

Monster Spawner

Additional fields for Minecraft:monster spawner:

Moving Block

Additional fields for Minecraft:moving block:

Note Block

Additional fields for Minecraft:note block:

Nether Reactor

Additional fields for Minecraft:nether reactor:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: 1 or 0 (true/false) - true if the reactor has completed its activation phase, and has gone dark.
    • Template:Nbt: 1 or 0 (true/false) - true if the reactor has been activated, and has turned red.
    • Template:Nbt: Number of ticks the reactor has been active for. It finishes after 900 game ticks (45 seconds).

Piston

Additional fields for Minecraft:piston:

Sculk Catalyst

Additional fields for Minecraft:sculk catalyst:

Sculk Shrieker, Sculk Sensor, and Calibrated Sculk Sensor

Additional fields for Minecraft:sculk shrieker, Minecraft:sculk sensor, and Minecraft:calibrated sculk sensor:

Shelf

Additional fields for Minecraft:shelf:

Shulker Box

Additional fields for Minecraft:shulker box:

Sign and Hanging Sign

Additional fields for Minecraft:sign and hanging sign:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: A compound which discribes back text. The same structure as Template:Nbt.
    • Template:Nbt: A compound which discribes front text.
      • Template:Nbt: 1 or 0 (true/false) - true if the outer glow of a sign with glowing text does not show.
      • Template:Nbt: 1 or 0 (true/false) - true if the sign has been dyed with a Minecraft:glow ink sac.
      • Template:Nbt: Unknown. Defaults to 1.
      • Template:Nbt: The color that has been used to dye the sign. Is a 32-bit encoded color, defaults to -16777216 (black). One of -986896 for "White", -425955 for "Orange", -3715395 for "Magenta", -12930086 for "Light Blue", -75715 for "Yellow", -8337633 for "Lime", -816214 for "Pink", -12103854 for "Gray", -6447721 for "Light Gray", -15295332 for "Cyan", -7785800 for "Purple", -12827478 for "Blue", -8170446 for "Brown", -10585066 for "Green", -5231066 for "Red", and -16777216 for "Black".
      • Template:Nbt: The text on it.
      • Template:Nbt: Unknown.
    • Template:Nbt: 1 or 0 (true/false) - true if the text is locked with Minecraft:honeycomb.

Skull

Additional fields for Minecraft:skull:

Structure Block

Additional fields for Minecraft:structure block:

Suspicious Block

Additional fields for Minecraft:suspicious sand and Minecraft:suspicious gravel:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: The number of times the suspicious block is being brushed by the player, from 1 to 10 (the item will be extracted when it reaches 10). If the player stops brushing, it will progressively return to 0. And if it hasn't been brushed yet, defaults to 0.
    • Template:Nbt: The direction of the suspicious block that was brushed. 0 = Down, 1 = Up, 2 = North, 3 = South, 4 = West, 5 = East, or 6 if it has not been brushed yet.
    • Template:Nbt: (May not exist) The item in the suspicious block.
    • Template:Nbt: (May not exist) Loot table to be used to generate the hidden item when brushed.
    • Template:Nbt: (May not exist) Seed for generating the loot table. 0 or omitted use a random seed.
    • Template:Nbt: The type of suspicious block. Valid types are minecraft:suspicious_sand and minecraft:suspicious_gravel.

Trial Spawner

Additional fields for Minecraft:trial spawner and Minecraft:ominous trial spawner:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: Between 1 and 128. Defaults to 14. — Maximum distance in blocks for players to join the battle.
    • Template:Nbt: Optional, see configuration for defaults. — The configuration to use when not ominous.
      • Template:Nbt: Between 1 and 128. Defaults to 4. — Maximum distance in blocks that mobs can spawn.
      • Template:Nbt: Defaults to 6. — Total amount of mobs spawned before cooldown for a single player.
      • Template:Nbt: Defaults to 2. — The amount of spawned mobs from this spawner that are allowed to exist simultaneously.
      • Template:Nbt: Defaults to 2. — Amount of total mobs added for each additional player.
      • Template:Nbt: Defaults to 1. — Amount of simultaneous mobs added for each additional player.
      • Template:Nbt: Defaults to 20. — Time in ticks between spawn attempts.
      • Template:Nbt: Defaults to 36000. — Time in ticks of the cooldown period. Includes the time spend dispensing the reward.
      • Template:Nbt: List of possible entities to spawn.
      • Template:Nbt: List of possible loot tables to give as reward.
      • Template:Nbt: Defaults to loot_tables/spawners/trial_chamber/items_to_drop_when_ominous.json — A path to a Minecraft:loot table. Determines the items used by Minecraft:ominous item spawners spawned during the active phase when ominous. Ignored in normal mode.
    • Template:Nbt: Optional, defaults to Template:Nbt. When individual entries are omitted, they also default to their setting in Template:Nbt. — The configuration to use when ominous.
    • Template:Nbt: A set of player UUIDs. — All the players that have joined the battle.
    • Template:Nbt: A set of mob UUIDs. — The mobs that were spawned by this spawner and are still alive.
    • Template:Nbt: Gametime in ticks when the cooldown ends. 0 if not currently in cooldown.
    • Template:Nbt: Gametime in ticks when the next spawn attempt happens. 0 if not currently active.
    • Template:Nbt: The next mob to attempt to spawn. Selected from Template:Nbt after the last attempt. Determines the mob displayed in the spawner.
    • Template:Nbt: A path to the Minecraft:loot table that is given as reward. Unset if not currently giving rewards. Selected from Template:Nbt after all mobs are defeated.

Vault

Additional fields for Minecraft:vault and Minecraft:ominous vault:

  • Template:Nbt: The block entity's root tag.
    • Template:Nbt: Configuration data that does not automatically change. All fields are optional.
      • Template:Nbt: The range in blocks when the vault should activate. Defaults to 4.
      • Template:Nbt: The range in blocks when the vault should deactivate. Defaults to 4.5.
      • Template:Nbt: A path to the Minecraft:loot table that is ejected when unlocking the vault. Defaults to loot_tables/chests/trial_chambers/reward.json for normal vaults and loot_tables/chests/trial_chambers/reward_ominous.json for ominous vaults.
      • Template:Nbt: A path to the loot table that is used to display items in the vault. If not present, the game will use the Template:Nbt field.
      • Template:Nbt: The key item that is used to check for valid keys. Defaults to minecraft:trial_key for normal vaults and minecraft:ominous_trial_key for ominous vaults.
    • Template:Nbt: Data that is used to keep track of the current state of the vault.

Minecraft:pt:Formato de nível da Edição Bedrock/Formatos de bloco-entidade Minecraft:zh:基岩版存档格式/方块实体格式