Entity type tag (Java Edition)

This article is about the grouping of types of entities. For grouping of individual entities, see Scoreboard § Tags.

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:axolotl
    • minecraft:cod
    • minecraft:dolphin
    • minecraft:elder_guardian
    • minecraft:glow_squid
    • minecraft:guardian
    • minecraft:pufferfish
    • minecraft:salmon
    • minecraft:squid
    • minecraft:tadpole
    • minecraft:tropical_fish
    • minecraft: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:arrow
    • minecraft: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:bee
    • minecraft:cave_spider
    • minecraft:endermite
    • minecraft:silverfish
    • minecraft:spider

axolotl_always_hostiles

Axolotls are always hostile toward entities in this tag.

  • [NBT List / JSON Array] #minecraft:axolotl_always_hostiles (3 values)
    • minecraft:drowned
    • minecraft:elder_guardian
    • minecraft: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:cod
    • minecraft:glow_squid
    • minecraft:pufferfish
    • minecraft:salmon
    • minecraft:squid
    • minecraft:tadpole
    • minecraft: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_boat
    • minecraft:bamboo_raft
    • minecraft:birch_boat
    • minecraft:cherry_boat
    • minecraft:dark_oak_boat
    • minecraft:jungle_boat
    • minecraft:mangrove_boat
    • minecraft:oak_boat
    • minecraft:pale_oak_boat
    • minecraft: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:undead
    • minecraft:armor_stand
    • minecraft:axolotl
    • minecraft:cod
    • minecraft:elder_guardian
    • minecraft:frog
    • minecraft:glow_squid
    • minecraft:guardian
    • minecraft:pufferfish
    • minecraft:salmon
    • minecraft:squid
    • minecraft:tadpole
    • minecraft:tropical_fish
    • minecraft: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:camel
    • minecraft:donkey
    • minecraft:horse
    • minecraft:mule
    • minecraft:pig
    • minecraft:skeleton_horse
    • minecraft:strider
    • minecraft: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:camel
    • minecraft:chicken
    • minecraft:donkey
    • minecraft:happy_ghast
    • minecraft:horse
    • minecraft:llama
    • minecraft:mule
    • minecraft:pig
    • minecraft:ravager
    • minecraft:spider
    • minecraft:strider
    • minecraft:trader_llama
    • minecraft:zombie_horse

fall_damage_immune

Entities in this tag cannot take fall damage.

  • [NBT List / JSON Array] #minecraft:fall_damage_immune (17 values)
    • minecraft:allay
    • minecraft:bat
    • minecraft:bee
    • minecraft:blaze
    • minecraft:breeze
    • minecraft:cat
    • minecraft:chicken
    • minecraft:ghast
    • minecraft:happy_ghast
    • minecraft:iron_golem
    • minecraft:magma_cube
    • minecraft:ocelot
    • minecraft:parrot
    • minecraft:phantom
    • minecraft:shulker
    • minecraft:snow_golem
    • minecraft:wither

followable_friendly_mobs

  • [NBT List / JSON Array] #minecraft:followable_friendly_mobs (25 values)
    • minecraft:armadillo
    • minecraft:bee
    • minecraft:camel
    • minecraft:cat
    • minecraft:chicken
    • minecraft:cow
    • minecraft:donkey
    • minecraft:fox
    • minecraft:goat
    • minecraft:happy_ghast
    • minecraft:horse
    • minecraft:llama
    • minecraft:mule
    • minecraft:ocelot
    • minecraft:panda
    • minecraft:parrot
    • minecraft:pig
    • minecraft:polar_bear
    • minecraft:rabbit
    • minecraft:sheep
    • minecraft:skeleton_horse
    • minecraft:sniffer
    • minecraft:strider
    • minecraft:villager
    • minecraft: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:blaze
    • minecraft:magma_cube
    • minecraft: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_bear
    • minecraft:snow_golem
    • minecraft:stray
    • minecraft:wither

frog_food

Entities in this tag are eaten by Frogs.

  • [NBT List / JSON Array] #minecraft:frog_food (2 values)
    • minecraft:magma_cube
    • minecraft: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:evoker
    • minecraft:illusioner
    • minecraft:pillager
    • minecraft:vindicator

illager_friends

For entities that Illagers consider allies (unless on a different team).

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:arrows
    • minecraft:breeze_wind_charge
    • minecraft:dragon_fireball
    • minecraft:egg
    • minecraft:fireball
    • minecraft:firework_rocket
    • minecraft:small_fireball
    • minecraft:snowball
    • minecraft:trident
    • minecraft:wind_charge
    • minecraft: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_cube
    • minecraft: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:cod
    • minecraft:dolphin
    • minecraft:elder_guardian
    • minecraft:glow_squid
    • minecraft:guardian
    • minecraft:pufferfish
    • minecraft:salmon
    • minecraft:squid
    • minecraft:tadpole
    • minecraft:tropical_fish
    • minecraft: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:bogged
    • minecraft:breeze
    • minecraft:cave_spider
    • minecraft:husk
    • minecraft:skeleton
    • minecraft:slime
    • minecraft:spider
    • minecraft:stray
    • minecraft: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:endermite
    • minecraft:fox
    • minecraft:rabbit
    • minecraft: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:evoker
    • minecraft:illusioner
    • minecraft:pillager
    • minecraft:ravager
    • minecraft:vindicator
    • minecraft: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_charge
    • minecraft:fireball
    • minecraft: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.

sensitive_to_smite

For entities sensitive to Smite.

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:bogged
    • minecraft:skeleton
    • minecraft:skeleton_horse
    • minecraft:stray
    • minecraft: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.

wither_friends

For entities that the wither does not target and which cannot harm the Wither.

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:drowned
    • minecraft:husk
    • minecraft:zoglin
    • minecraft:zombie
    • minecraft:zombie_horse
    • minecraft:zombie_villager
    • minecraft: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:drowned
    • minecraft: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.1418w43aAdded entity type tag.
Added #skeletons tag.
1.1419w13bAdded #raiders tag.
1.1519w36aAdded #beehive_inhabitors tag.
19w45aAdded #arrows tag.
1.1620w09aAdded #impact_projectiles tag.
1.1720w46aAdded #powder_snow_walkable_mobs tag.
20w51aAdded #axolotl_always_hostiles, and #axolotl_tempted_hostiles tags.
21w03aAdded #axolotl_always_hostiles tag.
21w05aAdded fox to #powder_snow_walkable_mobs tag.
21w13aRenamed 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.
21w17aAdded wither to #freeze_immune_entity_types tag.
1.1922w11aAdded tadpole to #axolotl_hunt_targets tag.
22w14aAdded #frog_food tag.
1.19.4Pre-release 1Added #fall_damage_immune tag.
Pre-release 2Added #dismounts_underwater tag.
1.20.223w31aAdded #non_controlling_rider tag.
1.20.323w40aAdded #can_breathe_under_water, #undead, and #zombies tags.
Added skeleton_horse to #skeletons tag.
23w42aAdded firework_rocket to #impact_projectiles tag.
1.20.3
Experiment
Update 1.21
23w45aAdded #deflects_arrows, and #deflects_tridents tags.
Added breeze to #deflects_arrows, #deflects_tridents, and #fall_damage_immune tag.
Pre-Release 1Added #can_turn_in_boats tag.
Pre-Release 2Added wind_charge to #impact_projectiles tag.
1.20.524w03aAdded #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
Update 1.21
24w03aRenamed tags #deflects_tridents to #deflects_projectiles, and #deflects_arrows to #deflects_projectiles.
24w04aAdded #no_anger_from_wind_charge tag.
24w06aAdded breeze_wind_charge to #impact_projectiles tag.
24w07aAdded bogged to #no_anger_from_wind_charge tag.
Added bogged to #skeletons tag.
1.20.524w12aAdded #sensitive_to_smite tag.
1.20.5
Experiment
Update 1.21
24w13aAdded #immune_to_infested, and #immune_to_oozing tags.
1.20.5Pre-release 1Added #punchable_projectiles tag.
1.20.5
Experiment
Update 1.21
Pre-release 1Added #punchable_projectiles tag.
Added breeze_wind_charge, and wind_charge to #punchable_projectiles tag.
1.20.5Pre-Release 3Renamed tag #punchable_projectiles to #redirectable_projectile.
Added #redirectable_projectile tag.
Removed #punchable_projectiles tag.
1.20.5
Experiment
Update 1.21
Pre-Release 3Renamed 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.2124w19aMoved folder tags/entity_types to tags/entity_type.
24w18aExperimental tags are now available without using the "Update 1.21" experimental datapack.
1.21.224w39aAdded #boat tag.
1.21.525w03aAdded #can_equip_saddle tag.
25w04aAdded #can_wear_horse_armor tag.
1.21.625w15aAdded #can_equip_harness, and #followable_friendly_mobs tags.
Added happy_ghast to #dismounts_underwater, and #fall_damage_immune tags.
25w18aAdded happy_ghast to #followable_friendly_mobs tag.

Navigation