Zoglin - minecraft.fandom.com

Treść tej podstrony pochodzi z artykułu „Zoglin” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
For other pig-like mobs, see Pig (disambiguation).

A zoglin is an undead hostile mob created when a hoglin enters the Overworld or End. It never retreats or flees, and attacks players and almost all non-zoglin mobs indiscriminately, using the same tusk attack as its non-zombified counterpart.

Spawning[]

Zoglins spawn when a hoglin has been in the Overworld or the End for 300 game ticks (15 seconds). For their first 10 seconds after zombification, they get the nausea effect. This nausea effect is cosmetic and does not affect its behavior.

Drops[]

Behavior[]

Zoglins are hostile toward armor stands[1], players in Survival or Adventure mode (except in Peaceful difficulty), and all mobs regardless of classification except creepers, ghasts, and other zoglins. This also extends to zombified piglins[2] and hoglins.

When an adult zoglin attacks, it flings its target into the air. Blocking with shields does not mitigate this. When a baby zoglin attacks, they do not fling their target. Baby zoglins, unlike baby hoglins, never grow up. Any mob that can retaliate attacks a zoglin in return after being attacked.[needs testing]

In Java Edition adult zoglins attack once every two seconds and babies attack every second. In Bedrock Edition, both adults and babies attack once every second, making them more destructive compared to Java Edition, even on peaceful difficulty.

When a zoglin attacks a piglin, the piglin either retreats or fights back. Piglin brutes attack zoglins if they are attacked first and never retreat. They also attack the zoglin if the zoglin attacks a piglin or another piglin brute.

If a zoglin is fed crimson fungus before it is zombified, it does not despawn naturally and it doesn't count toward the mob cap.

Zoglins are incapable of breeding and do not flee from blocks that repel hoglins. Zoglins can be leashed. Unlike baby hoglins, baby zoglins attack baby zombified piglins. Piglins flee from zoglins if they are not engaged in combat.

In water, they sink to the bottom and wander about as if on dry land. They do not drown.

Being an undead mob, they are:

Like zombified piglins, they are immune to fire and lava.

Provocation by other mobs[]

Java Edition[]

Entity Zoglin attacks the mob? Attacks the zoglin? Notes
Bee Yes When attacked, group retaliates
Blaze Yes When attacked, group retaliates
Bogged Yes When attacked
Breeze Yes When attacked
Chicken Jockey Yes When attacked, group retaliates When a zombified piglin rider is attacked, the group of zombified piglins retaliate.
Creaking Yes No Creakings do not retaliate.
Creeper No No
Dolphin Yes When attacked, group retaliates
Ender Dragon Yes Accidentally When in near vicinity, zoglins try to attack the ender dragon, although they are rarely able to.
Enderman Yes When attacked
Endermite Yes When attacked, group retaliates
Ghast No No
Goat Yes No
Guardian
Elder Guardian
Yes No Guardians and Elder Guardians do not retaliate.
Hoglin Yes When attacked, group retaliates A group of hoglins does not retaliate if babies are attacked.
Illagers:

Evoker
Illusioner[unused mob][Java Edition only]
Pillager
Ravager
Vex
Vindicator

Yes When attacked Zoglins also attack unarmed pillagers.
Iron Golem Yes Yes
Llama
Trader Llama
Yes Yes
Magma Cube Yes No
Panda Yes When attacked, aggressive pandas retaliate Non-aggressive pandas only attack once. When a panda is attacked, nearby aggressive pandas retaliate against the zoglin
Phantom Yes No
Piglin Yes When attacked, group retaliates Zoglins also attack baby piglins, despite them being passive.
Piglin Brute Yes When attacked, group retaliates
Player Yes At player's discretion
Polar Bear Yes When attacked, group retaliates Polar bears attack as a group if a cub is attacked.
Pufferfish Yes Defensive
Shulker Yes When attacked, group retaliates
Silverfish Yes When attacked, group retaliates
Skeleton
Skeleton Horseman
Stray
Wither Skeleton
Yes When attacked Zoglins attack Skeletons riding skeleton horses.
Slime Yes When attacked
Spider
Cave Spider
Spider Jockey
Yes When attacked
Warden Yes When attacked or noticed Zoglins always attack wardens that are in range. Wardens retaliate when noticing the zoglins' attacks.
Witch Yes When attacked
Wither Yes No Zoglins always attack withers, even when the attacks do no damage while the wither is generating health after being summoned.
Wolf (wild) Yes When attacked, group retaliates
Wolf (tamed) Yes In defense of owner Tamed wolves attack the zoglins if the owner attacks the zoglins.
Zoglin No No Zoglins never attack each other, and cannot hit each other by accident.
Zombie variants:

Drowned
Husk
Zombie
Zombie Villager

Yes When attacked, group retaliates Swimming drowned do not attack any mob that is not touching water during daytime.
Zombified Piglin Yes When attacked, group retaliates
All other mobs Yes No

Sounds[]

Java Edition:
Zoglins use the Hostile Creatures sound category for entity-dependent sound events.

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Zoglin growlsHostile CreaturesRandomlyentity.zoglin.ambientsubtitles.entity.zoglin.ambient0.90.8-1.2
(Baby: 1.3-1.7) [sound 1]
16
Zoglin growls angrilyHostile CreaturesRandomly while a zoglin is chasing somethingentity.zoglin.angrysubtitles.entity.zoglin.angry0.80.8-1.2
(Baby: 1.3-1.7)
16
Zoglin attacksHostile CreaturesWhen a zoglin attacks somethingentity.zoglin.attacksubtitles.entity.zoglin.attack0.8varies [sound 2]16
Zoglin diesHostile CreaturesWhen a zoglin diesentity.zoglin.deathsubtitles.entity.zoglin.death0.930.8-1.2
(Baby: 1.3-1.7)
16
Zoglin hurtsHostile CreaturesWhen a zoglin is damagedentity.zoglin.hurtsubtitles.entity.zoglin.hurt0.9[sound 3]0.8-1.2
(Baby: 1.3-1.7)
16
FootstepsHostile CreaturesWhile a zoglin is walkingentity.zoglin.stepsubtitles.block.generic.footsteps0.151.016
Hoglin converts to ZoglinHostile CreaturesWhen a hoglin converts into a zoglin via the Overworld or the Endentity.hoglin.converted_to_zombifiedsubtitles.entity.hoglin.converted_to_zombified0.80.8-1.2
(Baby: 1.3-1.7)
16
  1. Except idle2, which is 0.64-0.96 (Baby: 1.04-1.36)
  2. Can be 0.8-1.2 (Baby: 1.3-1.7) or 0.64-0.96 (Baby: 1.04-1.36) for each sound
  3. Except hurt1, which is 0.83

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
Hostile CreaturesRandomlymob.zoglin.idle1.00.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesUnused sound event[sound 1]mob.zoglin.angry1.00.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesWhen a zoglin attacks somethingmob.zoglin.attack1.00.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesWhen a zoglin diesmob.zoglin.death1.00.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesWhen a zoglin is damagedmob.zoglin.hurt1.00.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesWhile a zoglin is walkingmob.zoglin.step0.151.0 (Baby: 1.5)
Hostile CreaturesWhen a hoglin converts into a zoglin via the Overworld or the Endmob.piglin.converted_to_zombified1.00.9-1.1

Data values[]

ID[]

Java Edition:

NameIdentifierTranslation key
Zoglinzoglinentity.minecraft.zoglin

Bedrock Edition:

NameIdentifierNumeric ID Translation key
Zoglinzoglin126entity.zoglin.name

Entity data[]

Zoglins have entity data associated with them that contains various properties.

Java Edition:

Main article: Entity format
  • Entity data
    • Tags common to all entities
    • Tags common to all mobs
    •  IsBaby: 1 or 0 (true/false) - true if the zoglin is a baby. May not exist.

Bedrock Edition:

See Bedrock Edition level format/Entity format.

Advancements[]

Icon Advancement In-game description Parent Actual requirements (if different) Resource location

Advancement-plain-rawAdventure
Adventure, exploration and combat Kill any entity, or be killed by any entity.adventure/root

Advancement-plain-rawMonster Hunter
Kill any hostile monster AdventureKill one of these 41 mobs: Only the riders of the chicken jockeys and skeleton horsemen are counted in this advancement. Other mobs like the warden may be killed, but are ignored for this advancement.adventure/kill_a_mob

Advancement-plain-rawA Throwaway Joke
Throw a Trident at something.
Note: Throwing away your only weapon is not a good idea.
Monster HunterHit a mob with a thrown trident.adventure/throw_trident

Advancement-fancy-rawIt Spreads
Kill a mob near a Sculk Catalyst Monster HunterKill one of these 70 mobs near a sculk catalyst: Mobs that drop no experience are ignored for this advancement.adventure/kill_mob_near_sculk_catalyst

Advancement-plain-rawTake Aim
Shoot something with an Arrow Monster HunterUsing a bow or a crossbow, shoot an entity with an arrow, tipped arrow, or spectral arrow.adventure/shoot_arrow

Advancement-fancy-rawMonsters Hunted
Kill one of every hostile monster Monster HunterKill each of these 41 mobs: Other mobs may be killed, but are ignored for this advancement. Only the riders of the chicken jockeys and skeleton horsemen are counted in this advancement.adventure/kill_all_mobs


History[]

Java Edition
1.1620w14aZoglin Baby Zoglin Added zoglins.
20w15aZoglins are now undead mobs.
20w18aAn "IsBaby" tag has been added to allow summoning and correct saving of baby zoglins.
20w19aHoglins now become zoglins when in the End.
Pre-release 6Zoglins now have a knockback resistance of 0.6 instead of 0.5.
Zoglins now have separate textures for each tusk.
1.16.220w27aZoglins can now be leashed. However, hoglins still break their leash when zombifying.[4]
Bedrock Edition
1.16.0beta 1.16.0.57Zoglin BE Zoglin BE Added zoglins.
Zoglins currently use the same sounds as normal pigs.
beta 1.16.0.63Zoglins now have knockback resistance.
1.16.20beta 1.16.20.50Zoglins now use their unique sounds.
1.16.100beta 1.16.100.54Zoglins now get healed from harming potions and get damaged from the healing ones.
Baby zoglins now have drops after being killed by the player.
beta 1.16.100.55Baby Zoglin BE2 Baby zoglins now have bigger heads to match Java Edition.
?Zoglins no longer use the pig death sound.
1.19.30beta 1.19.30.21Zoglins now have the same hitbox size as Java Edition.

Trivia[]

  • It is the only undead mob that is capable of attacking other undead mobs without modding the game itself[2].

Issues[]

Issues relating to "Zoglin" are maintained on the bug tracker. Report issues there.

Gallery[]

References[]

  1. MC-177122 — "Zoglins try to attack armor stands" — resolved as "Works As Intended".
  2. a b MC-177109 — "Zoglins will attack other undead mobs" — resolved as "Works As Intended".
  3. MC-177878
  4. MC-196736