Class EntityAttributeCreationEvent

  • All Implemented Interfaces:
    IModBusEvent

    public class EntityAttributeCreationEvent
    extends net.minecraftforge.eventbus.api.Event
    implements IModBusEvent
    EntityAttributeCreationEvent.
    Use this event to register attributes for your own EntityTypes. This event is fired after registration and before common setup.
    Fired on the Mod bus IModBusEvent.
    • Nested Class Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void put​(EntityType<? extends LivingEntity> entity, AttributeModifierMap map)  
      • Methods inherited from class net.minecraftforge.eventbus.api.Event

        getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait