Class LivingItemUseFinishEventNeoForge

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.CommonEntityEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingStackEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingStackUseEventType<E>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingItemUseFinishEventWrapper<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish>
mods.thecomputerizer.theimpossiblelibrary.neoforge.common.event.events.LivingItemUseFinishEventNeoForge
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor

public class LivingItemUseFinishEventNeoForge extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingItemUseFinishEventWrapper<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish>
  • 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.LivingItemUseFinishEventWrapper

    stackResult

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

    duration

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

    stack

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

    living

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

    entity

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

    event

    Fields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor

    BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onEvent(net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish event)
     
    void
    setEvent(net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish event)
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish,Integer>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish,mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?,?>>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish,mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish,mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>>
     

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

    getStackResult, populate, setResult

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

    getDuration, setDuration

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

    getStack

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

    getEntity, getLivingEntity, wrapEntityField

    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

    actionResultGetter, actionResultSetter, cancel, cast, eventResultGetter, eventResultSetter, getEvent, getPriority, getResult, getter, getter, getter, getter, getType, hasInvokers, hasResult, initPrimitive, isCancelable, isCanceled, nestedGetter, nestedGetter, nestedGetter, nestedGetter, setCanceled, setPriority, setResult, setter, setter, setter, setter, wrapActionResultBoth, wrapAdvancement, wrapAdvancementBoth, wrapAdvancementGetter, wrapBlock, wrapBlockBoth, wrapBlockEntity, wrapBlockEntityBoth, wrapBlockEntityGetter, wrapBlockGetter, wrapBoth, wrapBoth, wrapDamage, wrapDamage, wrapDamageGetter, wrapDamageGetter, wrapEntity, wrapEntityBoth, wrapEntityGetter, wrapEventResultBoth, wrapExplosion, wrapExplosionBoth, wrapExplosionGetter, wrapGenericBoth, wrapGenericGetter, wrapGetter, wrapGetter, 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

    • LivingItemUseFinishEventNeoForge

      public LivingItemUseFinishEventNeoForge()
  • Method Details

    • onEvent

      public static void onEvent(net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish event)
    • setEvent

      public void setEvent(net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish event)
      Overrides:
      setEvent in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish>
    • wrapDurationField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish,Integer> wrapDurationField()
      Specified by:
      wrapDurationField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingStackUseEventType<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish>
    • wrapLivingField

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

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish,mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> wrapStackResultField()
      Specified by:
      wrapStackResultField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingItemUseFinishEventWrapper<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish>
    • wrapStackField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish,mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> wrapStackField()
      Specified by:
      wrapStackField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingStackEventType<net.neoforged.neoforge.event.entity.living.LivingEntityUseItemEvent.Finish>