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

Minecraft:Living Block: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{MC/Confuse|Block Display}}
{{confuse|Block Display}}
{{MC/WIP}}
 
{{MC/Joke feature}}
{{joke feature}}
{{Infobox entity
{{Infobox entity
| title = Living Block
| title = Living Block
| image = Dirt.png
| image = Dirt.png
| health =
| health = * '''Min:''' {{hp|2}}
* '''Max:''' {{hp|200}}
* {{TooltipSprite||Chest|link=Chest|minetip=1}} {{TooltipSprite||Copper Chests|#minecraft:copper_chests|link=Item_tag_(Java_Edition)#copper_chests|minetip=1}} {{TooltipSprite||Ender Chest|link=Ender Chest|minetip=1}} {{TooltipSprite||Barrel|link=Barrel|minetip=1}} {{TooltipSprite||Shulker Boxes|#minecraft:shulker_boxes|link=Item_tag_(Java_Edition)#shulker_boxes|minetip=1}}''' :''' {{hp|200}}
* {{TooltipSprite||Dirt|Other blocks|link=Blocks|minetip=1}}''' :''' [[Minecraft:Blast resistance]] x [{{hp|3}}]{{fn|Not in {{cd|[[Minecraft:26w14a#block_placers|#block_placers]]}} }} 
* {{TooltipSprite|Item|Bundles|#minecraft:bundles|link=Item_tag_(Java_Edition)#bundles|minetip=1}}''' :''' [[Minecraft:Durability]] x [{{hp|1}}]{{fn|Since vanilla [[Minecraft:bundles]] have no durability, the hp is {{hp|2}}}}
* {{TooltipSprite|Item|all-iron-tools-weapons|Items with durability|link=Durability|minetip=1}}''' :''' [[Minecraft:Durability]] x [{{hp|0.1}}]
* {{TooltipSprite|Item|Stick|Other items|link=Items|minetip=1}}''' :''' {{hp|10}}
{{fnlist}}
| damage = '''Non weapon:'''<br>{{hp|1}}<hr>'''Weapon:'''<br>[[Minecraft:Damage#Damage_by_weapon|Varies]]
| behavior = Passive
| behavior = Passive
| mobtype =
| mobtype =  
| damage =
| size = {{EntitySprite|Item}} '''Items:'''<br>
| size =
Height: 0.5 blocks<br>
| spawn = When a player mines a [[Minecraft:block]].
Width: 0.5 blocks<br>
{{BlockSprite|Light}} '''Empty shape blocks:'''<br>
Height: 0.5 blocks<br>
Width: 0.5 blocks<br>
{{BlockSprite|Dirt}} '''Other blocks:'''<br>
Varies, minimum cuboid that contains block's [[Minecraft:interaction box]]
| leashable = Yes
| spawn =
}}
}}
'''Living blocks''' are [[Minecraft:mob]]s meant to represent blocks in 26w14a.
'''Living blocks''' are [[Minecraft:mob]]s meant to represent blocks, present only in [[Minecraft:26w14a]].


== Spawning ==
== Spawning ==
A living block spawns from any action that results in a block being broken (such as a player mining a block or an explosion) or an [[Minecraft:item]] being created. They can also be spawned by a player in Creative mode using {{MC/Control|pick block}} on a block.
Living blocks span most of the actions that previously generated an [[Minecraft:item entity]], including:
* Breaking a block that generates loot
* Breaking a container block
* Dropping an item (with some [[#Replace item entity|exceptions]])
* Killing an entity that drops loot or equipment
** Living blocks can also drop living blocks, see {{Slink||Drop}}
* Other generations of [[Minecraft:loot table]]s
* When a [[Minecraft:falling block]] is dropped as an item
* When a [[Minecraft:lead]] breaks
Similar to the behavior of items entity to be destroyed, destroying a living block container, such as a [[Minecraft:shulker box]], [[Minecraft:chest]], or [[Minecraft:bundle]], spawns the living blocks that items were inside. Some items from the living block container are also dropped as living block when attacking the living block container.
<!-- Destroying an item entity (now replaced by a living block) is quite different from destroying a container block, as mentioned above. -->
 
In some cases where items were generated in the inventory, they now generate living blocks. These are:
* {{cmd|give}} command
*  A player in Creative mode using {{control|pick block}} on a block
** But using {{control|pick block}} on an entity still generates an item in the inventory.
 
=== Converting ===
Living blocks are also generated by procedures that previously transformed items into new items when used in the inventory; now, living block behaviors generate new living blocks, such as:
* Crafting using a [[Minecraft:Crafting Grid|crafting grid]]
* Smelting a living block
* Filling a living [[Minecraft:bucket]]
 
Other conversions mimic block behaviors, which are:
* Living [[Minecraft:concrete powder]], when in contact with water, transforms into living [[Minecraft:concrete]]
* Living [[Minecraft:sponge]], when in contact with water, transforms into living [[Minecraft:wet sponge]]
 
Living [[Minecraft:iron bars]] can form living [[Minecraft:iron trap]]s, and living [[Minecraft:copper bars]] can form living [[Minecraft:copper trap]]s.
 
=== Monster spawners ===
Living [[Minecraft:end portal frame]] monster spawners naturally generate in end portal rooms in [[Minecraft:strongholds]], replacing the [[Minecraft:silverfish]] spawner. Groups of up to 4 living end portal frame are spawned at a time until a total of 12 are reached near the spawner. More living end portal frame may be generated if the living end portal frames are moved away.
 
== Drop ==
 
=== On death ===
Living blocks drop the result of a one-item [[Minecraft:Crafting#Complete_recipe_list|recipe]] if the item associated with the living block is used. For example, a living [[Minecraft:oak log]] drops four living [[Minecraft:oak planks]], since with exactly one oak log can craft four oak planks.
 
Living block containers also drop the items that are in their internal inventory.


== Behavior ==
== Behavior ==
Living blocks stay still until commanded to do something. When commanded they will roll (if they are a block) or fly (if they are an item).
Living blocks stay still until commanded to do something. When commanded, they roll (if they are a block) or fly (if they are an item).


=== Replace item entity ===
=== Replacing item entity ===


The item entity has been removed, and in many instances where it was previously used, living blocks is now used instead.
The [[Minecraft:item entity]] has been removed, and in many instances where it was previously used, living blocks is now used instead.


'''Drop'''
'''Drop'''
Line 29: Line 82:
* If it's an action item, nothing happens.
* If it's an action item, nothing happens.
* If it's a spawn egg, the related mob is spawned.
* If it's a spawn egg, the related mob is spawned.
** In reality, this behavior is defined by the component {{DCL|minecraft=1|entity_data}}
** Technically, this behavior is defined by the component {{DCL|minecraft=1|entity_data}}, for example:
*** The item {{MC/Cd|bat_spawn_egg[!minecraft:entity_data]}} is dropped as a live block from the bat spawn egg and not as a bat.
*** The item {{cd|bat_spawn_egg[!minecraft:entity_data]}} is dropped as a living [[Minecraft:bat spawn egg]] item and not as a [[Minecraft:bat]]
*** The item {{cd|stone[minecraft:entity_data{{=}}{id:bat}]}} is dropped as a bat and not as a living stone.
*** The item {{cd|stone[minecraft:entity_data{{=}}{id:bat}]}} is dropped as a bat and not as a living stone item
* Otherwise, it creates a living block.
* Otherwise, it creates a living block.
** The number of living blocks created is equal to the number of items dropped.
** The number of living blocks created is equal to the number of items dropped.
** Each block is spawned next to the previous one in an randon horizontally direction.  
** Each block is spawned next to the previous one in an random horizontal direction.  
*** If there is a collision at the location, the block searches for a new spawn point in a 7x5x7 area where the initial position is the center of that area floor.
*** If there is a collision at the initial spawn location, the block searches for a new spawn point in a 1x5x7 + 7x5x1  area. The initial position is at the bottom of this area at its horizontal center.
**** First, the block reaches all positions on the Y-axis. If it doesn't move horizontally and reaches all positions on the Y-axis, then moving horizontally prioritizes blocks closer to the original position.
**** First, the block checks along the Y-axis. If no positions are available, it then checks horizontally (randomly but prioritizes blocks closer to the original position).
**** If it cannot find a valid position, it spawns at the original position.
**** If it cannot find a valid position, it spawns at the original position regardless.
** If the item was dropped by a player, the living block considers that player as its owner and is selected.
** If the item was dropped by a player, the living block considers that player as its owner and is selected.


=== Special Properties ===
=== Special properties ===
{{main|/types}}
 
Some living blocks have special properties:
Some living blocks have special properties:


*Living [[Minecraft:wool]] floats upwards. If more than three wool are following the player, the player gets reduced gravity, allowing them to jump higher and fall slower.
*Living [[Minecraft:wool]] floats upward. If more than three wool are following the player, the player gets reduced gravity, allowing them to jump higher and fall slower.
*Living [[Minecraft:anvil]]s have a unique attack where they fly to the target, then turn into a regular falling block high above it aiming to fall on it and deal damage
*Living [[Minecraft:anvil]]s have a unique attack where they fly to the target, then turn into a regular [[Minecraft:falling block]] high above it aiming to fall on it and deal damage
*Living [[Minecraft:glass]] can take fall damage
*Living [[Minecraft:glass]] can take [[Minecraft:fall damage]]
*Living [[Minecraft:lever]]s can be toggled, and will also toggle themselves at random.
*Living [[Minecraft:lever]]s can be toggled, and also toggle themselves at random.
*Living [[Minecraft:bed]]s can be slept in
*Living [[Minecraft:bed]]s can be slept in
**The player’s view will move and even rotate with it
**The player's view moves and even rotates with it
**The respawn point will only be set by actually sleeping in it, interacting with it is not sufficient
**The respawn point is set only by sleeping in it, interacting with it is not sufficient
**The respawn point will not move around with the bed
**The respawn point does not move around with the bed
**Destroying the bed does not remove the respawn point
**Destroying the bed does not remove the respawn point
*Living [[Minecraft:furnace]]s, blast furnaces, [[Minecraft:smoker]]s, and [[Minecraft:campfire]]s will smelt/cook nearby compatible living blocks automatically (no fuel needed)
*Living [[Minecraft:furnace]]s, [[Minecraft:blast furnace]]s, [[Minecraft:smoker]]s, and [[Minecraft:campfire]]s smelt/cook nearby compatible living blocks automatically (no fuel needed)
*Living [[Minecraft:chest]]s, [[Minecraft:barrel]]s, and other containers will pick up nearby living blocks, as long as the living blocks are not part of a group and the other usual restrictions are met and will not respond to [[Minecraft:Build (item)|build]] commands.
*Living [[Minecraft:chest]]s, [[Minecraft:barrel]]s, and other [[Minecraft:container]]s pick up nearby living blocks, as long as the living blocks are not part of a group and other usual restrictions. They also do not respond to [[Minecraft:Build (item)|build]] commands.
**The contents can be opened by {{MC/Control|using}} it. Items are dropped out and converted to living blocks. [[Minecraft:Dispenser]]s and [[Minecraft:dropper]]s will instead do their usual action. Punching or killing the living block also ejects their contents. Ender chests make [[Minecraft:enderman]] sounds when picking up blocks
**The contents can be opened by {{control|using}} on the container. Items are dropped out and converted to living blocks. [[Minecraft:Dispenser]]s and [[Minecraft:dropper]]s instead do their usual action. Punching or killing the living block also ejects their contents. [[Minecraft:Ender chests]] make [[Minecraft:enderman]] sounds when picking up blocks
Certain combinations of living blocks may combine into structures (made of regular blocks). The shape is not important, the necessary blocks just have to get close to each other.
Certain combinations of living blocks may combine into structures (made of regular blocks). The shape is not important, the necessary blocks just have to get close to each other.
* Any [[Minecraft:door]] may combine with 23 other blocks to combine into a small 3x3x3 house. The other blocks can be, for example, [[Minecraft:dirt]], [[Minecraft:planks]], logs, [[Minecraft:cobblestone]] (but not [[Minecraft:stone]]).
* Any [[Minecraft:door]] may combine with 23 other blocks to combine into a small 3×3×3 house. The other blocks can be, for example, [[Minecraft:dirt]], [[Minecraft:planks]], [[Minecraft:logs]], [[Minecraft:cobblestone]] (but not [[Minecraft:stone]]).
** The blocks that can be used in the house are controlled by the [[Minecraft:Block tag (Java Edition)|tag]] {{MC/Cd|[[Minecraft:Java Edition 26w14a#builds_into_house|#builds_into_house]]}}.
** The blocks that can be used in the house are controlled by the [[Minecraft:Block tag (Java Edition)|tag]] {{cd|[[Minecraft:Java Edition 26w14a#builds_into_house|#builds_into_house]]}}.
* Bone meal can combine with [[Minecraft:sapling]]s to make trees.  
* [[Minecraft:Bone meal]] can combine with [[Minecraft:sapling]]s to make [[Minecraft:tree]]s.  
** This does not work with other plants, but most of these can be built to grow normally.
** This does not work with other [[Minecraft:plant]]s, but most of these can be built to grow normally.
* When 12 living [[Minecraft:obsidian]] and a living flint and steel are near each other, they will transform into a Nether portal
* When 12 living [[Minecraft:obsidian]] and a living [[Minecraft:flint and steel]] are near each other, they transform into a [[Minecraft:Nether portal]]
** This is despite the fact that a minimum of 10 obsidian is ordinarily required
** This is despite the fact that a minimum of 10 obsidian is ordinarily required
** This also does not match with the generated portal having 14 obsidian, as the corners are filled in with obsidian
** This also does not match with the generated portal having 14 obsidian, as the corners are filled in with obsidian
** The flint and steel is entirely consumed even though ordinarily it would have 64 uses before breaking
** The flint and steel is entirely consumed even though ordinarily it would have 64 uses before breaking
** Nether portals can still be constructed out of ordinary obsidian blocks and lit
** Nether portals can still be constructed out of ordinary obsidian blocks and lit
* When living End portal frames and living eyes of ender get close to each other, they may combine.
* When living [[Minecraft:End portal frames]] and living [[Minecraft:eyes of ender]] get close to each other, they may combine.
** When at least 12 living end portal frames with eyes are near each other, they will transform into an [[Minecraft:End portal]] (made of regular blocks).
** When at least 12 living end portal frames with eyes are near each other, they transform into an [[Minecraft:End portal]] (made of regular blocks).
* Golems and the [[Minecraft:wither]] can all be constructed out of the usual blocks.
* [[Minecraft:Golem]]s and the [[Minecraft:wither]] can all be constructed out of the usual blocks.
** The wither skips its usual charge up.
** The wither skips its usual charge up.
** The copper chest created with a copper golem is a living block, not a regular one.
** The [[Minecraft:copper chest]] created with a [[Minecraft:copper golem]] is a living block, not a regular one.
* 272 cobblestone, 16 glass, and 4 [[Minecraft:torch]]es (or 4 copper torches or 4 soul torches) combine into a 9x6x9 structure with a single 2-block gap for an entrance, 4 glass skylights, and one torch on each wall.
* 272 cobblestone, 16 glass, and 4 [[Minecraft:torch]]es (or 4 [[Minecraft:copper torch]]es or 4 [[Minecraft:soul torch]]es) combine into a 9×6×9 structure with a single 2-block gap for an entrance, 4 glass skylights, and one torch on each wall.


* Similarly when 8 living iron bars are nearby, they may randomly turn into a living iron trap. 8 copper bars may likewise turn into a living copper trap.
* Similarly when 8 living [[Minecraft:iron bars]] are nearby, they may randomly turn into a living [[Minecraft:iron trap]]. 8 [[Minecraft:copper bars]] may likewise turn into a living [[Minecraft:copper trap]].
** These kinds of living blocks relentlessly pursue the player, regardless of distance or even gamemode.
** These kinds of living blocks relentlessly pursue the player, regardless of distance or even [[Minecraft:gamemode]].
** When they make contact with the player, they create a 3x3x3 structure out of iron/copper bars that entirely encloses the player, except on the bottom. This can potentially destroy other blocks.
** When they make contact with the player, they create a 3×3×3 structure out of iron/copper bars that entirely encloses the player, except on the bottom. This can potentially destroy other (regular) blocks.
** Can still be commanded despite this apparently hostile behavior, but will resume pursuit afterwards.
** Can still be commanded despite this apparently hostile behavior, but resume pursuit afterward.
*** Consequently, they can be neutralized by commanding them to build, turning them into regular blocks.
*** Consequently, they can be neutralized by commanding them to build, turning them into regular blocks.
* Doors always appear as the bottom half only, even when instructed to "build" converting back into regular blocks, except by the above process.
* Doors always appear as the bottom half only, even when instructed to "build" converting back into regular blocks, except by the above process.
* Living light source blocks function as expected.
* Living light source blocks function as expected.
{{MC/Control|use|text=Interact}} with living blocks (using Punch, Craft, or Highlight) to use an item's normal {{MC/Control|use}} functionality, if it has any.
{{control|use|text=Interact}} with living blocks (using Punch, Craft, or Highlight) to use an item's normal {{control|use}} functionality, if it has any.
* [[Minecraft:Food]] can be eaten
* [[Minecraft:Food]] can be eaten
** When a [[Minecraft:potion]] or milk bucket is consumed this way, the container disappears too.
** When a [[Minecraft:potion]] or [[Minecraft:milk bucket]] is consumed this way, the container disappears too.
* Eyes of ender can be thrown
* [[Minecraft:Eyes of ender]] can be thrown
* Ender pearls will teleport the player somewhere random without being consumed
* [[Minecraft:Ender pearl]]s teleport the player somewhere random without being consumed
* Interacting with a living [[Minecraft:boat]] or [[Minecraft:minecart]] item will turn it into a normal boat/minecart (only on [[Minecraft:rail]]s for minecarts)
* Interacting with a living [[Minecraft:boat]] or [[Minecraft:minecart]] item turns it into a normal boat/minecart (only on [[Minecraft:rail]]s for minecarts)
* [[Minecraft:Lava Bucket|Lava]] and water buckets (including [[Minecraft:bucket]]s with mobs inside) will place the appropriate liquid, ejecting an empty bucket off to the side
* [[Minecraft:Lava Bucket|Lava]] and [[Minecraft:water bucket]]s (including [[Minecraft:bucket]]s with mobs inside) place the appropriate liquid, ejecting an empty bucket off to the side


Some items do not activate in this way but activate randomly on their own:
Some items do not activate in this way but activate randomly on their own:
* Flint and steel sets fire as it moves. Fire charges do likewise but are consumed.
* Flint and steel sets fire as it moves. Fire charges do likewise but are consumed.
** This can be used to access the Nether through lighting a portal made of regular blocks of obsidian without consuming the flint and steel
** This can be used to access the Nether through lighting a portal made of regular blocks of obsidian without consuming the flint and steel
* Bows and crossbows shoot automatically when commanded to attack and provided with arrows nearby.
* [[Minecraft:Bows]] and [[Minecraft:crossbows]] shoot automatically when commanded to attack and provided with arrows nearby.
** Arrows try to move near bows and crossbows.
** Arrows try to move near bows and crossbows.
* Hoes will randomly till nearby blocks
* Hoes randomly till nearby blocks
* Axes will randomly strip nearby blocks
* Axes randomly strip nearby blocks
* Shovels will randomly transform nearby blocks
* Shovels randomly transform nearby blocks


Some items will not do their intended function when {{MC/Control|interact|text=interacting}} with them:
Some items do not perform their intended function when {{control|interact|text=interacting}} with them:
* Splash potions
* [[Minecraft:Splash potions]]
* Empty maps
* [[Minecraft:Empty map]]s
* Fishing rods
* [[Minecraft:Fishing rod]]s
* Carrot on a stick and warped fungus on a stick
* [[Minecraft:Carrot on a stick]] and [[Minecraft:warped fungus on a stick]]
* Goat horns
* [[Minecraft:Goat horns]]
Other items also have special behavior:
Other items also have special behavior:
* Living weapons do more attack damage matching their usual properties.
* Living [[Minecraft:weapons]] do more attack damage matching their usual properties.
* Living tools can be used to mine.
* Living [[Minecraft:tools]] can be used to mine.
* Living [[Minecraft:armor]] may equip itself to nearby compatible entities. After that, it functions completely normally.  
* Living [[Minecraft:armor]] may equip itself to nearby compatible [[Minecraft:entities]]. After that, it functions completely normally.  
<!--** However, the only way to remove it (without removing the action item from the hotbar, changing to creative mode to access the inventory or by commands) is to break it.-->
<!--** However, the only way to remove it (without removing the action item from the hotbar, changing to creative mode to access the inventory or by commands) is to break it.-->
** It will not replace any armor already present.
** It does not replace any armor already present.
** [[Minecraft:Elytra]] cannot be equipped
** [[Minecraft:Elytra]] cannot be equipped
** Chests cannot be equipped onto donkeys/mules/llamas
** Chests cannot be equipped onto donkeys/mules/llamas
* Elytra launch any colliding living blocks upward
* Elytra launch any colliding living blocks upward
* [[Minecraft:TNT]] will ignite as usual when set on fire or broken. It will also ignite when killed, with a shorter than usual ignition time.
* [[Minecraft:TNT]] ignites as usual when set on fire or broken. It also ignites when killed, with a shorter than usual ignition time.
* Cows, [[Minecraft:pig]]s, and sheep will be tempted by their usual food items in living form (controlled by block tags).
* [[Minecraft:Cow]]s, [[Minecraft:pig]]s, and [[Minecraft:sheep]] are tempted by their usual food items in living form (controlled by block tags).
* [[Minecraft:Snow]] (not snow block) can be rolled around on non-living snow and it will absorb it and grow taller each time it lays flat on the surface.
* [[Minecraft:Snow]] (not snow block) can be rolled around on non-living snow, absorbing the snow and growing taller each time it lays flat on the surface.
* Living buckets that enter water sources, lava sources, or powder snow will fill with the appropriate contents, consuming the liquid/powder snow.
* Living buckets that enter water sources, lava sources, or powder snow fill with the appropriate contents, consuming the liquid/powder snow.
* Living concrete powder that enters water (source blocks only) will convert into living concrete, consuming the water.
* Living [[Minecraft:concrete powder]] that enters water (source blocks only) converts into living concrete, consuming the water.


== Sounds ==
== Sounds ==
{{MC/Empty Section}}
=== Generic ===
{{Sound table/Block/Gravel/JE}}


== Data values ==
== Data values ==
=== Entity data ===
=== Entity data ===
{{MC/El|java}}:
{{el|java}}:
{{MC/Main|Entity format}}
{{main|Entity format}}


<section begin="entity data" /><div class="treeview">
<section begin="entity data" /><div class="treeview">
* {{MC/Nbt|compound}} Entity data
* {{nbt|compound}} Entity data
** {{MC/Nbt inherit/entity}}
** {{nbt inherit/entity}}
** {{MC/Nbt|int array|owner}}: the [[Minecraft:UUID]] of the player owning the block (only if it is part of a group), if set then this is the only player that can command it
** {{nbt|int array|owner}}: the [[Minecraft:UUID]] of the player owning the block (only if it is part of a group), if set then this is the only player that can command it
** {{MC/Nbt|compound|item}}: the item or block the living block represents
** {{nbt|compound|item}}: the item or block the living block represents
*** {{MC/Nbt inherit/item}}
*** {{nbt inherit/item}}
** {{MC/Nbt|boolean|pinned}}: if true, this living block will not respond to commands and will not move except by gravity or knockback
** {{nbt|boolean|pinned}}: if true, this living block does not respond to commands and does not move except by gravity or knockback
** {{MC/Nbt|float|health}}: the health of the block
** {{nbt|float|health}}: the health of the block
** {{MC/Nbt|int|despawn_ticks}}: initially 6000 (5 minutes). Counts down when no player is within 50 blocks. However, it is allowed to count down to negative values, and nothing happens.
** {{nbt|int|despawn_ticks}}: initially 6000 (5 minutes). Counts down when no player is within 50 blocks. However, it is allowed to count down to negative values, and nothing happens.
** {{MC/Nbt|float|max_health}}: the maximum amount of health of the block
** {{nbt|float|max_health}}: the maximum amount of health of the block
** {{MC/Nbt|int array|commander}}: the [[Minecraft:UUID]] of the player commanding the block
** {{nbt|int array|commander}}: the [[Minecraft:UUID]] of the player commanding the block
** {{MC/Nbt|boolean|selected}}: true or false (1 or 0), if the block is being selected for an action
** {{nbt|boolean|selected}}: true or false (1 or 0), if the block is being selected for an action
** {{MC/Nbt|string|group}}: the name of the group, such as <code>red</code>, <code>blue</code>, <code>lime</code>, <code>yellow</code>, <code>purple</code>, or <code>aqua</code> (defaults to <code>none</code>)
** {{nbt|string|group}}: the name of the group, such as <code>red</code>, <code>blue</code>, <code>lime</code>, <code>yellow</code>, <code>purple</code>, or <code>aqua</code> (defaults to <code>none</code>)
** {{MC/Nbt|compound|container_behavior_data}}
** {{nbt|compound|container_behavior_data}}
*** {{MC/Nbt|list|Items}}: the items in the container
*** {{nbt|list|Items}}: the items in the container
**** {{MC/Nbt inherit/item}}
**** {{Nbt inherit/item}}
</div><section end="entity data" />
</div><section end="entity data" />


== Advancements ==
== Advancements ==
{{MC/Load advancements|Mine a Block;Integrated Crafting Environment;Seek Shelter;You require additional...;Random Access Material;Tiny House, Assemble!;Nether-field Crafting;Do a Barrel Roll!;Monster Hunter (With Friends);You're Cookin';Do a Barrel Roll! Do it! Do it! Do it in the Nether!;Monsters Hunted;Never Give Up! Trust Your Instincts!;Large Living Blocks Model}}
{{load advancements|Large Living Blocks Model|page=Java Edition 26w14a}}
 
Advancements that apply to all mobs:
{{collapse|content={{MC/Load advancements|Take Aim;Arbalistic;A Throwaway Joke;Adventure;Over-Overkill;Mob Kabob}}
}}


== Issues ==
== Issues ==
{{April Fools issue list}}
{{April Fools issue list}}


== Gallery ==
{{MC/Empty Section}}


== Navigation ==
== Navigation ==
{{MC/Navbox entities|Joke}}
{{Navbox entities|Joke}}
{{MC/Navbox jokes|26w14a}}
{{Navbox jokes|26w14a}}
[[Category:Joke mobs]]
[[Category:Joke mobs]]


ja:Living_Block
[[Minecraft:ja:Living_Block]]
zh:活化方块
[[Minecraft:zh:活化方块]]

Latest revision as of 11:07, 4 September 2026

Template:Confuse

Template:Joke feature Template:Infobox entity Living blocks are Minecraft:mobs meant to represent blocks, present only in Minecraft:26w14a.

Spawning

Living blocks span most of the actions that previously generated an Minecraft:item entity, including:

Similar to the behavior of items entity to be destroyed, destroying a living block container, such as a Minecraft:shulker box, Minecraft:chest, or Minecraft:bundle, spawns the living blocks that items were inside. Some items from the living block container are also dropped as living block when attacking the living block container.

In some cases where items were generated in the inventory, they now generate living blocks. These are:

Converting

Living blocks are also generated by procedures that previously transformed items into new items when used in the inventory; now, living block behaviors generate new living blocks, such as:

Other conversions mimic block behaviors, which are:

Living Minecraft:iron bars can form living Minecraft:iron traps, and living Minecraft:copper bars can form living Minecraft:copper traps.

Monster spawners

Living Minecraft:end portal frame monster spawners naturally generate in end portal rooms in Minecraft:strongholds, replacing the Minecraft:silverfish spawner. Groups of up to 4 living end portal frame are spawned at a time until a total of 12 are reached near the spawner. More living end portal frame may be generated if the living end portal frames are moved away.

Drop

On death

Living blocks drop the result of a one-item recipe if the item associated with the living block is used. For example, a living Minecraft:oak log drops four living Minecraft:oak planks, since with exactly one oak log can craft four oak planks.

Living block containers also drop the items that are in their internal inventory.

Behavior

Living blocks stay still until commanded to do something. When commanded, they roll (if they are a block) or fly (if they are an item).

Replacing item entity

The Minecraft:item entity has been removed, and in many instances where it was previously used, living blocks is now used instead.

Drop

Previously, when an item dropped from the inventory, a container, etc., an item entity was created on the ground. Now the behavior is different and depends on the item in question:

  • If it's an action item, nothing happens.
  • If it's a spawn egg, the related mob is spawned.
  • Otherwise, it creates a living block.
    • The number of living blocks created is equal to the number of items dropped.
    • Each block is spawned next to the previous one in an random horizontal direction.
      • If there is a collision at the initial spawn location, the block searches for a new spawn point in a 1x5x7 + 7x5x1 area. The initial position is at the bottom of this area at its horizontal center.
        • First, the block checks along the Y-axis. If no positions are available, it then checks horizontally (randomly but prioritizes blocks closer to the original position).
        • If it cannot find a valid position, it spawns at the original position regardless.
    • If the item was dropped by a player, the living block considers that player as its owner and is selected.

Special properties

Template:Main

Some living blocks have special properties:

Certain combinations of living blocks may combine into structures (made of regular blocks). The shape is not important, the necessary blocks just have to get close to each other.

  • Similarly when 8 living Minecraft:iron bars are nearby, they may randomly turn into a living Minecraft:iron trap. 8 Minecraft:copper bars may likewise turn into a living Minecraft:copper trap.
    • These kinds of living blocks relentlessly pursue the player, regardless of distance or even Minecraft:gamemode.
    • When they make contact with the player, they create a 3×3×3 structure out of iron/copper bars that entirely encloses the player, except on the bottom. This can potentially destroy other (regular) blocks.
    • Can still be commanded despite this apparently hostile behavior, but resume pursuit afterward.
      • Consequently, they can be neutralized by commanding them to build, turning them into regular blocks.
  • Doors always appear as the bottom half only, even when instructed to "build" converting back into regular blocks, except by the above process.
  • Living light source blocks function as expected.

Template:Control with living blocks (using Punch, Craft, or Highlight) to use an item's normal Template:Control functionality, if it has any.

Some items do not activate in this way but activate randomly on their own:

  • Flint and steel sets fire as it moves. Fire charges do likewise but are consumed.
    • This can be used to access the Nether through lighting a portal made of regular blocks of obsidian without consuming the flint and steel
  • Minecraft:Bows and Minecraft:crossbows shoot automatically when commanded to attack and provided with arrows nearby.
    • Arrows try to move near bows and crossbows.
  • Hoes randomly till nearby blocks
  • Axes randomly strip nearby blocks
  • Shovels randomly transform nearby blocks

Some items do not perform their intended function when Template:Control with them:

Other items also have special behavior:

  • Living Minecraft:weapons do more attack damage matching their usual properties.
  • Living Minecraft:tools can be used to mine.
  • Living Minecraft:armor may equip itself to nearby compatible Minecraft:entities. After that, it functions completely normally.
    • It does not replace any armor already present.
    • Minecraft:Elytra cannot be equipped
    • Chests cannot be equipped onto donkeys/mules/llamas
  • Elytra launch any colliding living blocks upward
  • Minecraft:TNT ignites as usual when set on fire or broken. It also ignites when killed, with a shorter than usual ignition time.
  • Minecraft:Cows, Minecraft:pigs, and Minecraft:sheep are tempted by their usual food items in living form (controlled by block tags).
  • Minecraft:Snow (not snow block) can be rolled around on non-living snow, absorbing the snow and growing taller each time it lays flat on the surface.
  • Living buckets that enter water sources, lava sources, or powder snow fill with the appropriate contents, consuming the liquid/powder snow.
  • Living Minecraft:concrete powder that enters water (source blocks only) converts into living concrete, consuming the water.

Sounds

Generic

Template:Sound table/Block/Gravel/JE

Data values

Entity data

Template:El: Template:Main

<section begin="entity data" />

<section end="entity data" />

Advancements

Template:Load advancements

Issues

Template:April Fools issue list


Navigation

Template:Navbox entities Template:Navbox jokes

Minecraft:ja:Living_Block Minecraft:zh:活化方块