VOOZH about

URL: https://minecraft.wiki/w/Entity_tag

โ‡ฑ Entity type tag (Java Edition) โ€“ Minecraft Wiki


Entity type tag (Java Edition)

From Minecraft Wiki
(Redirected from Entity tag)
Jump to navigation Jump to search
๐Ÿ‘ Image
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

[edit | edit source]

accepts_iron_golem_gift

[edit | edit source]

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

[edit | edit source]

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:axolotl
    • minecraft:cod
    • minecraft:dolphin
    • minecraft:elder_guardian
    • minecraft:glow_squid
    • minecraft:guardian
    • minecraft:nautilus
    • minecraft:pufferfish
    • minecraft:salmon
    • minecraft:squid
    • minecraft:tadpole
    • minecraft:tropical_fish
    • minecraft:turtle
    • minecraft:zombie_nautilus

arrows

[edit | edit source]

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:arrow
    • minecraft:spectral_arrow

arthropod

[edit | edit source]

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:bee
    • minecraft:cave_spider
    • minecraft:endermite
    • minecraft:silverfish
    • minecraft:spider

axolotl_always_hostiles

[edit | edit source]

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

[edit | edit source]

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

[edit | edit source]

Entities in this tag can be in beehives.

  • [NBT List / JSON Array] #minecraft:beehive_inhabitors (1 values)
    • minecraft:bee

Used by the advancement "Whatever Floats Your Goat!".

  • [NBT List / JSON Array] #minecraft:boat (11 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:poplar_boatโ€‹[upcoming: JE 26.3]
    • minecraft:spruce_boat

burn_in_daylight

[edit | edit source]

Entities in this tag burn in direct sunlight. Wither skeletons remain unaffected due to being immune to fire.

  • [NBT List / JSON Array] #minecraft:burn_in_daylight (10 values)
    • minecraft:bogged
    • minecraft:drowned
    • minecraft:phantom
    • minecraft:skeleton
    • minecraft:stray
    • minecraft:wither_skeleton
    • minecraft:zombie
    • minecraft:zombie_horse
    • minecraft:zombie_nautilus
    • minecraft:zombie_villager

can_breathe_under_water

[edit | edit source]

Entities in this tag cannot drown underwater.

  • [NBT List / JSON Array] #minecraft:can_breathe_under_water (16 values)
    • #minecraft:undead
    • minecraft:armor_stand
    • minecraft:axolotl
    • minecraft:cod
    • minecraft:copper_golem
    • minecraft:elder_guardian
    • minecraft:frog
    • minecraft:glow_squid
    • minecraft:guardian
    • minecraft:nautilus
    • minecraft:pufferfish
    • minecraft:salmon
    • minecraft:squid
    • minecraft:tadpole
    • minecraft:tropical_fish
    • minecraft:turtle

can_equip_harness

[edit | edit source]

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

[edit | edit source]

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:camel
    • minecraft:camel_husk
    • minecraft:donkey
    • minecraft:horse
    • minecraft:mule
    • minecraft:nautilus
    • minecraft:pig
    • minecraft:skeleton_horse
    • minecraft:strider
    • minecraft:zombie_horse
    • minecraft:zombie_nautilus

can_float_while_ridden

[edit | edit source]

Entities in this tag can float in water while being ridden by a player.

  • [NBT List / JSON Array] #minecraft:can_float_while_ridden (6 values)
    • minecraft:camel
    • minecraft:camel_husk
    • minecraft:donkey
    • minecraft:horse
    • minecraft:mule
    • minecraft:zombie_horse

can_turn_in_boats

[edit | edit source]

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

[edit | edit source]

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:horse
    • minecraft:zombie_horse

can_wear_nautilus_armor

[edit | edit source]

Entities in this tag can be equipped with nautilus armor in their body slot.

  • [NBT List / JSON Array] #minecraft:can_wear_nautilus_armor (2 values)
    • minecraft:nautilus
    • minecraft:zombie_nautilus

candidate_for_iron_golem_gift

[edit | edit source]

Iron golems will offer poppies to entities in this tag.

cannot_be_age_locked

[edit | edit source]

Baby variants of entities in this tag cannot be permanently set to a baby using a golden dandelion. Note that this tag does not include baby mobs that do not grow up in the first place, such as baby zombies (and variants), zoglins, and piglins.

  • [NBT List / JSON Array] #minecraft:cannot_be_age_locked (3 values)
    • minecraft:skeleton_horse
    • minecraft:villager
    • minecraft:zombie_horse

cannot_be_dismounted_by_item_usage

[edit | edit source]

โ€‹[more information needed]

  • [NBT List / JSON Array] #minecraft:cannot_be_dismounted_by_item_usageโ€‹[upcoming: JE 26.3] (1 values)
    • minecraft:interaction

cannot_be_pushed_onto_boats

[edit | edit source]

Entities in this tag will not automatically enter boats when nearby enough.

  • [NBT List / JSON Array] #minecraft:cannot_be_pushed_onto_boats (14 values)
    • minecraft:cod
    • minecraft:creaking
    • minecraft:dolphin
    • minecraft:elder_guardian
    • minecraft:glow_squid
    • minecraft:nautilus
    • minecraft:player
    • minecraft:pufferfish
    • minecraft:salmon
    • minecraft:squid
    • minecraft:sulfur_cube
    • minecraft:tadpole
    • minecraft:tropical_fish
    • minecraft:zombie_nautilus

deflects_projectiles

[edit | edit source]

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

[edit | edit source]

Entities in this tag will force their riders to dismount when fully submerged.

  • [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

[edit | edit source]

Entities in this tag cannot take fall damage.

  • [NBT List / JSON Array] #minecraft:fall_damage_immune (18 values)
    • minecraft:allay
    • minecraft:bat
    • minecraft:bee
    • minecraft:blaze
    • minecraft:breeze
    • minecraft:cat
    • minecraft:chicken
    • minecraft:copper_golem
    • 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

[edit | edit source]

Adults of entities in this tag will be followed by ghastlings.

  • [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

[edit | edit source]

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

[edit | edit source]

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

[edit | edit source]

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

[edit | edit source]

For entities that cannot be affected by Poison and Regeneration effects.

  • [NBT List / JSON Array] #minecraft:ignores_poison_and_regen (1 values)

illager

[edit | edit source]

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:evoker
    • minecraft:illusioner
    • minecraft:pillager
    • minecraft:vindicator

illager_friends

[edit | edit source]

Illagers consider entities in this tag to be allies, unless on a different team.

immune_to_infested

[edit | edit source]

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

[edit | edit source]

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

[edit | edit source]

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: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

[edit | edit source]

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

[edit | edit source]

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

[edit | edit source]

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

non_controlling_rider

[edit | edit source]

Entities in this tag do not override the AI of entities they are riding.

  • [NBT List / JSON Array] #minecraft:non_controlling_rider (3 values)
    • minecraft:magma_cube
    • minecraft:slime
    • minecraft:sulfur_cube

not_affected_by_geysers

[edit | edit source]

Geysers never affect the movement of entities in this tag.

  • [NBT List / JSON Array] #minecraft:not_affected_by_geysers (1 values)
    • minecraft:ender_dragon

not_scary_for_pufferfish

[edit | edit source]

Entities in this tag do not cause nearby pufferfish to inflate.

  • [NBT List / JSON Array] #minecraft:not_scary_for_pufferfish (14 values)
    • minecraft:cod
    • minecraft:dolphin
    • minecraft:elder_guardian
    • minecraft:glow_squid
    • minecraft:guardian
    • minecraft:nautilus
    • minecraft:pufferfish
    • minecraft:salmon
    • minecraft:squid
    • minecraft:sulfur_cube
    • minecraft:tadpole
    • minecraft:tropical_fish
    • minecraft:turtle
    • minecraft:zombie_nautilus

powder_snow_walkable_mobs

[edit | edit source]

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

[edit | edit source]

Entities in this tag then follow on to achieve the effect of Glowing 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:evoker
    • minecraft:illusioner
    • minecraft:pillager
    • minecraft:ravager
    • minecraft:vindicator
    • minecraft:witch

redirectable_projectile

[edit | edit source]

Projectile entities with this tag get reflected by left clicking them.

  • [NBT List / JSON Array] #minecraft:redirectable_projectile (3 values)
    • minecraft:breeze_wind_charge
    • minecraft:fireball
    • minecraft:wind_charge

sensitive_to_bane_of_arthropods

[edit | edit source]

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

[edit | edit source]

Entities in this tag are affected by the Impaling enchantment.

sensitive_to_smite

[edit | edit source]

Entities in this tag are affected by the Smite enchantment.

  • [NBT List / JSON Array] #minecraft:sensitive_to_smite (1 values)

skeletons

[edit | edit source]

Used in the 'entities/creeper.json' loot table to determine whether a random item in #creeper_drop_music_discs should drop.

Used in the #undead tag.

  • [NBT List / JSON Array] #minecraft:skeletons (6 values)
    • minecraft:bogged
    • minecraft:parched
    • minecraft:skeleton
    • minecraft:skeleton_horse
    • minecraft:stray
    • minecraft:wither_skeleton

undead

[edit | edit source]

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

[edit | edit source]

Entities in this tag are not targeted by and cannot hurt withers.

zombies

[edit | edit source]

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
    • minecraft:drowned
    • minecraft:husk
    • minecraft:zoglin
    • minecraft:zombie
    • minecraft:zombie_horse
    • minecraft:zombie_nautilus
    • minecraft:zombie_villager
    • minecraft:zombified_piglin

Removed tags

[edit | edit source]

axolotl_tempted_hostiles

[edit | edit source]

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

[edit | edit source]

Replaced with #deflects_projectiles.

Version added: 23w45a. Version removed: 24w03a.

  • [NBT List / JSON Array] #minecraft:deflects_arrows (1 values)
    • minecraft:breeze

deflects_tridents

[edit | edit source]

Replaced with #deflects_projectiles

Version added: 23w45a. Version removed: 24w03a.

  • [NBT List / JSON Array] #minecraft:deflects_tridents (1 values)
    • minecraft:breeze

History

[edit | edit source]
Java Edition
1.1418w43aAdded entity type tag.
Added #skeletons tag.
19w13bAdded #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.
21w13aAdded #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.
1.21.925w31aAdded copper_golem to #can_breathe_under_water, and #fall_damage_immune tags.
25w33aAdded #accepts_iron_golem_gift, #candidate_for_iron_golem_gift, and #cannot_be_pushed_onto_boats tags.
25w34aRemoved guardian from #cannot_be_pushed_onto_boats tag.
1.21.1125w41aAdded #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.
25w42aAdded bogged, skeleton, stray, and wither_skeleton and removed #skeletons from #burn_in_daylight tag.
25w43aAdded nautilus, and zombie_nautilus to #cannot_be_pushed_onto_boats tag.
25w44aAdded #can_float_while_ridden tag.
Added camel_husk to #can_equip_saddle tag.
Added parched to #skeletons tag.
Added camel_husk to #zombies tag.
pre1Added camel_husk to #can_float_while_ridden tag.
26.1snap5Added #cannot_be_age_locked tag.
snap6Added skeleton_horse, zombie_horse, and villager to #cannot_be_age_locked tag.
snap7Removed camel_husk, and hoglin from #cannot_be_age_locked tag.
26.2snap1Added sulfur_cube to #non_controlling_rider, and #not_scary_for_pufferfish tags.
snap3Added sulfur_cube to #cannot_be_pushed_onto_boats tag.
pre4Added #not_affected_by_geysers tag.
Upcoming Java Edition
26.3snap1Added #cannot_be_dismounted_by_item_usage tag.
Added poplar_boat to #boat tag.

Navigation

[edit | edit source]
Retrieved from "https://minecraft.wiki/w/Entity_type_tag_(Java_Edition)?oldid=3643182"

Navigation menu