Class ZombieEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.entity.EntityEvent
net.minecraftforge.event.entity.living.ZombieEvent
Direct Known Subclasses:
ZombieEvent.SummonAidEvent

public class ZombieEvent extends EntityEvent
ZombieEvent is fired whenever a zombie is spawned for aid. If a method utilizes this event as its parameter, the method will receive every child event of this class. All children of this event are fired on the MinecraftForge.EVENT_BUS.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    SummonAidEvent is fired when a Zombie Entity is summoned.

    Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent

    EntityEvent.EnteringSection, EntityEvent.EntityConstructing

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final Zombie
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • zombie

      private final Zombie zombie
  • Constructor Details

    • ZombieEvent

      public ZombieEvent(Zombie zombie)
  • Method Details