Class LivingHurtEventNeoForge<E extends net.neoforged.neoforge.event.entity.living.LivingEvent>

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingDamageEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingHurtEventWrapper<E>
mods.thecomputerizer.theimpossiblelibrary.neoforge.common.event.events.LivingHurtEventNeoForge<E>

public abstract class LivingHurtEventNeoForge<E extends net.neoforged.neoforge.event.entity.living.LivingEvent> extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingHurtEventWrapper<E>
  • Nested Class Summary

    Nested classes/interfaces inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper

    mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper.CommonType<E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper<?>>

    Nested classes/interfaces inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper

    mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.EventType<E extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<?>>, mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result
  • Field Summary

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingDamageEventType

    damage

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType

    living

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper

    event
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    setEvent(E event)
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<E, mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?,?>>
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingHurtEventWrapper

    getAmount, setAmount

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingDamageEventType

    getDamageAPI, populate, wrapDamageField

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper

    isClient, isCommon, isServer

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper

    getEvent, getPriority, getResult, getType, hasInvokers, hasResult, initPrimitive, isCancelable, isCanceled, setCanceled, setPriority, setResult, wrapAdvancement, wrapAdvancementBoth, wrapAdvancementGetter, wrapBlock, wrapBlockBoth, wrapBlockEntity, wrapBlockEntityBoth, wrapBlockEntityGetter, wrapBlockGetter, wrapEntity, wrapEntityBoth, wrapEntityGetter, wrapExplosion, wrapExplosionBoth, wrapExplosionGetter, wrapGenericBoth, wrapGenericGetter, wrapItem, wrapItemBoth, wrapItemGetter, wrapItemStack, wrapItemStackBoth, wrapItemStackGetter, wrapLiving, wrapLivingBoth, wrapLivingGetter, wrapPlayer, wrapPlayerBoth, wrapPlayerGetter, wrapPos, wrapPosBoth, wrapPosGetter, wrapSnapshot, wrapSnapshotBoth, wrapSnapshotGetter, wrapState, wrapStateBoth, wrapStateGetter, wrapWorld, wrapWorldBoth, wrapWorldGetter

    Methods inherited from class java.lang.Object

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

    • LivingHurtEventNeoForge

      public LivingHurtEventNeoForge()
  • Method Details

    • cancel

      public void cancel()
      Overrides:
      cancel in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<E extends net.neoforged.neoforge.event.entity.living.LivingEvent>
    • setEvent

      public void setEvent(E event)
      Overrides:
      setEvent in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<E extends net.neoforged.neoforge.event.entity.living.LivingEvent>
    • wrapLivingField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<E, mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?,?>> wrapLivingField()
      Specified by:
      wrapLivingField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<E extends net.neoforged.neoforge.event.entity.living.LivingEvent>