
This article is about values from
Minecraft: Java Edition since Java Edition 1.13. For values until Java Edition 1.12.2, see
/Pre-flattening. For values from Classic, see
/Classic. For values from Indev, see
/Indev.
Πρότυπο:Exclusive
These data values refer to the different types of blocks, items and other features on Java Edition and are used in many places in Minecraft. Block IDs are used to define blocks placed in the world. Item IDs are valid only for items (including items in chests and items dropped in the world). All block IDs that do not have a gray background in this page are also valid item IDs. There are also entity IDs for entities such as mobs and projectiles.
IDs[]
These IDs are in the namespaced ID format, with their [[Namespaced ID#minecraft namespace|Πρότυπο:Cd namespace]] omitted. The game accepts these Namespaced IDs either with or without the Πρότυπο:Cd prefix.
Blocks
Main article: Data values/Blocks
[edit]
Fluids[]
Fluid
|
Namespaced ID
|
Empty
|
Πρότυπο:Code
|
Flowing Lava
|
Πρότυπο:Code
|
Flowing Water
|
Πρότυπο:Code
|
Lava
|
Πρότυπο:Code
|
Water
|
Πρότυπο:Code
|
Effects
Main article: Data values/Effects
[edit]
Enchantments[]
Enchantment
|
Namespaced ID
|
Aqua Affinity
|
Πρότυπο:Code
|
Bane of Arthropods
|
Πρότυπο:Code
|
Curse of Binding
|
Πρότυπο:Code
|
Blast Protection
|
Πρότυπο:Code
|
Channeling
|
Πρότυπο:Code
|
Depth Strider
|
Πρότυπο:Code
|
Efficiency
|
Πρότυπο:Code
|
Feather Falling
|
Πρότυπο:Code
|
Fire Aspect
|
Πρότυπο:Code
|
Fire Protection
|
Πρότυπο:Code
|
Flame
|
Πρότυπο:Code
|
Fortune
|
Πρότυπο:Code
|
Frost Walker
|
Πρότυπο:Code
|
Impaling
|
Πρότυπο:Code
|
Infinity
|
Πρότυπο:Code
|
Knockback
|
Πρότυπο:Code
|
Looting
|
Πρότυπο:Code
|
Loyalty
|
Πρότυπο:Code
|
Luck of the Sea
|
Πρότυπο:Code
|
Lure
|
Πρότυπο:Code
|
Mending
|
Πρότυπο:Code
|
Multishot
|
Πρότυπο:Code
|
Piercing
|
Πρότυπο:Code
|
Power
|
Πρότυπο:Code
|
Projectile Protection
|
Πρότυπο:Code
|
Protection
|
Πρότυπο:Code
|
Punch
|
Πρότυπο:Code
|
Quick Charge
|
Πρότυπο:Code
|
Respiration
|
Πρότυπο:Code
|
Riptide
|
Πρότυπο:Code
|
Sharpness
|
Πρότυπο:Code
|
Silk Touch
|
Πρότυπο:Code
|
Smite
|
Πρότυπο:Code
|
Soul Speed
|
Πρότυπο:Code
|
Sweeping Edge
|
Πρότυπο:Code
|
Thorns
|
Πρότυπο:Code
|
Unbreaking
|
Πρότυπο:Code
|
Curse of Vanishing
|
Πρότυπο:Code
|
Biomes
Main article: Data values/Biomes
[edit]
Particles
Main article: Data values/Particles
[edit]
Dimensions[]
Dimension
|
Namespaced ID
|
Numeric ID
|
Overworld
|
Πρότυπο:Code
|
0
|
The Nether
|
Πρότυπο:Code
|
-1
|
The End
|
Πρότυπο:Code
|
1
|
Chunk generators[]
Used in the Buffet world type and internally when generating any world.
Namespaced ID
|
Image
|
Πρότυπο:Code
|
|
Πρότυπο:Code
|
|
Πρότυπο:Code
|
|
Biome sources[]
Used in the Buffet world type and internally when generating any world.
Namespaced ID
|
Image
|
Πρότυπο:Code
|
|
Πρότυπο:Code
|
|
Πρότυπο:Code
|
|
Πρότυπο:Code
|
|
Πρότυπο:Code
|
|
Structures[]
Name
|
Namespaced ID
|
Jungle pyramid
|
Πρότυπο:Code
|
Village
|
Πρότυπο:Code
|
End City
|
Πρότυπο:Code
|
Ruined Portal
|
Πρότυπο:Code
|
Igloo
|
Πρότυπο:Code
|
Stronghold
|
Πρότυπο:Code
|
Bastion Remnant
|
Πρότυπο:Code
|
Desert pyramid
|
Πρότυπο:Code
|
Nether Fossil
|
Πρότυπο:Code
|
Buried Treasure
|
Πρότυπο:Code
|
Woodland Mansion
|
Πρότυπο:Code
|
Shipwreck
|
Πρότυπο:Code
|
Ocean Monument
|
Πρότυπο:Code
|
Swamp hut
|
Πρότυπο:Code
|
Nether Fortress
|
Πρότυπο:Code
|
Pillager Outpost
|
Πρότυπο:Code
|
Ocean Ruins
|
Πρότυπο:Code
|
Mineshaft
|
mineshaft
|
Block states[]
age[]
Tracks the age of plants to handle growth and of fire to handle spread.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Bamboo
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Cocoa
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
- Nether Wart
- Beetroots
- Frosted Ice
- Sweet Berry Bush
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Chorus Flower
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
- Wheat Crops
- Pumpkin Stem
- Melon Stem
- Carrots
- Potatoes
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
- Fire
- Cactus
- Soul Fire
- Sugar Cane
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Kelp
|
attached[]
Whether the tripwire hook is connected to a valid tripwire circuit or not.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
|
attachment[]
How this block is attached to the block it is on.
State value
|
Blocks
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Bell
|
axis[]
What axis the block is oriented to.
State value
|
Blocks
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
- Log (including all variants, wood, and stripped versions of both logs and wood)
- Stem (including all variants, hypea, and stripped versions of both stems and hypea)
- Basalt (including polished basalt)
- Bone Block
- Chain
- Hay Bale
- Purpur Pillar
- Quartz Pillar
- Deepslate
|
- Πρότυπο:Code
- Πρότυπο:Code
|
Nether Portal
|
bites[]
The number of bites taken from the cake.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Cake
|
bottom[]
Whether this scaffolding is floating (shows the bottom).
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Scaffolding
|
charges[]
Tracks the remaining uses of respawn anchors.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Respawn Anchor
|
conditional[]
Whether or not the command block is conditional.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Command Block (any variant)
|
delay[]
The amount of time between receiving a signal and responding.
disarmed[]
Whether the tripwire is broken using shears or not.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Tripwire
|
distance[]
The distance from a base block.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Scaffolding
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Leaves (any)
|
down[]
Determines whether something is below the block.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
- Brown Mushroom Block
- Chorus Plant
- Mushroom Stem
- Red Mushroom Block
|
drag[]
Determine whether the bubble column is a whirlpool or upwards.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Bubble Column
|
east[]
Determines whether something is on the east side of the block.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
- Fence (any, including nether brick)
- Glass Pane (including all stained colors)
- Wall (any)
- Brown Mushroom Block
- Chorus Plant
- Fire
- Iron Bars
- Mushroom Stem
- Red Mushroom Block
- Soul Fire
- Tripwire
- Vines
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Redstone Dust
|
eggs[]
The amount of eggs in this block.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Turtle Egg
|
enabled[]
Whether or not the hopper can collect and transfer items.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Hopper
|
extended[]
Whether or not the piston is extended.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
|
eye[]
Whether the frame contains an eye of ender.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
End Portal Frame
|
face[]
What side of a block the attached block is on.
State value
|
Blocks
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
|
facing[]
For most blocks, what direction the block faces.
For wall-attached bells as well as cocoa, the opposite is true.[1]
State value
|
Blocks
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Hopper
|
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
|
- Πρότυπο:Code
- Πρότυπο:Code
|
- Door (any)
- Tall Seagrass
- Sunflower
- Lilac
- Rose Bush
- Peony
- Tall Grass
- Large Fern
|
- Πρότυπο:Code
- Πρότυπο:Code
|
- Stairs (any)
- Trapdoor (any, including iron)
|
hanging[]
Whether or not the lantern hangs on the ceiling.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Lantern
|
has_book[]
Whether or not this lectern holds a book.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Lectern
|
has_bottle_0[]
Whether or not a bottle is in slot 1 of the brewing stand.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Brewing Stand
|
has_bottle_1[]
Whether or not a bottle is in slot 2 of the brewing stand.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Brewing Stand
|
has_bottle_2[]
Whether or not a bottle is in slot 3 of the brewing stand.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Brewing Stand
|
has_record[]
True when the jukebox contains a music disc.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Jukebox
|
hatch[]
Determines how close an egg is to hatching; starts at 0 and is randomly incremented.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Turtle Egg
|
hinge[]
Identifies the side the hinge is on (when facing the same direction as the door's inside).
State value
|
Blocks
|
- Πρότυπο:Code
- Πρότυπο:Code
|
Door (any)
|
in_wall[]
If true, the gate is lowered by three pixels, to accommodate attaching more cleanly with walls.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Fence Gate (any)
|
instrument[]
The instrument sound the note block makes when it gets powered or used.
State value
|
Blocks
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Note Block
|
inverted[]
Whether the daylight detector detects light (false) or darkness (true).
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Daylight Detector
|
layers[]
How many layers of snow are on top of each other.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Snow
|
leaves[]
How big the leaves are on this bamboo.
State value
|
Blocks
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Bamboo
|
level[]
How much water or lava is in this block or cauldron.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Cauldron
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Composter
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
|
lit[]
Whether the block is turned on or off.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
|
locked[]
Whether the repeater can change it is powered state (false) or not (true).
mode[]
The mode the comparator or structure block is in.
moisture[]
How wet the farmland is.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Farmland
|
north[]
Determines whether something is on the north side of the block.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
- Fence (any, including nether brick)
- Glass Pane (including all stained colors)
- Wall (any)
- Brown Mushroom Block
- Chorus Plant
- Fire
- Iron Bars
- Mushroom Stem
- Red Mushroom Block
- Soul Fire
- Tripwire
- Vines
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Redstone Dust
|
note[]
The note the note block plays when it gets powered.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Note Block
|
occupied[]
If there's already a player in this bed.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Bed (any)
|
open[]
Whether the door is open or closed.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
|
orientation[]
Direction the arrows point, followed by the position of the line face.
State value
|
Blocks
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Jigsaw Block
|
part[]
Whether this is the foot or head end of the bed.
State value
|
Blocks
|
- Πρότυπο:Code
- Πρότυπο:Code
|
Bed (any)
|
persistent[]
Whether leaves decay (false) or not (true)
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Leaves (any)
|
pickles[]
The amount of pickles in this block.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
Sea Pickle
|
power[]
The power level of Redstone emission.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
- Redstone Dust
- Light Weighted Pressure Plate
- Heavy Weighted Pressure Plate
- Daylight Detector
|
powered[]
Whether the block is powered.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
|
rotation[]
The rotation of standing heads, signs and banners.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
- Banner (any non-wall variant)
- Mob head (any)
- Signs (any non-wall variant)
|
shape[]
The way this block connects to its neighbors.
State value
|
Blocks
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Stairs (any)
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Rail
|
short[]
Whether this piston head's arm is 4/16th of a block shorter
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
Piston Head
|
signal_fire[]
Whether this campfire has higher smoke or not.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
|
snowy[]
Whether this block uses the snowy side texture.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
- Grass Block
- Podzol
- Mycelium
|
south[]
Determines whether something is on the south side of the block.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
- Fence (any, including nether brick)
- Glass Pane (including all stained colors)
- Wall (any)
- Brown Mushroom Block
- Chorus Plant
- Fire
- Iron Bars
- Mushroom Stem
- Red Mushroom Block
- Soul Fire
- Tripwire
- Vines
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Redstone Dust
|
stage[]
Whether this sapling is ready to grow.
State value
|
Blocks
|
Integer (Πρότυπο:Code to Πρότυπο:Code)
|
- Sapling (any, including bamboo sapling)
- Bamboo
|
triggered[]
Whether this block has been activated.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
|
type[]
Determines the variant of this block.
State value
|
Blocks
|
- Πρότυπο:Code
- Πρότυπο:Code
|
- Piston Head
- Moving Piston
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Slab (any)
|
unstable[]
Whether the TNT explodes when punched or not.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
TNT
|
up[]
Determines whether something is above the block.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
- Wall (any)
- Brown Mushroom Block
- Chorus Plant
- Fire
- Mushroom Stem
- Red Mushroom Block
- Soul Fire
- Vines
|
waterlogged[]
Whether the block has water in it.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
- Coral (all non-block variants, including dead variants)
- Fence (any, including nether brick)
- Glass Pane (including all stained colors)
- Signs (all variants, including wall signs)
- Slab (any)
- Stairs (any)
- Trapdoor (any, including iron)
- Wall (any)
- Campfire
- Chain
- Chest
- Conduit
- Ender Chest
- Iron Bars
- Ladder
- Lantern
- Scaffolding
- Sea Pickle
- Soul Lantern
- Trapped Chest
|
west[]
Determines whether something is on the west side of the block.
State value
|
Blocks
|
Boolean (Πρότυπο:Code or Πρότυπο:Code)
|
- Fence (any, including nether brick)
- Glass Pane (including all stained colors)
- Wall (any)
- Brown Mushroom Block
- Chorus Plant
- Fire
- Iron Bars
- Mushroom Stem
- Red Mushroom Block
- Soul Fire
- Tripwire
- Vines
|
- Πρότυπο:Code
- Πρότυπο:Code
- Πρότυπο:Code
|
Redstone Dust
|
Protocol and data versions
Main article: Data values/Protocol and data versions
[edit]