Minecraft:Living Block: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 30: | Line 30: | ||
== Spawning == | == Spawning == | ||
Living blocks span most of the actions that previously generated an item entity, | 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]]) | * Dropping an item (with some [[#Replace item entity|exceptions]]) | ||
* | * Killing an entity that drops loot or equipment | ||
** Living blocks can also drop living | ** Living blocks can also drop living blocks, see {{Slink||Drop}} | ||
* Other generations of [[Minecraft:loot table]] | * Other generations of [[Minecraft:loot table]]s | ||
* When a [[Minecraft:falling block]] dropped as an item | * When a [[Minecraft:falling block]] is dropped as an item | ||
* When a [[Minecraft:lead]] breaks. | * 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: | |||
In some cases where items were generated in the inventory, they now generate living blocks. These are: | |||
* {{cmd|give}} command | * {{cmd|give}} command | ||
* | * A player in Creative mode using {{control|pick block}} on a block | ||
** But | ** But using {{control|pick block}} on an entity still generates an item in the inventory. | ||
=== Converting === | === 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: | 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]] | * Crafting using a [[Minecraft:Crafting Grid|crafting grid]] | ||
* | * Smelting a living block | ||
* | * Filling a living [[Minecraft:bucket]] | ||
Other conversions | Other conversions mimic block behaviors, which are: | ||
* Living [[Minecraft:concrete powder]], when in contact with water, transforms into living [[Minecraft:concrete]] | * 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: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. | 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 === | === Monster spawners === | ||
Living [[Minecraft:end portal frame]] monster spawners naturally generate in end portal rooms in [[Minecraft:strongholds]], | 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 == | == Drop == | ||
| Line 72: | Line 73: | ||
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). | 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. | The [[Minecraft:item entity]] has been removed, and in many instances where it was previously used, living blocks is now used instead. | ||
| Line 81: | 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. | ||
** | ** Technically, this behavior is defined by the component {{DCL|minecraft=1|entity_data}}, for example: | ||
*** The item {{cd|bat_spawn_egg[!minecraft:entity_data]}} is dropped as a | *** 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 | ** 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 | *** 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 | **** 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. | ||
| Line 102: | Line 103: | ||
*Living [[Minecraft:lever]]s can be toggled, and 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 moves and even | **The player's view moves and even rotates with it | ||
**The respawn point is set only by 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 does 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, [[Minecraft:blast furnace]]s, [[Minecraft:smoker]]s, and [[Minecraft:campfire]]s 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 [[Minecraft:container]]s pick up nearby living blocks, as long as the living blocks are not part of a group and | *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 {{control|using}} | **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 3×3×3 house. The other blocks can be, for example, [[Minecraft:dirt]], [[Minecraft:planks]], [[Minecraft: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]]). | ||
| Line 128: | Line 129: | ||
* 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]]. | * 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]]. | ** 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 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 resume pursuit afterward. | ** 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. | ||
Latest revision as of 11:07, 4 September 2026
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:
- Breaking a block that generates loot
- Breaking a container block
- Dropping an item (with some exceptions)
- Killing an entity that drops loot or equipment
- Living blocks can also drop living blocks, see Template:Slink
- Other generations of Minecraft:loot tables
- 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.
In some cases where items were generated in the inventory, they now generate living blocks. These are:
- Template:Cmd command
- A player in Creative mode using Template:Control on a block
- But using Template:Control 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 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 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.
- Technically, this behavior is defined by the component Template:DCL, for example:
- The item Template:Cd is dropped as a living Minecraft:bat spawn egg item and not as a Minecraft:bat
- The item Template:Cd is dropped as a bat and not as a living stone item
- Technically, this behavior is defined by the component Template:DCL, for example:
- 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 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.
- 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 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:anvils 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 Minecraft:fall damage
- Living Minecraft:levers can be toggled, and also toggle themselves at random.
- Living Minecraft:beds can be slept in
- The player's view moves and even rotates with it
- The respawn point is set only by sleeping in it, interacting with it is not sufficient
- The respawn point does not move around with the bed
- Destroying the bed does not remove the respawn point
- Living Minecraft:furnaces, Minecraft:blast furnaces, Minecraft:smokers, and Minecraft:campfires smelt/cook nearby compatible living blocks automatically (no fuel needed)
- Living Minecraft:chests, Minecraft:barrels, and other Minecraft:containers 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 build commands.
- The contents can be opened by Template:Control on the container. Items are dropped out and converted to living blocks. Minecraft:Dispensers and Minecraft:droppers 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.
- 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 tag Template:Cd.
- Minecraft:Bone meal can combine with Minecraft:saplings to make Minecraft:trees.
- This does not work with other Minecraft:plants, but most of these can be built to grow normally.
- 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 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 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 transform into an Minecraft:End portal (made of regular blocks).
- Minecraft:Golems and the Minecraft:wither can all be constructed out of the usual blocks.
- The wither skips its usual charge up.
- 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:torches (or 4 Minecraft:copper torches or 4 Minecraft:soul torches) 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 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.
- Minecraft:Food can be eaten
- When a Minecraft:potion or Minecraft:milk bucket is consumed this way, the container disappears too.
- Minecraft:Eyes of ender can be thrown
- Minecraft:Ender pearls teleport the player somewhere random without being consumed
- Interacting with a living Minecraft:boat or Minecraft:minecart item turns it into a normal boat/minecart (only on Minecraft:rails for minecarts)
- Lava and Minecraft:water buckets (including Minecraft:buckets 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:
- 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:
- Minecraft:Splash potions
- Minecraft:Empty maps
- Minecraft:Fishing rods
- Minecraft:Carrot on a stick and Minecraft:warped fungus on a stick
- Minecraft:Goat horns
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
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 does not respond to commands and does 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
Issues
Template:April Fools issue list