Class LivingAttackedEvent1_12_2

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<net.minecraftforge.event.entity.living.LivingAttackEvent>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper<net.minecraftforge.event.entity.living.LivingAttackEvent>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<net.minecraftforge.event.entity.living.LivingAttackEvent>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingDamageEventType<net.minecraftforge.event.entity.living.LivingAttackEvent>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingAttackedEventWrapper<net.minecraftforge.event.entity.living.LivingAttackEvent>
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.common.event.events.LivingAttackedEvent1_12_2

public class LivingAttackedEvent1_12_2 extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingAttackedEventWrapper<net.minecraftforge.event.entity.living.LivingAttackEvent>
  • 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
     
    static void
    onEvent(net.minecraftforge.event.entity.living.LivingAttackEvent event)
     
    void
    setEvent(net.minecraftforge.event.entity.living.LivingAttackEvent event)
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.minecraftforge.event.entity.living.LivingAttackEvent, mods.thecomputerizer.theimpossiblelibrary.api.common.entity.DamageAPI>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.minecraftforge.event.entity.living.LivingAttackEvent, mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?,?>>
     

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

    getDamageAPI, populate

    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

    • LivingAttackedEvent1_12_2

      public LivingAttackedEvent1_12_2()
  • Method Details

    • onEvent

      public static void onEvent(net.minecraftforge.event.entity.living.LivingAttackEvent event)
    • cancel

      public void cancel()
      Overrides:
      cancel in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<net.minecraftforge.event.entity.living.LivingAttackEvent>
    • setEvent

      public void setEvent(net.minecraftforge.event.entity.living.LivingAttackEvent event)
      Overrides:
      setEvent in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<net.minecraftforge.event.entity.living.LivingAttackEvent>
    • wrapDamageField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.minecraftforge.event.entity.living.LivingAttackEvent, mods.thecomputerizer.theimpossiblelibrary.api.common.entity.DamageAPI> wrapDamageField()
      Specified by:
      wrapDamageField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingDamageEventType<net.minecraftforge.event.entity.living.LivingAttackEvent>
    • wrapLivingField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.minecraftforge.event.entity.living.LivingAttackEvent, mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?,?>> wrapLivingField()
      Specified by:
      wrapLivingField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<net.minecraftforge.event.entity.living.LivingAttackEvent>