Entity type tag (Java Edition)
An entity type tag is a group of entity types. It can be used in type target selector arguments and loot table conditions with #<resource location>, which checks if the entity's type matches any of the entity types specified in the tag. Entity type tags are also used to control a number of other gameplay features; see below for the use of each tag.
List of tags
accepts_iron_golem_gift
Entities in this tag can have poppies placed onto their head by iron golems.
Used in the #candidate_for_iron_golem_gift tag.
-
[NBT List / JSON Array] #minecraft:accepts_iron_golem_gift (1 values)
minecraft:copper_golem
aquatic
Contains all aquatic mobs. Unused in vanilla aside from being used in other tags.
Used in the #sensitive_to_impaling tag.
-
[NBT List / JSON Array] #minecraft:aquatic (14 values)
minecraft:axolotlminecraft:codminecraft:dolphinminecraft:elder_guardianminecraft:glow_squidminecraft:guardianminecraft:nautilus[upcoming JE 1.21.11]minecraft:pufferfishminecraft:salmonminecraft:squidminecraft:tadpoleminecraft:tropical_fishminecraft:turtleminecraft:zombie_nautilus[upcoming JE 1.21.11]
arrows
Entities in this tag are affected by the Power and Punch enchantments.
Used by the advancement "Take Aim".
Used in the #impact_projectiles tag.
-
[NBT List / JSON Array] #minecraft:arrows (2 values)
minecraft:arrowminecraft:spectral_arrow
arthropod
Contains all arthropod mobs. Unused in vanilla aside from being used in other tags.
Used in the #sensitive_to_bane_of_arthropods tag.
-
[NBT List / JSON Array] #minecraft:arthropod (5 values)
minecraft:beeminecraft:cave_spiderminecraft:endermiteminecraft:silverfishminecraft:spider
axolotl_always_hostiles
Axolotls are always hostile toward entities in this tag.
-
[NBT List / JSON Array] #minecraft:axolotl_always_hostiles (3 values)
minecraft:drownedminecraft:elder_guardianminecraft:guardian
axolotl_hunt_targets
Axolotls exhibit the cooldown-based "hunt" behavior toward entities in this tag.
-
[NBT List / JSON Array] #minecraft:axolotl_hunt_targets (7 values)
minecraft:codminecraft:glow_squidminecraft:pufferfishminecraft:salmonminecraft:squidminecraft:tadpoleminecraft:tropical_fish
beehive_inhabitors
Entities in this tag can be in beehives.
-
[NBT List / JSON Array] #minecraft:beehive_inhabitors (1 values)
minecraft:bee
boat
Used by the advancement "Whatever Floats Your Goat!".
-
[NBT List / JSON Array] #minecraft:boat (10 values)
minecraft:acacia_boatminecraft:bamboo_raftminecraft:birch_boatminecraft:cherry_boatminecraft:dark_oak_boatminecraft:jungle_boatminecraft:mangrove_boatminecraft:oak_boatminecraft:pale_oak_boatminecraft:spruce_boat
burn_in_daylight
Entities in this tag burn in direct sunlight.
-
[NBT List / JSON Array] #minecraft:burn_in_daylight[upcoming JE 1.21.11] (10 values)
minecraft:boggedminecraft:drownedminecraft:phantomminecraft:skeletonminecraft:strayminecraft:wither_skeletonminecraft:zombieminecraft:zombie_horseminecraft:zombie_nautilusminecraft:zombie_villager
can_breathe_under_water
Entities in this tag cannot drown underwater.
-
[NBT List / JSON Array] #minecraft:can_breathe_under_water (16 values)
#minecraft:undeadminecraft:armor_standminecraft:axolotlminecraft:codminecraft:copper_golemminecraft:elder_guardianminecraft:frogminecraft:glow_squidminecraft:guardianminecraft:nautilus[upcoming JE 1.21.11]minecraft:pufferfishminecraft:salmonminecraft:squidminecraft:tadpoleminecraft:tropical_fishminecraft:turtle
can_equip_harness
Entities in this tag can be equipped with a harness.
Note: this does not mean that the Harness will function, just that it can be equipped into the body slot.
-
[NBT List / JSON Array] #minecraft:can_equip_harness (1 values)
minecraft:happy_ghast
can_equip_saddle
Entities in this tag can be equipped with a saddle.
Note: this does not mean that the Saddle will function, just that it can be equipped into the saddle slot.
-
[NBT List / JSON Array] #minecraft:can_equip_saddle (11 values)
minecraft:camelminecraft:camel_husk[upcoming JE 1.21.11]minecraft:donkeyminecraft:horseminecraft:muleminecraft:nautilus[upcoming JE 1.21.11]minecraft:pigminecraft:skeleton_horseminecraft:striderminecraft:zombie_horseminecraft:zombie_nautilus[upcoming JE 1.21.11]
can_float_while_ridden
Entities in this tag can float in water while being ridden by a player.
-
[NBT List / JSON Array] #minecraft:can_float_while_ridden[upcoming JE 1.21.11] (5 values)
minecraft:camelminecraft:donkeyminecraft:horseminecraft:muleminecraft:zombie_horse
can_turn_in_boats
Entities in this tag are not forced to face forward in boats.
-
[NBT List / JSON Array] #minecraft:can_turn_in_boats (1 values)
minecraft:breeze
can_wear_horse_armor
Entities in this tag can be equipped with horse armor in their body slot.
-
[NBT List / JSON Array] #minecraft:can_wear_horse_armor (2 values)
minecraft:horseminecraft:zombie_horse[upcoming JE 1.21.11]
can_wear_nautilus_armor
Entities in this tag can be equipped with nautilus armor in their body slot.
-
[NBT List / JSON Array] #minecraft:can_wear_nautilus_armor[upcoming JE 1.21.11] (2 values)
minecraft:nautilusminecraft:zombie_nautilus
candidate_for_iron_golem_gift
Iron golems will offer poppies to entities in this tag.
-
[NBT List / JSON Array] #minecraft:candidate_for_iron_golem_gift (2 values)
#minecraft:accepts_iron_golem_giftminecraft:villager
cannot_be_pushed_onto_boats
Entities in this tag will not automatically enter boats when nearby enough.
-
[NBT List / JSON Array] #minecraft:cannot_be_pushed_onto_boats (13 values)
minecraft:codminecraft:creakingminecraft:dolphinminecraft:elder_guardianminecraft:glow_squidminecraft:nautilus[upcoming JE 1.21.11]minecraft:playerminecraft:pufferfishminecraft:salmonminecraft:squidminecraft:tadpoleminecraft:tropical_fishminecraft:zombie_nautilus[upcoming JE 1.21.11]
deflects_projectiles
Projectiles bounce off entities in this tag.
Breezes are hard-coded to still be vulnerable to wind charges despite their inclusion in this tag; if other entities are added to this tag, they will also deflect wind charges.
-
[NBT List / JSON Array] #minecraft:deflects_projectiles (1 values)
minecraft:breeze
dismounts_underwater
Entities in this tag will force their riders to dismount when fully submerged.
-
[NBT List / JSON Array] #minecraft:dismounts_underwater (13 values)
minecraft:camelminecraft:chickenminecraft:donkeyminecraft:happy_ghastminecraft:horseminecraft:llamaminecraft:muleminecraft:pigminecraft:ravagerminecraft:spiderminecraft:striderminecraft:trader_llamaminecraft:zombie_horse
fall_damage_immune
Entities in this tag cannot take fall damage.
-
[NBT List / JSON Array] #minecraft:fall_damage_immune (18 values)
minecraft:allayminecraft:batminecraft:beeminecraft:blazeminecraft:breezeminecraft:catminecraft:chickenminecraft:copper_golemminecraft:ghastminecraft:happy_ghastminecraft:iron_golemminecraft:magma_cubeminecraft:ocelotminecraft:parrotminecraft:phantomminecraft:shulkerminecraft:snow_golemminecraft:wither
followable_friendly_mobs
Adults of entities in this tag will be followed by ghastlings.
-
[NBT List / JSON Array] #minecraft:followable_friendly_mobs (25 values)
minecraft:armadillominecraft:beeminecraft:camelminecraft:catminecraft:chickenminecraft:cowminecraft:donkeyminecraft:foxminecraft:goatminecraft:happy_ghastminecraft:horseminecraft:llamaminecraft:muleminecraft:ocelotminecraft:pandaminecraft:parrotminecraft:pigminecraft:polar_bearminecraft:rabbitminecraft:sheepminecraft:skeleton_horseminecraft:snifferminecraft:striderminecraft:villagerminecraft:wolf
freeze_hurts_extra_types
Entities in this tag take 5x more damage from the freezing effect.
-
[NBT List / JSON Array] #minecraft:freeze_hurts_extra_types (3 values)
minecraft:blazeminecraft:magma_cubeminecraft:strider
freeze_immune_entity_types
Entities in this tag cannot be frozen.
-
[NBT List / JSON Array] #minecraft:freeze_immune_entity_types (4 values)
minecraft:polar_bearminecraft:snow_golemminecraft:strayminecraft:wither
frog_food
Entities in this tag are eaten by frogs.
-
[NBT List / JSON Array] #minecraft:frog_food (2 values)
minecraft:magma_cubeminecraft:slime
ignores_poison_and_regen
For entities that cannot be affected by Poison and Regeneration effects.
- [NBT List / JSON Array] #minecraft:ignores_poison_and_regen (1 values)
illager
Contains all illager mobs. Unused in vanilla aside from being used in other tags.
Used in the #illager_friends tag.
-
[NBT List / JSON Array] #minecraft:illager (4 values)
minecraft:evokerminecraft:illusionerminecraft:pillagerminecraft:vindicator
illager_friends
Illagers consider entities in this tag to be allies, unless on a different team.
- [NBT List / JSON Array] #minecraft:illager_friends (1 values)
immune_to_infested
Entities in this tag cannot be afflicted with the Infested effect.
-
[NBT List / JSON Array] #minecraft:immune_to_infested (1 values)
minecraft:silverfish
immune_to_oozing
Entities in this tag cannot be afflicted with the Oozing effect.
-
[NBT List / JSON Array] #minecraft:immune_to_oozing (1 values)
minecraft:slime
impact_projectiles
Entities in this tag can break chorus flowers and decorated pots when hit, provided they are capable of activating targets.
If removed from this tag, tridents additionally lose the ability to break pointed dripstone when hit.
-
[NBT List / JSON Array] #minecraft:impact_projectiles (11 values)
#minecraft:arrowsminecraft:breeze_wind_chargeminecraft:dragon_fireballminecraft:eggminecraft:fireballminecraft:firework_rocketminecraft:small_fireballminecraft:snowballminecraft:tridentminecraft:wind_chargeminecraft:wither_skull
inverted_healing_and_harm
Entities in this tag are healed by Instant Damage and harmed by Instant Health.
- [NBT List / JSON Array] #minecraft:inverted_healing_and_harm (1 values)
nautilus_hostiles
Nautiluses and zombie nautiluses are hostile to entities in this tag.
-
[NBT List / JSON Array] #minecraft:nautilus_hostiles (1 values)
minecraft:pufferfish
no_anger_from_wind_charge
Entities in this tag do not retaliate if damaged by a wind charge.
-
[NBT List / JSON Array] #minecraft:no_anger_from_wind_charge (9 values)
minecraft:boggedminecraft:breezeminecraft:cave_spiderminecraft:huskminecraft:skeletonminecraft:slimeminecraft:spiderminecraft:strayminecraft:zombie
non_controlling_rider
Entities in this tag do not override the AI of entities they are riding.
-
[NBT List / JSON Array] #minecraft:non_controlling_rider (2 values)
minecraft:magma_cubeminecraft:slime
not_scary_for_pufferfish
Entities in this tag do not cause nearby pufferfish to inflate.
-
[NBT List / JSON Array] #minecraft:not_scary_for_pufferfish (13 values)
minecraft:codminecraft:dolphinminecraft:elder_guardianminecraft:glow_squidminecraft:guardianminecraft:nautilus[upcoming JE 1.21.11]minecraft:pufferfishminecraft:salmonminecraft:squidminecraft:tadpoleminecraft:tropical_fishminecraft:turtleminecraft:zombie_nautilus[upcoming JE 1.21.11]
powder_snow_walkable_mobs
Entities in this tag can walk on top of powder snow without sinking.
-
[NBT List / JSON Array] #minecraft:powder_snow_walkable_mobs (4 values)
minecraft:endermiteminecraft:foxminecraft:rabbitminecraft:silverfish
raiders
Entities in this tag gain the Glowing effect when a bell is rung, and do not override a ravager's AI when riding one.
Used in the advancement "Voluntary Exile".
-
[NBT List / JSON Array] #minecraft:raiders (6 values)
minecraft:evokerminecraft:illusionerminecraft:pillagerminecraft:ravagerminecraft:vindicatorminecraft:witch
redirectable_projectile
Projectile entities in this tag get reflected by left clicking them.
-
[NBT List / JSON Array] #minecraft:redirectable_projectile (3 values)
minecraft:breeze_wind_chargeminecraft:fireballminecraft:wind_charge
sensitive_to_bane_of_arthropods
Entities in this tag are affected by the Bane of Arthropods enchantment.
- [NBT List / JSON Array] #minecraft:sensitive_to_bane_of_arthropods (1 values)
sensitive_to_impaling
Entities in this tag are affected by the Impaling enchantment.
- [NBT List / JSON Array] #minecraft:sensitive_to_impaling (1 values)
sensitive_to_smite
Entities in this tag are affected by the Smite enchantment.
- [NBT List / JSON Array] #minecraft:sensitive_to_smite (1 values)
skeletons
Used in the 'entities/creeper.json' loot table to determine whether a music disc should drop.
Used in the #undead tag.
-
[NBT List / JSON Array] #minecraft:skeletons (6 values)
minecraft:boggedminecraft:parched[upcoming JE 1.21.11]minecraft:skeletonminecraft:skeleton_horseminecraft:strayminecraft:wither_skeleton
undead
Armadillos roll up if entities in this tag are nearby.
Used in the #can_breathe_under_water, #ignores_poison_and_regen, #inverted_healing_and_harm, #sensitive_to_smite, and #wither_friends tags.
-
[NBT List / JSON Array] #minecraft:undead (4 values)
#minecraft:skeletons#minecraft:zombiesminecraft:phantomminecraft:wither
wither_friends
Entities in this tag are not targeted by and cannot hurt withers.
- [NBT List / JSON Array] #minecraft:wither_friends (1 values)
zombies
Contains all zombie mobs. Unused in vanilla aside from being used in other tags.
Used in the #undead tag.
-
[NBT List / JSON Array] #minecraft:zombies (9 values)
minecraft:camel_husk[upcoming JE 1.21.11]minecraft:drownedminecraft:huskminecraft:zoglinminecraft:zombieminecraft:zombie_horseminecraft:zombie_nautilus[upcoming JE 1.21.11]minecraft:zombie_villagerminecraft:zombified_piglin
Removed tags
axolotl_tempted_hostiles
Replaced with #axolotl_always_hostiles.
Version added: 20w51a. Version removed: 21w13a.
-
[NBT List / JSON Array] #minecraft:axolotl_tempted_hostiles (2 values)
minecraft:drownedminecraft:guardian
deflects_arrows
Replaced with #deflects_projectiles.
Version added: 23w45a. Version removed: 24w03a.
-
[NBT List / JSON Array] #minecraft:deflects_arrows (1 values)
minecraft:breeze
deflects_tridents
Replaced with #deflects_projectiles
Version added: 23w45a. Version removed: 24w03a.
-
[NBT List / JSON Array] #minecraft:deflects_tridents (1 values)
minecraft:breeze
History
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.14 | 18w43a | Added entity type tag. | |||||
Added #skeletons tag. | |||||||
| 1.14 | 19w13b | Added #raiders tag. | |||||
| 1.15 | 19w36a | Added #beehive_inhabitors tag. | |||||
| 19w45a | Added #arrows tag. | ||||||
| 1.16 | 20w09a | Added #impact_projectiles tag. | |||||
| 1.17 | 20w46a | Added #powder_snow_walkable_mobs tag. | |||||
| 20w51a | Added #axolotl_always_hostiles, and #axolotl_tempted_hostiles tags. | ||||||
| 21w03a | Added #axolotl_always_hostiles tag. | ||||||
| 21w05a | Added fox to #powder_snow_walkable_mobs tag. | ||||||
| 21w13a | Renamed tags #axolotl_tempted_hostiles to #freeze_hurts_extra_types, #axolotl_tempted_hostiles to #axolotl_hunt_targets, and #axolotl_tempted_hostiles to #freeze_immune_entity_types.
| ||||||
Added #axolotl_hunt_targets, #freeze_hurts_extra_types, and #freeze_immune_entity_types tags.
| |||||||
Removed #axolotl_tempted_hostiles tag.
| |||||||
Added drowned, elder_guardian, and guardian and removed cod, glow_squid, pufferfish, salmon, squid, and tropical_fish from #axolotl_always_hostiles tag. | |||||||
| 21w17a | Added wither to #freeze_immune_entity_types tag. | ||||||
| 1.19 | 22w11a | Added tadpole to #axolotl_hunt_targets tag. | |||||
| 22w14a | Added #frog_food tag. | ||||||
| 1.19.4 | Pre-release 1 | Added #fall_damage_immune tag. | |||||
| Pre-release 2 | Added #dismounts_underwater tag. | ||||||
| 1.20.2 | 23w31a | Added #non_controlling_rider tag. | |||||
| 1.20.3 | 23w40a | Added #can_breathe_under_water, #undead, and #zombies tags.
| |||||
Added skeleton_horse to #skeletons tag. | |||||||
| 23w42a | Added firework_rocket to #impact_projectiles tag. | ||||||
| 1.20.3 Experiment | 23w45a | Added #deflects_arrows, and #deflects_tridents tags.
| |||||
Added breeze to #deflects_arrows, #deflects_tridents, and #fall_damage_immune tag. | |||||||
| Pre-Release 1 | Added #can_turn_in_boats tag. | ||||||
| Pre-Release 2 | Added wind_charge to #impact_projectiles tag. | ||||||
| 1.20.5 | 24w03a | Added #aquatic, #arthropod, #ignores_poison_and_regen, #illager, #illager_friends, #inverted_healing_and_harm, #not_scary_for_pufferfish, #sensitive_to_bane_of_arthropods, #sensitive_to_impaling, and #wither_friends tags. | |||||
| 1.20.5 Experiment | 24w03a | Renamed tags #deflects_tridents to #deflects_projectiles, and #deflects_arrows to #deflects_projectiles. | |||||
| 24w04a | Added #no_anger_from_wind_charge tag. | ||||||
| 24w06a | Added breeze_wind_charge to #impact_projectiles tag. | ||||||
| 24w07a | Added bogged to #no_anger_from_wind_charge tag.
| ||||||
Added bogged to #skeletons tag. | |||||||
| 1.20.5 | 24w12a | Added #sensitive_to_smite tag. | |||||
| 1.20.5 Experiment | 24w13a | Added #immune_to_infested, and #immune_to_oozing tags. | |||||
| 1.20.5 | Pre-release 1 | Added #punchable_projectiles tag. | |||||
| 1.20.5 Experiment | Pre-release 1 | Added #punchable_projectiles tag.
| |||||
Added breeze_wind_charge, and wind_charge to #punchable_projectiles tag. | |||||||
| 1.20.5 | Pre-Release 3 | Renamed tag #punchable_projectiles to #redirectable_projectile.
| |||||
Added #redirectable_projectile tag.
| |||||||
Removed #punchable_projectiles tag. | |||||||
| 1.20.5 Experiment | Pre-Release 3 | Renamed tag #punchable_projectiles to #redirectable_projectile.
| |||||
Added #redirectable_projectile tag.
| |||||||
Removed #punchable_projectiles tag.
| |||||||
Added breeze_wind_charge, and wind_charge to #redirectable_projectile tag. | |||||||
| 1.21 | 24w19a | Moved folder tags/entity_types to tags/entity_type. | |||||
| 24w18a | Experimental tags are now available without using the "Update 1.21" experimental datapack. | ||||||
| 1.21.2 | 24w39a | Added #boat tag. | |||||
| 1.21.5 | 25w03a | Added #can_equip_saddle tag. | |||||
| 25w04a | Added #can_wear_horse_armor tag. | ||||||
| 1.21.6 | 25w15a | Added #can_equip_harness, and #followable_friendly_mobs tags.
| |||||
Added happy_ghast to #dismounts_underwater, and #fall_damage_immune tags. | |||||||
| 25w18a | Added happy_ghast to #followable_friendly_mobs tag. | ||||||
| 1.21.9 | 25w31a | Added copper_golem to #can_breathe_under_water, and #fall_damage_immune tags. | |||||
| 25w33a | Added #accepts_iron_golem_gift, #candidate_for_iron_golem_gift, and #cannot_be_pushed_onto_boats tags. | ||||||
| 25w34a | Removed guardian from #cannot_be_pushed_onto_boats tag. | ||||||
| Upcoming Java Edition | |||||||
| 1.21.11 | 25w41a | Added #burn_in_daylight, #can_wear_nautilus_armor, and #nautilus_hostiles tags.
| |||||
Added nautilus, and zombie_nautilus to #aquatic, #can_equip_saddle, and #not_scary_for_pufferfish tags.
| |||||||
Added nautilus to #can_breathe_under_water tag.
| |||||||
Added zombie_horse to #can_wear_horse_armor tag.
| |||||||
Added zombie_nautilus to #zombies tag. | |||||||
| 25w42a | Added bogged, skeleton, stray, and wither_skeleton and removed #skeletons from #burn_in_daylight tag. | ||||||
| 25w43a | Added nautilus, and zombie_nautilus to #cannot_be_pushed_onto_boats tag. | ||||||
| 25w44a | Added #can_float_while_ridden tag.
| ||||||
Added camel_husk to #can_equip_saddle tag.
| |||||||
Added parched to #skeletons tag.
| |||||||
Added camel_husk to #zombies tag. | |||||||
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||