Java Edition data values

These data values refer to the different types of blocks, items and other features on 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 namespace omitted. The game accepts these resource locations either with or without the prefix.
=== Fluids ===
Fluid 	Resource location
Empty 	
Flowing Lava 	
Flowing Water	
Lava 	
Water 	
=== Enchantments ===
Enchantment 	Resource location
Aqua Affinity 	
Bane of Arthropods 	
Curse of Binding 	
Blast Protection 	
Channeling 	
Depth Strider 	
Efficiency 	
Feather Falling 	
Fire Aspect 	
Fire Protection 	
Flame 	
Fortune 	
Frost Walker 	
Impaling 	
Infinity 	
Knockback 	
Looting 	
Loyalty 	
Luck of the Sea 	
Lure 	
Mending 	
Multishot 	
Piercing 	
Power 	
Projectile Protection	
Protection 	
Punch 	
Quick Charge 	
Respiration 	
Riptide 	
Sharpness 	
Silk Touch 	
Smite 	
Soul Speed 	
Sweeping Edge 	
Swift Sneak 	
Thorns 	
Unbreaking 	
Curse of Vanishing 	
=== Dimensions ===
Dimension 	Resource location	Numeric ID
Overworld 	 	0
The Nether	 	-1
The End 	 	1
=== Chunk generators ===
Used in the Buffet world type and internally when generating any world.
Resource location	Image
 	
 	
 	
=== Biome sources ===
Used in the Buffet world type and internally when generating any world.
Resource location	Image
 	
 	
 	
 	Really quite complicated, and can't be done justice with a single image
===Structures===
Name 	Resource location
Jungle pyramid 	
Plains Village 	
Snowy Village 	
Savanna Village 	
Desert Village 	
Taiga Village 	
End City 	
Ruined Portal 	
Desert Ruined Portal 	
Jungle Ruined Portal 	
Mountain Ruined Portal	
Nether Ruined Portal 	
Ocean Ruined Portal 	
Swamp Ruined Portal 	
Igloo 	
Stronghold 	
Bastion Remnant 	
Desert pyramid 	
Nether Fossil 	
Buried Treasure 	
Woodland Mansion 	
Shipwreck 	
Ocean Monument 	
Swamp hut 	
Nether Fortress 	
Pillager Outpost 	
Warm Ocean Ruins 	
Cold Ocean Ruins 	
Mineshaft 	mineshaft
Badlands Mineshaft 	
Ancient City 	
=== Features ===
:
Feature 	Resource location
Acacia tree 	acacia
Amethyst geode 	amethyst_geode
Azalea tree 	azalea_tree
Bamboo (no podzol) 	bamboo_no_podzol
Bamboo (have podzol) 	bamboo_some_podzol
Bamboo jungle trees 	bamboo_vegetation
Basalt blobs in netherrack 	basalt_blobs
Basalt pillar 	basalt_pillar
Birch tree 	birch
Birch tree (0.2% bee nest) 	birch_bees_0002
Birch tree (2% bee nest) 	birch_bees_002
Birch tree (5% bee nest) 	birch_bees_005
Birch trees (old growth birch forest) 	birch_tall
Blackstone blobs in netherrack 	blackstone_blobs
Blue ice patch 	blue_ice
Bonus chest 	bonus_chest
Cave vines 	cave_vine
Cave vines in moss 	cave_vine_in_moss
Chorus plant 	chorus_plant
Clay pool with dripleaves 	clay_pool_with_dripleaves
Clay with dripleaves 	clay_with_dripleaves
Crimson forest vegetation 	crimson_forest_vegetation
Crimson forest vegetation (grown from bone meal)	crimson_forest_vegetation_bonemeal
Huge crimson fungus 	crimson_fungus
Huge crimson fungus (planted) 	crimson_fungus_planted
Dark forest trees and huge mushrooms 	dark_forest_vegetation
Dark oak tree 	dark_oak
Basalt delta 	delta
Desert well 	desert_well
Clay disk 	disk_clay
Grass block disk 	disk_grass
Gravel disk 	disk_gravel
Sand disk 	disk_sand
Dripleaf 	dripleaf
Dripstone cluster 	dripstone_cluster
End gateway (delayed) 	end_gateway_delayed
End gateway (exit) 	end_gateway_return
End island 	end_island
End spike 	end_spike
Fancy oak tree 	fancy_oak
Fancy oak tree with beehive 	fancy_oak_bees
Fancy oak tree (0.2% bee nest) 	fancy_oak_bees_0002
Fancy oak tree (2% bee nest) 	fancy_oak_bees_002
Fancy oak tree (5% bee nest) 	fancy_oak_bees_005
Flower patch (default) 	flower_default
Flower patch (flower forest) 	flower_flower_forest
Flower patch (meadow) 	flower_meadow
Flower patch (plains) 	flower_plain
Blue orchid patch 	flower_swamp
Flower patch (forest) 	forest_flowers
Forest rock 	forest_rock
Fossil (coal ore) 	fossil_coal
Fossil (diamond ore) 	fossil_diamonds
Freeze surface 	freeze_top_layer
Glow lichen 	glow_lichen
Glowstone blob 	glowstone_extra
Huge brown mushroom 	huge_brown_mushroom
Huge red mushroom 	huge_red_mushroom
Ice patch 	ice_patch
Ice spike 	ice_spike
Iceberg (blue ice) 	iceberg_blue
Iceberg (packed ice) 	iceberg_packed
Jungle bush 	jungle_bush
Jungle tree 	jungle_tree
Jungle tree (no vines) 	jungle_tree_no_vine
Kelp plant 	kelp
Lava lake 	lake_lava
Large basalt columns 	large_basalt_columns
Large dripstone 	large_dripstone
Lush cave clay surface 	lush_caves_clay
Mangrove 	mangrove
Mangrove vegetation 	mangrove_vegetation
Meadow trees 	meadow_trees
Giant jungle tree 	mega_jungle_tree
Giant spruce tree (pine-shaped) 	mega_pine
Giant spruce tree (spruce-shaped) 	mega_spruce
Dungeon 	monster_room
Moss patch 	moss_patch
Moss patch (grown from bone meal) 	moss_patch_bonemeal
Moss patch on ceilings 	moss_patch_ceiling
Moss vegetation 	moss_vegetation
Huge mushrooms (mushroom fields) 	mushroom_island_vegetaation
Nether sprouts 	nether_sprouts
Nether sprouts (grown from bone meal) 	nether_sprouts_bonemeal
Oak tree 	oak
Oak tree (0.2% bee nest) 	oak_bees_0002
Oak tree (2% bee nest) 	oak_bees_002
Oak tree (5% bee nest) 	oak_bees_005
Ancient debris (large) 	ore_ancient_debris_large
Ancient debris (small) 	ore_ancient_debris_small
Andesite ore blob 	ore_andesite
Blackstone blob 	ore_blackstone
Clay blob 	ore_clay
Coal ore blob 	ore_coal
Coal ore (reduced air exposure) 	ore_coal_buried
Large copper ore blob 	ore_copper_large
Copper ore blob 	ore_copper_small
Diamond ore (no air exposure) 	ore_diamond_buried
Small diamond ore blob 	ore_diamond_large
Large diamond ore blob 	ore_diamond_small
Diorite blob 	ore_diorite
Dirt blob 	ore_dirt
Emerald ore blob 	ore_emerald
Gold ore blob 	ore_gold
Gold ore (reduced air exposure) 	ore_gold_buried
Granite blob 	ore_granite
Gravel blob (nether) 	ore_gravel
Gravel blob 	ore_gravel_nether
Infested stone blob 	ore_infested
Iron ore blob 	ore_iron
Small iron ore blob 	ore_iron_small
Lapis lazuli ore blob 	ore_lapis
Lapis lazuli ore (no air exposure) 	ore_lapis_buried
Magma block blob 	ore_magma
Nether gold ore blob 	ore_nether_gold
Nether quartz ore blob 	ore_quartz
Redstone ore blob 	ore_redstone
Soul sand blob 	ore_soul_sand
Tuff blob 	ore_tuff
Sweet berry bush patch 	patch_berry_bush
Brown mushroom patch 	patch_brown_mushroom
Cactus patch 	patch_cactus
Crimson root patch 	patch_crimson_roots
Dead bush patch 	patch_dead_bush
Fire patch 	patch_fire
Grass patch 	patch_grass
Grass and fern patch (jungle) 	patch_grass_jungle
Large fern patch 	patch_large_fern
Melon patch 	patch_melon
Pumpkin patch 	patch_pumpkin
Red mushroom Patch 	patch_red_mushroom
Soul fire patch 	patch_soul_fire
Sugar cane patch 	patch_sugar_cane
Sunflower patch 	patch_sunflower
Grass and fern patch (taiga) 	patch_taiga_grass
Tall grass patch 	patch_tall_grass
Lily pad patch 	patch_waterlily
Pile of hay bales 	pile_hay
Pile of packed and blue ice 	pile_ice
Melon pile 	pile_melon
Pumpkin pile 	pile_pumpkin
Snow pile 	pile_snow
Spruce tree (pine-shaped) 	pine
Pointed dripstone 	pointed_dripstone
Rooted azalea tree 	rooted_azalea_tree
Sculk patch (ancient city) 	sculk_patch_ancient_city
Sculk patch (deep dark) 	sculk_patch_deep_dark
Sculk vein 	sculk_vein
Sea pickles 	sea_pickle
Seagrass (60% tall) 	seagrass_mid
Seagrass (30% tall) 	seagrass_short
Seagrass (short) 	seagrass_simple
Seagrass (40% tall) 	seagrass_slightly_less_short
Seagrass (80% tall) 	seagrass_tall
Single grass plant 	single_piece_of_grass
Small basalt columns 	small_basalt_columns
Spore blossom 	spore_blossom
Lava spring (snow and packed ice) 	spring_lava_frozen
Lava spring (nether) 	spring_lava_nether
Lava spring (overworld) 	spring_lava_overworld
Nether lava spring (hidden) 	spring_nether_closed
Nether lava spring (visible) 	spring_nether_open
Water spring 	spring_water
Spruce tree (spruce-shaped) 	spruce
Tall birch tree with bee nest 	super_birch_bees
Tall birch tree (0.2% bee nest) 	super_birch_bees_0002
Oak tree (swamp) 	swamp_oak
Tall mangrove 	tall_mangrove
Birch and oak trees 	trees_birch_and_oak
Trees (flower forest) 	trees_flower_forest
Trees (grove) 	trees_grove
Trees (jungle) 	trees_jungle
Trees (old growth pine taiga) 	trees_old_growth_pine_taiga
Trees (old growth spruce taiga) 	trees_old_growth_spruce_taiga
Trees (plains) 	trees_plains
Trees (savanna) 	trees_savanna
Sparse jungle trees 	trees_sparse_jungle
Trees (taiga) 	trees_taiga
Waterside trees 	trees_water
Trees (windswept hills) 	trees_windswept_hills
Twisting vines 	twisting_vines
Twisting vines (grown from bone meal) 	twisting_vines_bonemeal
Underwater magma blocks 	underwater_magma
Vines 	vines
Void start platform 	void_start_platform
Coral Reef 	warm_ocean_vegetation
Warped forest vegetation 	warped_forest_vegetation
Warped forest vegetation (grown from bone meal) 	warped_forest_vegetation_bonemeal
Huge warped fungus 	warped_fungus
Huge warped fungus (planted) 	warped_fungus_planted
Weeping vines 	weeping_vines
== Block states ==
==== age ====
Tracks the age of plants to handle growth and of fire to handle spread.
State value 	Blocks
Integer ( to )	
Integer ( to )	
Integer ( to )	
* 
* 
* 
*
Integer ( to )	
Integer ( to )	
* 
* 
* 
* 
*
Integer ( to )	
* 
* 
*
Integer ( to )	
==== attached ====
Whether the tripwire hook is connected to a valid tripwire circuit or not.
State value 	Blocks
Boolean ( or )	
* 
*
==== attachment ====
How this block is attached to the block it is on.
State value	Blocks
* 
* 
* 
*	
==== axis ====
What axis the block is oriented to.
State value	Blocks
* 
* 
* 	
* (including all variants, wood, bamboo, and stripped versions of bamboo, logs, and wood)
* (including all variants, hyphae, and stripped versions of both stems and hyphae)
* (including polished basalt)
* 
* (including Ochre and Pearlescent varients)
* 
* 
* 
* 
* 
* (including infested varient)
* 
* 	
==== bites ====
The number of bites taken from the cake.
State value 	Blocks
Integer ( to )	
==== bottom ====
Whether this scaffolding is floating (shows the bottom).
State value 	Blocks
Boolean ( or )	
==== charges ====
Tracks the remaining uses of respawn anchors.
State value 	Blocks
Integer ( to )	
==== conditional ====
Whether or not the command block is conditional.
State value 	Blocks
Boolean ( or )	(any variant)
==== delay ====
The amount of time between receiving a signal and responding.
State value 	Blocks
Integer ( to )	
==== disarmed ====
Whether the tripwire is broken using shears or not.
State value 	Blocks
Boolean ( or )	
==== distance ====
The distance from a base block.
State value 	Blocks
Integer ( to )	
Integer ( to )	(any)
==== down ====
Determines whether something is below the block.
State value 	Blocks
Boolean ( or )	
* 
* 
* 
*
==== drag ====
Determines whether the bubble column is a whirlpool or upwards.
State value 	Blocks
Boolean ( or )	
==== east ====
Determines whether something is on the east side of the block.
State value 	Blocks
Boolean ( or )	
* (any, including nether brick)
* (including all stained colors)
* 
* 
* 
* 
* 
* 
* 
*
* 
* 
* 	
* 
* 
* 	(any)
==== eggs ====
The amount of eggs in this block.
State value 	Blocks
Integer ( to )	
==== enabled ====
Whether or not the hopper can collect and transfer items.
State value 	Blocks
Boolean ( or )	
==== extended ====
Whether or not the piston is extended.
State value 	Blocks
Boolean ( or )	
* 
*
==== eye ====
Whether the frame contains an eye of ender.
State value 	Blocks
Boolean ( or )	
==== face ====
What side of a block the attached block is on.
State value	Blocks
* 
* 
* 	
* (any)
* 
*
==== facing ====
For most blocks, what direction the block faces.
For wall-attached bells as well as cocoa, the opposite is true.
State value	Blocks
* 
* 
* 
* 
* 
*	
* (any stage)
* (any variant)
* (any color)
* 
* 
* 
* 
* 
* 
* 
* 
*
* 
* 
* 
*	
* (any durability)
* (any wall variant)
* (any)
* (any variant, including dead)
* (any)
* (any)
* (any)
* (any color)
* (any)
* (any wall variant)
* (any)
* (any, including iron)
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
*
* 
* 
* 
* 
*	
==== 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
* 
* 	
* (any)
* 
* 
* 
* 
* 
* 
*
* 
* 	
* (any)
* (any, including iron)
==== hanging ====
Whether or not the lantern hangs on the ceiling.
State value 	Blocks
Boolean ( or )	
* 
*
==== has_book ====
Whether or not this lectern holds a book.
State value 	Blocks
Boolean ( or )	
==== has_bottle_0 ====
Whether or not a bottle is in slot 1 of the brewing stand.
State value 	Blocks
Boolean ( or )	
==== has_bottle_1 ====
Whether or not a bottle is in slot 2 of the brewing stand.
State value 	Blocks
Boolean ( or )	
==== has_bottle_2 ====
Whether or not a bottle is in slot 3 of the brewing stand.
State value 	Blocks
Boolean ( or )	
==== has_record ====
True when the jukebox contains a music disc.
State value 	Blocks
Boolean ( or )	
==== hatch ====
Determines how close an egg is to hatching; starts at 0 and is randomly incremented.
State value 	Blocks
Integer ( to )	
==== hinge ====
Identifies the side the hinge is on (when facing the same direction as the door's inside).
State value	Blocks
* 
* 	(any)
==== honey_level ====
The level of honey inside the beehive and bee nest.
State value 	Blocks
Integer ( to )	
* 
*
==== in_wall ====
If true, the gate is lowered by three pixels, to accommodate attaching more cleanly with walls.
State value 	Blocks
Boolean ( or )	(any)
==== instrument ====
The instrument sound the note block makes when it gets powered or used.
State value	Blocks
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
*	
==== inverted ====
Whether the daylight detector detects light (false) or darkness (true).
State value 	Blocks
Boolean ( or )	
==== layers ====
How many layers of snow are on top of each other.
State value 	Blocks
Integer ( to )	
==== leaves ====
How big the leaves are on this bamboo.
State value	Blocks
* 
* 
* 	
==== level ====
How much water or lava is in this block or cauldron.
State value 	Blocks
Integer ( to )	(water and powder snow)
Integer ( to )	
Integer ( to )	
* 
* 
*
==== lit ====
Whether the block is turned on or off.
State value 	Blocks
Boolean ( or )	
* 
* 
* 
* 
* 
* 
* 
* 
*
==== locked ====
Whether the repeater can change it is powered state (false) or not (true).
State value 	Blocks
Boolean ( or )	
==== mode ====
The mode the comparator or structure block is in.
State value	Blocks
* 
* 	
* 
* 
* 
*	
==== moisture ====
How wet the farmland is.
State value 	Blocks
Integer ( to )	
==== north ====
Determines whether something is on the north side of the block.
State value 	Blocks
Boolean ( or )	
* (any, including nether brick)
* (including all stained colors)
* 
* 
* 
* 
* 
* 
* 
*
* 
* 
* 	
* 
* 
* 	(any)
==== note ====
The note the note block plays when it gets powered.
State value 	Blocks
Integer ( to )	
==== occupied ====
If there's already a player in this bed.
State value 	Blocks
Boolean ( or )	(any)
==== open ====
Whether the door is open or closed.
State value 	Blocks
Boolean ( or )	
* (any)
* (any)
* (any, including iron)
*
==== 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
* 
* 	(any)
==== persistent ====
Whether leaves decay (false) or not (true)
State value 	Blocks
Boolean ( or )	(any)
==== pickles ====
The amount of pickles in this block.
State value 	Blocks
Integer ( to )	
==== power ====
The power level of Redstone emission.
State value 	Blocks
Integer ( to )	
* 
* 
* 
* 
*
==== powered ====
Whether the block is powered.
State value 	Blocks
Boolean ( or )	
* (any)
* (any)
* (any)
* (any non-weighted)
* (any, including iron)
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
*
==== rotation ====
The rotation of standing heads, signs and banners.
State value 	Blocks
Integer ( to )	
* (any non-wall variant)
* (any)
* (any non-wall variant)
==== shape ====
The way this block connects to its neighbors.
State value	Blocks
* 
* 
* 
* 
* 
*	
* 
* 
*
* 
* 
* 
* 
*	(any)
* 
* 
* 
* 
* 
* 
* 
* 
* 
*	
==== short ====
Whether this piston head's arm is 4/16th of a block shorter
State value 	Blocks
Boolean ( or )	
==== signal_fire ====
Whether this campfire has higher smoke or not.
State value 	Blocks
Boolean ( or )	
* 
*
==== snowy ====
Whether this block uses the snowy side texture.
State value 	Blocks
Boolean ( or )	
* 
* 
*
==== south ====
Determines whether something is on the south side of the block.
State value 	Blocks
Boolean ( or )	
* (any, including nether brick)
* (including all stained colors)
* 
* 
* 
* 
* 
* 
* 
*
* 
* 
* 	
* 
* 
* 	(any)
==== stage ====
Whether this sapling is ready to grow.
State value 	Blocks
Integer ( to )	
* (any)
*
==== triggered ====
Whether this block has been activated.
State value 	Blocks
Boolean ( or )	
* 
*
==== type ====
Determines the variant of this block.
State value	Blocks
* 
* 	
* 
*
* 
* 
* 	
* 
*
* 
* 
* 	(any)
==== unstable ====
Whether the TNT explodes when punched or not.
State value 	Blocks
Boolean ( or )	
==== up ====
Determines whether something is above the block.
State value 	Blocks
Boolean ( or )	
* (any)
* 
* 
* 
* 
* 
*
==== waterlogged ====
Whether the block has water in it.
State value 	Blocks
Boolean ( or )	
* (all non-block variants, including dead variants)
* (any, including nether brick)
* (including all stained colors)
* (all variants, including wall signs)
* (any)
* (any)
* (any, including iron)
* (any)
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
* 
*
==== west ====
Determines whether something is on the west side of the block.
State value 	Blocks
Boolean ( or )	
* (any, including nether brick)
* (including all stained colors)
* 
* 
* 
* 
* 
* 
* 
*
* 
* 
* 	
* 
* 
* 	(any)
Category:Development
de:Datenwert
es:Valores de datos de Java Edition
fr:Valeurs
hu:Adatértékek
ja:Java Editionのデータ値
ko:데이터 값
nl:Javaeditie datawaarden
pl:ID
pt:Valores de dados da Edição Java
ru:Значения данных
tr:Data değerleri
zh:Java版数据值