![]() |
VOOZH | about |
A block entity is used to store information about a block that can't be stored in the block's block states. It is stored inside the chunk data and structure files.
| Block Entities | |
|---|---|
| Block Entity ID | Associated Block |
| banner | Banners |
| barrel | Barrel |
| beacon | Beacon |
| beehive | Bee Nest/Beehive |
| bell | Bell |
| blast_furnace | Blast Furnace |
| brewing_stand | Brewing Stand |
| brushable_block | Suspicious Gravel/Suspicious Sand |
| calibrated_sculk_sensor | Calibrated Sculk Sensor |
| campfire | Campfire |
| chest | Chest/Copper Chests |
| chiseled_bookshelf | Chiseled Bookshelf |
| comparator | Redstone Comparator |
| command_block | Command Block |
| conduit | Conduit |
| copper_golem_statue | Copper Golem Statues |
| crafter | Crafter |
| creaking_heart | Creaking Heart |
| daylight_detector | Daylight Detector |
| decorated_pot | Decorated Pot |
| dispenser | Dispenser |
| dropper | Dropper |
| enchanting_table | Enchanting Table |
| ender_chest | Ender Chest |
| end_gateway | End Gateway |
| end_portal | End Portal |
| furnace | Furnace |
| hanging_sign | Hanging Signs |
| hopper | Hopper |
| jigsaw | Jigsaw Block |
| jukebox | Jukebox |
| lectern | Lectern |
| mob_spawner | Monster Spawner |
| piston | Moving Piston |
| potent_sulfur | Potent Sulfur |
| shelf | Shelves |
| shulker_box | Shulker Boxes |
| sign | Signs |
| skull | Heads |
| sculk_catalyst | Sculk Catalyst |
| sculk_sensor | Sculk Sensor |
| sculk_shrieker | Sculk Shrieker |
| smoker | Smoker |
| soul_campfire | Soul Campfire |
| structure_block | Structure Block |
| test_block | Test Block |
| test_instance_block | Test Instance Block |
| trapped_chest | Trapped Chest |
| trial_spawner | Trial Spawner |
| vault | Vault |
Block entities are stored using NBT in the following format:
true/false) - If true, this is an invalid block entity, and this block is not immediately placed when a loaded chunk is loaded. If false, this is a normal block entity that can be immediately placed.minecraft:banner_patterns component.
| Color | ID (JE) | Data value (BE) | Hex color |
|---|---|---|---|
White |
white
|
0
|
#F9FFFE
|
Orange |
orange
|
1
|
#F9801D
|
Magenta |
magenta
|
2
|
#C74EBD
|
Light blue |
light_blue
|
3
|
#3AB3DA
|
Yellow |
yellow
|
4
|
#FED83D
|
Lime |
lime
|
5
|
#80C71F
|
Pink |
pink
|
6
|
#F38BAA
|
Gray |
gray
|
7
|
#474F52
|
Light gray |
light_gray
|
8
|
#9D9D97
|
Cyan |
cyan
|
9
|
#169C9C
|
Purple |
purple
|
10
|
#8932B8
|
Blue |
blue
|
11
|
#3C44AA
|
Brown |
brown
|
12
|
#835432
|
Green |
green
|
13
|
#5E7C16
|
Red |
red
|
14
|
#B02E26
|
Black |
black
|
15
|
#1D1D21
|
minecraft:container component. The component is still present on the block entity, even if the tag does not exist (due to a loot table existing instead).
minecraft:regeneration works and even allows Regeneration II to be chosen as the secondary via the normal beacon GUI.minecraft:bees component.
flower_pos tag, it has a 90% chance to use this hive's flower position, creating a sort of gossip system for hives.minecraft:container component.
/recipe command.minecraft:container component.
minecraft:container component.
minecraft:container component.
minecraft:container component. The component is still present on the block entity, even if the tag does not exist (due to a loot table existing instead).
commandBlockOutput is false. Appears in the GUI of the block when right-clicked, and includes a timestamp of when the output was produced.minecraft:container component. The component is still present on the block entity, even if the tag does not exist (due to a loot table existing instead).
minecraft:container component. The item is implicitly in slot 0, despite not using the [Byte] Slot tag. The component is still present on the block entity, even if the tag does not exist (due to a loot table existing instead).
minecraft:pot_decorations component.
minecraft:container component. The component is still present on the block entity, even if the tag does not exist (due to a loot table existing instead).
minecraft:container component. The component is still present on the block entity, even if the tag does not exist (due to a loot table existing instead).
minecraft:container component.
/recipe command.black One of white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, and black."" for lines containing blocked words and to the line's normal contents for the other lines when a player with the profanity filter turned off edits the sign, so players with the filter on cannot see the blocked words. If a player with the filter on tries to use blocked words in one or more lines, the line(s) in [NBT List / JSON Array] messages containing blocked words are set to "", which makes them render completely blank, and this tag is also given the same contents. If multiple lines have been edited before the sign editing GUI is closed, only the lines containing blocked words are blanked.minecraft:container component. The component is still present on the block entity, even if the tag does not exist (due to a loot table existing instead).
container.0 (or contents) slot.
SpawnData as though it had just completed a successful spawn cycle, immediately when a player enters its range. Setting this to -1 can be useful if the player wants the game to properly randomize the spawner's Delay and SpawnData, rather than starting with pre-defined values.SpawnRange*2+1 ร SpawnRange*2+1 ร 8 centered around the spawner block) entities whose IDs match this spawner's entity ID. This is relative to a mob's hitbox, not its physical position. Also, all entities within all chunk sections (16ร16ร16 cubes) overlapped by this box are tested for their ID and hitbox overlap, rather than just entities within the box, meaning that a large amount of entities outside the box (or within it, of course) can cause substantial lag.MinSpawnDelay and SpawnCount properties to also be set.MaxSpawnDelay. Requires the SpawnCount property to also be set, otherwise it defaults to 0.MaxNearbyEntities property to also be set.MinSpawnDelay property to also be set.SpawnPotentials exists, this tag gets overwritten after the next spawning attempt: see above for more details.SpawnData exists, Minecraft generates it the next time the spawner tries to spawn an entity. The generated list contains a single entry derived from the SpawnData tag.
SpawnData.
1, or 0 (true/false) - Not to be confused with update_delay. This controls the decay of the cluster. If this is true, then the cluster was spread from a sculk block or sculk vein, and this cluster can only spread to sculk, sculk veins, and blocks with the [Boolean] sculk_replaceable tag set to true. If this is false, then all the sculk charges disappear when the cluster discharges to a block that is not in the sculk family.Items tag, which store an empty list). Represents the minecraft:container component. The component is still present on the block entity, even if the tag does not exist.
black One of white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, and black."" for lines containing blocked words and to the line's normal contents for the other lines when a player with the profanity filter turned off edits the sign, so players with the filter on cannot see the blocked words. If a player with the filter on tries to use blocked words in one or more lines, the line(s) in [NBT List / JSON Array] messages containing blocked words are set to "", which makes them render completely blank, and this tag is also given the same contents. If multiple lines have been edited before the sign editing GUI is closed, only the lines containing blocked words are blanked.minecraft:custom_name component.minecraft:note_block_sound component.minecraft:profile component.
minecraft:container component.
/recipe command.minecraft:container component.
minecraft:container component. The component is still present on the block entity, even if the tag does not exist (due to a loot table existing instead).
"minecraft:chests/trial_chambers/reward".loot_table field."minecraft:trial_key".
unlocking to ejecting after a delay.| Java Edition Beta | |||||||
|---|---|---|---|---|---|---|---|
| 1.2 | Added Trap for dispensers.
| ||||||
Added Music for note blocks. | |||||||
| 1.7 | Added Piston for moving pistons. | ||||||
| 1.8 | Pre-release | Chest is now used to render chests newly changed model. | |||||
| Java Edition | |||||||
| 1.0.0 | Beta 1.9 Prerelease 3 | Added Cauldron for brewing stands.
| |||||
Added EnchantTable for enchantment tables.
| |||||||
Added AirPortal for End portal blocks. | |||||||
| 1.3.1 | 12w21a | Added EnderChest for ender chests. | |||||
| 1.4.2 | 12w32a | Added Control for command blocks.
| |||||
Added Beacon for beacons. | |||||||
| 12w36a | Added Skull for heads. | ||||||
| 1.5 | 13w01a | Added DLDetector for daylight sensors.
| |||||
Added Hopper for hoppers.
| |||||||
Added Comparator for redstone comparators. | |||||||
| 13w03a | Added Dropper for droppers. | ||||||
| 1.7.2 | 13w36a | Added FlowerPot for flower pots. | |||||
| 1.8 | 14w30a | Added Banner for banners. | |||||
| 1.9 | 15w31a | Added EndGateway for the End gateway block.
| |||||
Added Structure for structure blocks.
| |||||||
Added powered and conditional fields to Control | |||||||
| 15w47a | Added PaymentItem to Beacon. | ||||||
| 15w49a | Removed PaymentItem from Beacon. | ||||||
| 1.11 | 16w32a | The namespaced ID of block entities have been lowercased, renamed and namespaced. | |||||
| 16w39a | Added shulker_box for shulker boxes. | ||||||
| 1.12 | 17w15a | Added bed for beds. | |||||
| 1.13 | 17w47a | Removed noteblock for note blocks.
| |||||
Removed flower_pot for flower pots.
| |||||||
Removed color from bed.
| |||||||
Removed Base from banner.
| |||||||
Removed Rot and SkullType from skull.
| |||||||
Added trapped_chest for trapped chests.
| |||||||
Merged fields BlockId and BlockData into blockState for piston.
| |||||||
Removed Record from jukebox. | |||||||
| 18w15a | Added conduit for conduits. | ||||||
| 1.14 | 18w44a | Added barrel for barrels.
| |||||
Added bell for bells.
| |||||||
Added lectern for lectern. | |||||||
| 18w46a | Added jigsaw for jigsaw block. | ||||||
| 19w02a | Added campfire for camfires. | ||||||
| 18w50a | Added blast_furnace for blast furnaces.
| ||||||
Added smoker for smokers. | |||||||
| 1.15 | 19w34a | Added beehive for beehives and bee nests. | |||||
| 1.17 | 20w49a | Added sculk_sensor for sculk sensors. | |||||
| 1.19 | Deep Dark Experimental Snapshot 1 | Added sculk_catelyst for sculk catelyst.
| |||||
Added sculk_shrieker for sculk shriekers. | |||||||
| 22w11a | Implemented the previously mentioned features into normal snapshot. | ||||||
| 1.19.3 Experiment | 22w42a | Added chiseled_bookshelf for chiseled bookshelves.
| |||||
Added hanging_sign for hanging signs. | |||||||
| 1.19.4 Experiment | 23w07a | Added decorated_pot for decorated pots.
| |||||
Added suspicious_sand for suspicious sand. | |||||||
| 1.20 | 23w12a | Added calibrated_sculk_sensor for calibrated sculk sensors.
| |||||
Renamed suspicious_sand to brushable_block. | |||||||
| 1.20.2 | 23w32a | Some fields in beacon were changed:
| |||||
| 1.20.3 Experiment | 23w45a | Added trial_spawner for trial spawners. | |||||
| 23w42a | Added crafter for crafters. | ||||||
| 1.20.5 Experiment | 24w05a | Added vault for vaults. | |||||
| 1.21.2 Experiment | 24w40a | Added creaking_heart for creaking heart. | |||||
| 24w39a | Renamed Lock field in containers to lock as now it has become a compound that represents an item predicate. | ||||||
| 1.21.4 | Pre-Release 2 | Some fields for furnace, blast_furnace, and smoker were changed:
CookTime to cooking_time_spent.CookTimeTotal to cooking_total_time.BurnTime to lit_time_remaining.lit_total_time representing the total time the furnace should be lit. | |||||
| 1.21.5 | 25w03a | Added test_block for test blocks.
| |||||
Added test_instance_block for test instance blocks. | |||||||
| 25w07a | The CustomName field is no longer preserved when removed.
| ||||||
The LootTable field is no longer preserved when removed.
| |||||||
The exit_portal field for end_gateway is no longer preserved when removed.
| |||||||
The RecipesUsed field for furnace, smoker and blast_furnace is no longer preserved when removed.
| |||||||
The note_block_sound field for skull is no longer preserved when removed. | |||||||
| 25w09a | The CookingTimes and CookingTotalTimes for campfire fields are no longer preserved when removed.
| ||||||
The last_interacted_slot field for chiseled_bookshelf now defaults to -1 if not specified.
| |||||||
The TransferCooldown field for hopper now default to -1 if not specified.
| |||||||
The jigsaw fields, name, target, and pool now default to minecraft:empty if not specified, and the final_state field now defaults to minecraft:air if not specified.
| |||||||
The warning_level field for sculk_shrieker now defaults to 0 if not specified.
| |||||||
structure_blockThe ignoreEntities and showboundingbox fields now default to true if not specified, the posY field now defaults to 1 if not specified. | |||||||
| 1.21.9 | 25w31a | Added copper_golem_statue for copper golem statues.
| |||||
Added shelf for shelves. | |||||||
| 25w34a | Added align_items_to_bottom to shelf. | ||||||
| 26.2 | snap3 | Removed bed for beds. | |||||
| snap5 | Added potent_sulfur for potent sulfur. | ||||||
| Upcoming Java Edition | |||||||
| 26.3 | snap1 | minecraft:decorated_pot: Field sherds no longer stores a list of 4 item IDs. Instead, the new format is an object with 4 optional item stack fields. | |||||