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
aquatic
Groups together all aquatic mobs. It does not seem to have any use in vanilla aside from being used in other tags.
Used in the #sensitive_to_impaling tag.
- [NBT List / JSON Array] #minecraft:aquatic (12 values)
minecraft:axolotlminecraft:codminecraft:dolphinminecraft:elder_guardianminecraft:glow_squidminecraft:guardianminecraft:pufferfishminecraft:salmonminecraft:squidminecraft:tadpoleminecraft:tropical_fishminecraft:turtle
arrows
Used for the advancement "Take Aim" and to determine if the Power and Punch enchantments should take effect.
Used in the #impact_projectiles tag.
- [NBT List / JSON Array] #minecraft:arrows (2 values)
minecraft:arrowminecraft:spectral_arrow
arthropod
Groups together all arthropod type mobs. It does not seem to have any use 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 in 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
can_breathe_under_water
Entities in this tag cannot drown underwater.
- [NBT List / JSON Array] #minecraft:can_breathe_under_water (14 values)
#minecraft:undeadminecraft:armor_standminecraft:axolotlminecraft:codminecraft:elder_guardianminecraft:frogminecraft:glow_squidminecraft:guardianminecraft:pufferfishminecraft:salmonminecraft:squidminecraft:tadpoleminecraft:tropical_fishminecraft:turtle
can_equip_harness
Entities that 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 that 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 (8 values)
minecraft:camelminecraft:donkeyminecraft:horseminecraft:muleminecraft:pigminecraft:skeleton_horseminecraft:striderminecraft:zombie_horse
can_turn_in_boats
Entities in this tag can turn on their own, instead of being 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 wear a horse armor in their body equipments slot.
- [NBT List / JSON Array] #minecraft:can_wear_horse_armor (1 values)
minecraft:horse
deflects_projectiles
Projectiles bounce off of entities in this tag. Only breezes remain vulnerable to wind charges despite the tag, all other entities also reflect those.
- [NBT List / JSON Array] #minecraft:deflects_projectiles (1 values)
minecraft:breeze
dismounts_underwater
Only mobs in this tag force the rider to dismount when underwater.
- [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 (17 values)
minecraft:allayminecraft:batminecraft:beeminecraft:blazeminecraft:breezeminecraft:catminecraft:chickenminecraft:ghastminecraft:happy_ghastminecraft:iron_golemminecraft:magma_cubeminecraft:ocelotminecraft:parrotminecraft:phantomminecraft:shulkerminecraft:snow_golemminecraft:wither
followable_friendly_mobs
- [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
Groups together all illager type mobs. It does not seem to have any use 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
For entities that Illagers consider allies (unless on a different team).
- [NBT List / JSON Array] #minecraft:illager_friends (1 values)
immune_to_infested
For entities that cannot be affected by the Infested effect.
- [NBT List / JSON Array] #minecraft:immune_to_infested (1 values)
minecraft:silverfish
immune_to_oozing
For entities that cannot be affected by the Oozing effect.
- [NBT List / JSON Array] #minecraft:immune_to_oozing (1 values)
minecraft:slime
impact_projectiles
Used to determine what entities can break chorus flowers and decorated pots when hit.
Entities can be removed from this tag, but only entities that activate targets work when added.
Tridents additionally break pointed dripstone, if not removed from this tag.
- [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
For entities that have inverted meanings of the Healing and Harm effects.
- [NBT List / JSON Array] #minecraft:inverted_healing_and_harm (1 values)
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
For entities that do not cause pufferfish to puff
- [NBT List / JSON Array] #minecraft:not_scary_for_pufferfish (11 values)
minecraft:codminecraft:dolphinminecraft:elder_guardianminecraft:glow_squidminecraft:guardianminecraft:pufferfishminecraft:salmonminecraft:squidminecraft:tadpoleminecraft:tropical_fishminecraft:turtle
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
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
Determines which entities get the glowing effect when ringing a bell.
Entities in this tag 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, similar to the Ghast Fireball.
- [NBT List / JSON Array] #minecraft:redirectable_projectile (3 values)
minecraft:breeze_wind_chargeminecraft:fireballminecraft:wind_charge
sensitive_to_bane_of_arthropods
For entities sensitive to Bane of Arthropods.
- [NBT List / JSON Array] #minecraft:sensitive_to_bane_of_arthropods (1 values)
sensitive_to_impaling
For entities sensitive to Impaling.
- [NBT List / JSON Array] #minecraft:sensitive_to_impaling (1 values)
sensitive_to_smite
For entities sensitive to Smite.
- [NBT List / JSON Array] #minecraft:sensitive_to_smite (1 values)
skeletons
Makes creepers drop music discs when killed by a tagged mob.
Used in the 'entities/creeper.json' loot table.
Used in the #undead tag.
- [NBT List / JSON Array] #minecraft:skeletons (5 values)
minecraft:boggedminecraft: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
For entities that the wither does not target and which cannot harm the Wither.
- [NBT List / JSON Array] #minecraft:wither_friends (1 values)
zombies
Groups together all zombie type mobs. It does not seem to have any use in vanilla aside from being used in other tags.
Used in the #undead tag.
- [NBT List / JSON Array] #minecraft:zombies (7 values)
minecraft:drownedminecraft:huskminecraft:zoglinminecraft:zombieminecraft:zombie_horseminecraft: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. | ||||||
| |||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||