Minecraft:Block states
More actions
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Block states (also known as block properties)Template:Note are extra pieces of data that further define a Minecraft:block, such as how it appears or behaves.
Template:IN, there are also aux values (also known as Metadata) to define a block. Aux values are in the format of binary flags, which basically match the block states one-to-one, and they are accessible in decimal number in Minecraft:commands. However, aux values are intended to be deprecated, and newly added blocks or block states no longer support aux values.
Template:IN, there are also fluid states, that further define a Minecraft:fluid as to how it behaves.
List of block states
age
Tracks the age of plants to handle growth and of fire to handle spread.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | |
| Integer (Template:Code to Template:Code) | Template:BlockLink |
| Integer (Template:Code to Template:Code) | |
| Integer (Template:Code to Template:Code) | |
| Integer (Template:Code to Template:Code) | Template:BlockLink |
| Integer (Template:Code to Template:Code) | |
| Integer (Template:Code to Template:Code) | |
| Integer (Template:Code to Template:Code) |
attached
Whether the tripwire hook is connected to a valid tripwire circuit or not. For hanging signs, whether the sign is hanging from a single point or not.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
|
attachment
How this block is attached to the block it is on.
| State value | Blocks |
|---|---|
| Template:BlockLink |
axis
What axis the block is oriented to.
| State value | Blocks |
|---|---|
| |
| Template:BlockLink |
berries
Whether this block contains any berries.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
bites
The number of bites taken from the cake.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink |
bloom
Whether a sculk catalyst is currently blooming.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
bottom
Whether this scaffolding is floating (shows the bottom) or a pale moss carpet is only showing the upper vines.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
can_summon
Whether this shrieker can summon a Minecraft:warden if triggered.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
candles
How many candles are contained within this block.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink (any) |
charges
Tracks the remaining uses of respawn anchors.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink |
conditional
Whether or not the command block is conditional.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink (any variant) |
copper_golem_pose
The pose of a copper golem statue.
| State value | Blocks |
|---|---|
| Template:BlockLink (any) |
cracked
Whether or not a decorated pot produces shattering sound when broken.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
crafting
Whether a crafter is currently crafting.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
creaking_heart_state
The current state of a creaking heart.
| State value | Blocks |
|---|---|
| Template:BlockLink |
delay
The amount of time between receiving a signal and responding.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink |
disarmed
Whether the tripwire is broken using shears or not.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
distance
The distance from a base block.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink |
| Integer (Template:Code to Template:Code) | Template:BlockLink (any) |
down
Determines whether something is below the block.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
drag
Determines whether the bubble column is a whirlpool or upwards.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
dusted
The dusting progress of a Minecraft:suspicious block.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) |
east
Determines whether something is on the east side of the block.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
|
| Template:BlockLink | |
eggs
The amount of eggs in this block.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink |
enabled
Whether or not the hopper can collect and transfer items.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
extended
Whether or not the piston is extended.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
eye
Whether the frame contains an eye of ender.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
face
What side of a block the attached block is on.
| State value | Blocks |
|---|---|
facing
For most blocks, what direction the block faces.
For wall-attached Minecraft:bells as well as Minecraft:cocoa, the opposite is true.<ref>Template:Bug</ref>
falling
Whether a fluid is falling.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
flower_amount
The amount of flowers in a group of pink petals or wildflowers.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) |
half
For tall plants and doors, which half of the door or plant occupies the block space. For trapdoors and stairs, what part of the block space they are in.
| State value | Blocks |
|---|---|
|
hanging
Whether or not the lantern or mangrove propagule hangs on the ceiling.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
has_book
Whether or not this lectern holds a book.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
has_bottle_0
Whether or not a bottle is in slot 1 of the brewing stand.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
has_bottle_1
Whether or not a bottle is in slot 2 of the brewing stand.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
has_bottle_2
Whether or not a bottle is in slot 3 of the brewing stand.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
has_record
True when the jukebox contains a music disc.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
hatch
Determines how close an egg is to hatching; starts at 0 and is randomly incremented.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) |
hinge
Identifies the side the hinge is on (when facing the same direction as the door's inside).
| State value | Blocks |
|---|---|
| Template:BlockLink (any) |
honey_level
The level of honey inside the beehive and bee nest.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) |
in_wall
If true, the gate is lowered by three pixels, to accommodate attaching more cleanly with walls.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink (any) |
instrument
The instrument sound the note block makes when it gets powered or used.
inverted
Whether the daylight detector detects light (false) or darkness (true).
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
layers
How many layers of snow are on top of each other.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink |
leaves
How big the leaves are on this bamboo.
| State value | Blocks |
|---|---|
| Template:BlockLink |
level
For cauldrons, composters, and fluids, describes how full the block is. For lights, describes the light level produced.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink (Minecraft:water and powder snow) |
| Integer (Template:Code to Template:Code) | Template:BlockLink |
| Integer (Template:Code to Template:Code) |
lit
Whether the block is turned on or off.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
locked
Whether the repeater can change it is powered state (false) or not (true).
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
mode
The mode the comparator or structure block is in.
| State value | Blocks |
|---|---|
| Template:BlockLink | |
| Template:BlockLink | |
| Template:BlockLink |
moisture
How wet the farmland is.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink |
natural
If a creaking heart is naturally generated, instead of placed by a player.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
north
Determines whether something is on the north side of the block.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
|
| Template:BlockLink | |
note
The note the note block plays when it gets powered.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink |
occupied
If there's already a player in this bed.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink (any) |
ominous
Whether a Minecraft:trial spawner or Minecraft:vault is ominous.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
open
Whether the door is open or closed.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
|
orientation
Direction the arrows point, followed by the position of the line face.
| State value | Blocks |
|---|---|
part
Whether this is the foot or head end of the bed.
| State value | Blocks |
|---|---|
| Template:BlockLink (any) |
persistent
Whether leaves decay (false) or not (true)
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink (any) |
pickles
The amount of pickles in this block.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink |
power
The power level of Redstone emission.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) |
powered
Whether the block is powered.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
|
rotation
The rotation of standing heads, signs and banners.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) |
|
sculk_sensor_phase
Describes this sculk sensor's phase (whether it's active).
| State value | Blocks |
|---|---|
segment_amount
The amount of leaves in a group of leaf litter.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) | Template:BlockLink |
shape
The way this block connects to its neighbors.
| State value | Blocks |
|---|---|
| Template:BlockLink (any) | |
| Template:BlockLink |
short
Whether this piston head's arm is 4/16th of a block shorter.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
shrieking
Whether this sculk shrieker is shrieking.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
side_chain
The current state of a vault.
| State value | Blocks |
|---|---|
| Template:BlockLink |
signal_fire
Whether this campfire has higher smoke or not.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
slot_0_occupied
Whether slot 0 is occupied by a book.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
slot_1_occupied
Whether slot 1 is occupied by a book.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
slot_2_occupied
Whether slot 2 is occupied by a book.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
slot_3_occupied
Whether slot 3 is occupied by a book.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
slot_4_occupied
Whether slot 4 is occupied by a book.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
slot_5_occupied
Whether slot 5 is occupied by a book.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
snowy
Whether this block uses the snowy side texture.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
south
Determines whether something is on the south side of the block.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
|
| Template:BlockLink | |
stage
Whether this sapling is ready to grow.
| State value | Blocks |
|---|---|
| Integer (Template:Code to Template:Code) |
thickness
The thickness of pointed dripstone.
| State value | Blocks |
|---|---|
| Template:BlockLink |
tilt
The tilt stage of a big dripleaf.
| State value | Blocks |
|---|---|
| Template:BlockLink |
tip
Whether pale hanging moss is at the bottom.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
trial_spawner_state
The current state of a trial spawner.
| State value | Blocks |
|---|---|
| Template:BlockLink |
triggered
Whether this block has been activated.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
type
Determines the variant of this block.
| State value | Blocks |
|---|---|
| Template:BlockLink (any) |
unstable
Whether the TNT ignites when punched or not.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) | Template:BlockLink |
up
Determines whether something is above the block.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
vault_state
The current state of a vault.
| State value | Blocks |
|---|---|
| Template:BlockLink |
vertical_direction
The vertical directon of pointed dripstone.
| State value | Blocks |
|---|---|
| Template:BlockLink |
waterlogged
Whether the block has water in it.
west
Determines whether something is on the west side of the block.
| State value | Blocks |
|---|---|
| Boolean (Template:Code or Template:Code) |
|
| Template:BlockLink | |
| Template:BlockLink (any) |
List of fluid states
falling
Whether a fluid is falling.
| State value | Fluids |
|---|---|
| Boolean (Template:Code or Template:Code) |
|
level
Determines the height of the fluid, 8 when the fluid is falling.
| State value | Fluids |
|---|---|
| Integer (Template:Code to Template:Code) |
History
Notes
References
Minecraft:de:Blockzustand Minecraft:es:Estados de bloque Minecraft:fr:États de blocs Minecraft:ja:ブロック状態 Minecraft:ko:블록 상태 Minecraft:pt:Estados de bloco Minecraft:ru:Состояния блоков Minecraft:uk:Стани блока Minecraft:zh:方块状态