Class LivingItemUseTickEventFabric
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.types.CommonLivingStackEventType<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingStackUseEventType<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingItemUseTickEventWrapper<Object[]>
mods.thecomputerizer.theimpossiblelibrary.fabric.common.event.events.LivingItemUseTickEventFabric
- All Implemented Interfaces:
CommonFabricEvent
public class LivingItemUseTickEventFabric
extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.LivingItemUseTickEventWrapper<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.types.CommonLivingStackUseEventType
durationFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingStackEventType
stackFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType
livingFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper
event -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.fabricmc.fabric.api.event.Event<?> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], Integer> 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.item.ItemStackAPI<?>> Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingStackUseEventType
getDuration, populate, setDurationMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingStackEventType
getStackMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper
isClient, isCommon, isServerMethods 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, wrapWorldGetterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mods.thecomputerizer.theimpossiblelibrary.fabric.common.event.CommonFabricEvent
cancel, createEventProxy, register, registerInvoke, registerReturn, wrapArrayGetter, wrapArrayGetter
-
Constructor Details
-
LivingItemUseTickEventFabric
public LivingItemUseTickEventFabric()
-
-
Method Details
-
getEventInstance
public net.fabricmc.fabric.api.event.Event<?> getEventInstance()- Specified by:
getEventInstancein interfaceCommonFabricEvent
-
wrapDurationField
-
wrapLivingField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.entity.LivingEntityAPI<?,?>> wrapLivingField()- Specified by:
wrapLivingFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingEventType<Object[]>
-
wrapStackField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?>> wrapStackField()- Specified by:
wrapStackFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonLivingStackEventType<Object[]>
-