Reason: Update to 1.19
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 resource location format, with their minecraft
namespace omitted. The game accepts these resource locations either with or without the minecraft:
prefix.
Blocks
Fluids[]
Fluid | Resource location |
---|---|
Empty | empty
|
![]() |
flowing_lava
|
![]() |
flowing_water
|
![]() |
lava
|
![]() |
water
|
Items
Entities
Effects
Enchantments[]
Enchantment | Resource location |
---|---|
Aqua Affinity | aqua_affinity
|
Bane of Arthropods | bane_of_arthropods
|
Curse of Binding | binding_curse
|
Blast Protection | blast_protection
|
Channeling | channeling
|
Depth Strider | depth_strider
|
Efficiency | efficiency
|
Feather Falling | feather_falling
|
Fire Aspect | fire_aspect
|
Fire Protection | fire_protection
|
Flame | flame
|
Fortune | fortune
|
Frost Walker | frost_walker
|
Impaling | impaling
|
Infinity | infinity
|
Knockback | knockback
|
Looting | looting
|
Loyalty | loyalty
|
Luck of the Sea | luck_of_the_sea
|
Lure | lure
|
Mending | mending
|
Multishot | multishot
|
Piercing | piercing
|
Power | power
|
Projectile Protection | projectile_protection
|
Protection | protection
|
Punch | punch
|
Quick Charge | quick_charge
|
Respiration | respiration
|
Riptide | riptide
|
Sharpness | sharpness
|
Silk Touch | silk_touch
|
Smite | smite
|
Soul Speed | soul_speed
|
Sweeping Edge | sweeping
|
Thorns | thorns
|
Unbreaking | unbreaking
|
Curse of Vanishing | vanishing_curse
|
Biomes
Particles
Dimensions[]
Dimension | Resource location | Numeric ID |
---|---|---|
Overworld | overworld
|
0 |
The Nether | the_nether
|
-1 |
The End | the_end
|
1 |
Chunk generators[]
Used in the Buffet world type and internally when generating any world.
Resource location | Image |
---|---|
noise
|
|
flat
|
|
debug
|
Biome sources[]
Used in the Buffet world type and internally when generating any world.
Resource location | Image |
---|---|
fixed
|
![]() |
checkerboard
|
![]() |
vanilla_layered
|
![]() |
the_end
|
![]() |
multi_noise
|
Really quite complicated, and can't be done justice with a single image |
Structures[]
Name | Resource location |
---|---|
Jungle pyramid | jungle_pyramid
|
Village | village
|
End City | endcity
|
Ruined Portal | ruined_portal
|
Igloo | igloo
|
Stronghold | stronghold
|
Bastion Remnant | bastion_remnant
|
Desert pyramid | desert_pyramid
|
Nether Fossil | nether_fossil
|
Buried Treasure | buried_treasure
|
Woodland Mansion | mansion
|
Shipwreck | shipwreck
|
Ocean Monument | monument
|
Swamp hut | swamp_hut
|
Nether Fortress | fortress
|
Pillager Outpost | pillager_outpost
|
Ocean Ruins | ocean_ruin
|
Mineshaft | mineshaft
|
Block states[]
age[]
Tracks the age of plants to handle growth and of fire to handle spread.
State value | Blocks |
---|---|
Integer (0 to 1 )
|
Bamboo |
Integer (0 to 2 )
|
Cocoa |
Integer (0 to 3 )
|
|
Integer (0 to 5 )
|
Chorus Flower |
Integer (0 to 7 )
|
|
Integer (0 to 15 )
|
|
Integer (0 to 25 )
|
Kelp |
attached[]
Whether the tripwire hook is connected to a valid tripwire circuit or not.
State value | Blocks |
---|---|
Boolean (false or true )
|
attachment[]
How this block is attached to the block it is on.
State value | Blocks |
---|---|
|
Bell |
axis[]
What axis the block is oriented to.
State value | Blocks |
---|---|
|
|
|
Nether Portal |
bites[]
The number of bites taken from the cake.
State value | Blocks |
---|---|
Integer (0 to 6 )
|
Cake |
bottom[]
Whether this scaffolding is floating (shows the bottom).
State value | Blocks |
---|---|
Boolean (false or true )
|
Scaffolding |
charges[]
Tracks the remaining uses of respawn anchors.
State value | Blocks |
---|---|
Integer (0 to 4 )
|
Respawn Anchor |
conditional[]
Whether or not the command block is conditional.
State value | Blocks |
---|---|
Boolean (false or true )
|
Command Block (any variant) |
delay[]
The amount of time between receiving a signal and responding.
State value | Blocks |
---|---|
Integer (1 to 4 )
|
Redstone Repeater |
disarmed[]
Whether the tripwire is broken using shears or not.
State value | Blocks |
---|---|
Boolean (false or true )
|
Tripwire |
distance[]
The distance from a base block.
State value | Blocks |
---|---|
Integer (0 to 7 )
|
Scaffolding |
Integer (1 to 7 )
|
Leaves (any) |
down[]
Determines whether something is below the block.
State value | Blocks |
---|---|
Boolean (false or true )
|
drag[]
Determines whether the bubble column is a whirlpool or upwards.
State value | Blocks |
---|---|
Boolean (false or true )
|
Bubble Column |
east[]
Determines whether something is on the east side of the block.
State value | Blocks |
---|---|
Boolean (false or true )
|
|
|
Redstone Dust |
|
Wall (any) |
eggs[]
The amount of eggs in this block.
State value | Blocks |
---|---|
Integer (1 to 4 )
|
Turtle Egg |
enabled[]
Whether or not the hopper can collect and transfer items.
State value | Blocks |
---|---|
Boolean (false or true )
|
Hopper |
extended[]
Whether or not the piston is extended.
State value | Blocks |
---|---|
Boolean (false or true )
|
eye[]
Whether the frame contains an eye of ender.
State value | Blocks |
---|---|
Boolean (false or true )
|
End Portal Frame |
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 bells as well as cocoa, the opposite is true.[1]
State value | Blocks |
---|---|
|
|
|
|
|
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 |
---|---|
|
|
|
hanging[]
Whether or not the lantern hangs on the ceiling.
State value | Blocks |
---|---|
Boolean (false or true )
|
has_book[]
Whether or not this lectern holds a book.
State value | Blocks |
---|---|
Boolean (false or true )
|
Lectern |
has_bottle_0[]
Whether or not a bottle is in slot 1 of the brewing stand.
State value | Blocks |
---|---|
Boolean (false or true )
|
Brewing Stand |
has_bottle_1[]
Whether or not a bottle is in slot 2 of the brewing stand.
State value | Blocks |
---|---|
Boolean (false or true )
|
Brewing Stand |
has_bottle_2[]
Whether or not a bottle is in slot 3 of the brewing stand.
State value | Blocks |
---|---|
Boolean (false or true )
|
Brewing Stand |
has_record[]
True when the jukebox contains a music disc.
State value | Blocks |
---|---|
Boolean (false or true )
|
Jukebox |
hatch[]
Determines how close an egg is to hatching; starts at 0 and is randomly incremented.
State value | Blocks |
---|---|
Integer (0 to 2 )
|
Turtle Egg |
hinge[]
Identifies the side the hinge is on (when facing the same direction as the door's inside).
State value | Blocks |
---|---|
|
Door (any) |
honey_level[]
The level of honey inside the beehive and bee nest.
State value | Blocks |
---|---|
Integer (0 to 5 )
|
in_wall[]
If true, the gate is lowered by three pixels, to accommodate attaching more cleanly with walls.
State value | Blocks |
---|---|
Boolean (false or true )
|
Fence Gate (any) |
instrument[]
The instrument sound the note block makes when it gets powered or used.
State value | Blocks |
---|---|
|
Note Block |
inverted[]
Whether the daylight detector detects light (false) or darkness (true).
State value | Blocks |
---|---|
Boolean (false or true )
|
Daylight Detector |
layers[]
How many layers of snow are on top of each other.
State value | Blocks |
---|---|
Integer (1 to 8 )
|
Snow |
leaves[]
How big the leaves are on this bamboo.
State value | Blocks |
---|---|
|
Bamboo |
level[]
How much water or lava is in this block or cauldron.
State value | Blocks |
---|---|
Integer (0 to 3 )
|
Cauldron (water and powder snow) |
Integer (0 to 8 )
|
Composter |
Integer (0 to 15 )
|
lit[]
Whether the block is turned on or off.
State value | Blocks |
---|---|
Boolean (false or true )
|
locked[]
Whether the repeater can change it is powered state (false) or not (true).
State value | Blocks |
---|---|
Boolean (false or true )
|
Redstone Repeater |
mode[]
The mode the comparator or structure block is in.
State value | Blocks |
---|---|
|
Redstone Comparator |
|
Structure Block |
moisture[]
How wet the farmland is.
State value | Blocks |
---|---|
Integer (0 to 7 )
|
Farmland |
north[]
Determines whether something is on the north side of the block.
State value | Blocks |
---|---|
Boolean (false or true )
|
|
|
Redstone Dust |
|
Wall (any) |
note[]
The note the note block plays when it gets powered.
State value | Blocks |
---|---|
Integer (0 to 24 )
|
Note Block |
occupied[]
If there's already a player in this bed.
State value | Blocks |
---|---|
Boolean (false or true )
|
Bed (any) |
open[]
Whether the door is open or closed.
State value | Blocks |
---|---|
Boolean (false or true )
|
|
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 |
---|---|
|
Bed (any) |
persistent[]
Whether leaves decay (false) or not (true)
State value | Blocks |
---|---|
Boolean (false or true )
|
Leaves (any) |
pickles[]
The amount of pickles in this block.
State value | Blocks |
---|---|
Integer (1 to 4 )
|
Sea Pickle |
power[]
The power level of Redstone emission.
State value | Blocks |
---|---|
Integer (0 to 15 )
|
powered[]
Whether the block is powered.
State value | Blocks |
---|---|
Boolean (false or true )
|
|
rotation[]
The rotation of standing heads, signs and banners.
State value | Blocks |
---|---|
Integer (0 to 15 )
|
shape[]
The way this block connects to its neighbors.
State value | Blocks |
---|---|
|
|
|
Stairs (any) |
|
Rail |
short[]
Whether this piston head's arm is 4/16th of a block shorter
State value | Blocks |
---|---|
Boolean (false or true )
|
Piston Head |
signal_fire[]
Whether this campfire has higher smoke or not.
State value | Blocks |
---|---|
Boolean (false or true )
|
snowy[]
Whether this block uses the snowy side texture.
State value | Blocks |
---|---|
Boolean (false or true )
|
south[]
Determines whether something is on the south side of the block.
State value | Blocks |
---|---|
Boolean (false or true )
|
|
|
Redstone Dust |
|
Wall (any) |
stage[]
Whether this sapling is ready to grow.
State value | Blocks |
---|---|
Integer (0 to 1 )
|
triggered[]
Whether this block has been activated.
State value | Blocks |
---|---|
Boolean (false or true )
|
type[]
Determines the variant of this block.
State value | Blocks |
---|---|
|
|
|
|
|
Slab (any) |
unstable[]
Whether the TNT explodes when punched or not.
State value | Blocks |
---|---|
Boolean (false or true )
|
TNT |
up[]
Determines whether something is above the block.
State value | Blocks |
---|---|
Boolean (false or true )
|
waterlogged[]
Whether the block has water in it.
State value | Blocks |
---|---|
Boolean (false or true )
|
|
west[]
Determines whether something is on the west side of the block.
State value | Blocks |
---|---|
Boolean (false or true )
|
|
|
Redstone Dust |
|
Wall (any) |