Class LivingKnockbackEventFabric

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<Object[]>
mods.thecomputerizer.theimpossiblelibrary.fabric.common.event.events.LivingKnockbackEventFabric
All Implemented Interfaces:
CommonFabricEvent

public class LivingKnockbackEventFabric extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<Object[]> implements CommonFabricEvent
  • 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.events.LivingKnockbackEventWrapper

    attacker, originalAttacker, originalRatioX, originalRatioZ, originalStrength, ratioX, ratioZ, strength

    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
    net.fabricmc.fabric.api.event.Event<?>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?>>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?,?>>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?>>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Double>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Double>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Float>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Double>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Double>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Float>
     

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

    getAttacker, getOriginalAttacker, getOriginalRatioX, getOriginalRatioZ, getOriginalStrength, getRatioX, getRatioZ, getStrength, populate, setAttacker, setRatioX, setRatioZ, setStrength

    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

    cancel, getEvent, getPriority, getResult, getType, hasInvokers, hasResult, initPrimitive, isCancelable, isCanceled, setCanceled, setEvent, 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

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.fabric.common.event.CommonFabricEvent

    cancel, createEventProxy, register, registerInvoke, registerReturn, wrapArrayGetter, wrapArrayGetter
  • Constructor Details

    • LivingKnockbackEventFabric

      public LivingKnockbackEventFabric()
  • Method Details

    • getEventInstance

      public net.fabricmc.fabric.api.event.Event<?> getEventInstance()
      Specified by:
      getEventInstance in interface CommonFabricEvent
    • wrapAttackerField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?>> wrapAttackerField()
      Specified by:
      wrapAttackerField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<Object[]>
    • wrapLivingField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?,?>> wrapLivingField()
      Specified by:
      wrapLivingField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<Object[]>
    • wrapOriginalAttackerField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.entity.EntityAPI<?,?>> wrapOriginalAttackerField()
      Specified by:
      wrapOriginalAttackerField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<Object[]>
    • wrapOriginalRatioXField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Double> wrapOriginalRatioXField()
      Specified by:
      wrapOriginalRatioXField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<Object[]>
    • wrapOriginalRatioZField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Double> wrapOriginalRatioZField()
      Specified by:
      wrapOriginalRatioZField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<Object[]>
    • wrapOriginalStrengthField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Float> wrapOriginalStrengthField()
      Specified by:
      wrapOriginalStrengthField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<Object[]>
    • wrapRatioXField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Double> wrapRatioXField()
      Specified by:
      wrapRatioXField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<Object[]>
    • wrapRatioZField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Double> wrapRatioZField()
      Specified by:
      wrapRatioZField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<Object[]>
    • wrapStrengthField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Float> wrapStrengthField()
      Specified by:
      wrapStrengthField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingKnockbackEventWrapper<Object[]>