Minecraft:Living Block
More actions
Template:Confuse Template:Wip Template:Joke feature Template:Infobox entity Living blocks are Minecraft:mobs meant to represent blocks in 26w14a.
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 Template:Control on a block.
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).
Replace item entity
The 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.
- In reality, this behavior is defined by the component Template:DCL
- The item Template:Cd is dropped as a live block from the bat spawn egg and not as a bat.
- The item Template:Cd is dropped as a bat and not as a living stone.
- In reality, this behavior is defined by the component Template:DCL
- 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 randon horizontally 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.
- 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.
- If it cannot find a valid position, it spawns at the original position.
- 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 the item was dropped by a player, the living block considers that player as its owner and is selected.
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:anvils 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:glass can take fall damage
- Living Minecraft:levers can be toggled, and will also toggle themselves at random.
- Living Minecraft:beds can be slept in
- The player’s view will move and even rotate with it
- The respawn point will only be set by actually sleeping in it, interacting with it is not sufficient
- The respawn point will not move around with the bed
- Destroying the bed does not remove the respawn point
- Living Minecraft:furnaces, blast furnaces, Minecraft:smokers, and Minecraft:campfires will smelt/cook nearby compatible living blocks automatically (no fuel needed)
- Living Minecraft:chests, Minecraft:barrels, 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 build commands.
- The contents can be opened by Template:Control it. Items are dropped out and converted to living blocks. Minecraft:Dispensers and Minecraft:droppers 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
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).
- The blocks that can be used in the house are controlled by the tag Template:Cd.
- Bone meal can combine with Minecraft:saplings to make trees.
- This does not work with other plants, 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
- 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
- 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
- When living End portal frames and living 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).
- Golems and the Minecraft:wither can all be constructed out of the usual blocks.
- The wither skips its usual charge up.
- The copper chest created with a copper golem is a living block, not a regular one.
- 272 cobblestone, 16 glass, and 4 Minecraft:torches (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.
- 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.
- These kinds of living blocks relentlessly pursue the player, regardless of distance or even 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.
- Can still be commanded despite this apparently hostile behavior, but will resume pursuit afterwards.
- 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.
- Minecraft:Food can be eaten
- When a Minecraft:potion or milk bucket is consumed this way, the container disappears too.
- Eyes of ender can be thrown
- Ender pearls will 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:rails for minecarts)
- Lava and water buckets (including Minecraft:buckets with mobs inside) will 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:
- 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
- Bows and crossbows shoot automatically when commanded to attack and provided with arrows nearby.
- Arrows try to move near bows and crossbows.
- Hoes will randomly till nearby blocks
- Axes will randomly strip nearby blocks
- Shovels will randomly transform nearby blocks
Some items will not do their intended function when Template:Control with them:
- Splash potions
- Empty maps
- Fishing rods
- Carrot on a stick and warped fungus on a stick
- Goat horns
Other items also have special behavior:
- Living weapons do more attack damage matching their usual properties.
- Living tools can be used to mine.
- Living Minecraft:armor may equip itself to nearby compatible entities. After that, it functions completely normally.
- It will 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 will ignite as usual when set on fire or broken. It will also ignite when killed, with a shorter than usual ignition time.
- Cows, Minecraft:pigs, and sheep will be 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.
- Living buckets that enter water sources, lava sources, or powder snow will 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.
Sounds
Data values
Entity data
<section begin="entity data" />
- Template:Nbt Entity data
- Template:Nbt inherit/entity
- Template:Nbt: 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
- Template:Nbt: the item or block the living block represents
- Template:Nbt: if true, this living block will not respond to commands and will not move except by gravity or knockback
- Template:Nbt: the health of the block
- Template:Nbt: 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.
- Template:Nbt: the maximum amount of health of the block
- Template:Nbt: the Minecraft:UUID of the player commanding the block
- Template:Nbt: true or false (1 or 0), if the block is being selected for an action
- Template:Nbt: the name of the group, such as
red,blue,lime,yellow,purple, oraqua(defaults tonone) - Template:Nbt
- Template:Nbt: the items in the container
<section end="entity data" />
Advancements
Advancements that apply to all mobs: Template:Collapse
Issues
Gallery
Template:Navbox entities Template:Navbox jokes
ja:Living_Block zh:活化方块