SummonAidEvent is fired when a Zombie Entity is summoned.
This event is fired whenever a Zombie Entity is summoned in
EntityZombie#attackEntityFrom(DamageSource, float).
This event is fired via the
ForgeHooks#fireZombieSummonAid(EntityZombie, World, int, int, int, EntityLivingBase, double)
.
customSummonedAid
remains null, but can be populated with a custom EntityZombie which will be spawned.
world
contains the world that this summoning is occurring in.
x
contains the x-coordinate at which this summoning event is occurring.
y
contains the y-coordinate at which this summoning event is occurring.
z
contains the z-coordinate at which this summoning event is occurring.
attacker
contains the living Entity that attacked and caused this event to fire.
summonChance
contains the likelihood that a Zombie would successfully be summoned.
This event is not
Cancelable
.
This event has a result.
Event.HasResult
Result#ALLOW
Zombie is summoned.
Result#DENY
Zombie is not summoned.
This event is fired on the
MinecraftForge#EVENT_BUS
.