Class PlayerInteractBlockEventFabric
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.CommonPlayerEventType<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractEventType<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractBlockEventType<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.PlayerInteractBlockEventWrapper<Object[]>
mods.thecomputerizer.theimpossiblelibrary.fabric.common.event.events.PlayerInteractBlockEventFabric
- All Implemented Interfaces:
CommonFabricEvent
public class PlayerInteractBlockEventFabric
extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.PlayerInteractBlockEventWrapper<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.CommonPlayerInteractBlockEventType
blockResult, hitVec, itemResultFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractEventType
cancelResult, facing, hand, posFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerEventType
playerFields 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.item.ItemStackAPI<?> protected mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> getWorld()protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.item.ActionResult> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.block.Facing> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.item.Hand> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.shapes.vectors.Vector3> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<?, ?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?>> Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractBlockEventType
getBlockResult, getHitVec, getItemResult, populate, setBlockResult, setCanceled, setItemResultMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractEventType
getCancelResult, getFacing, getHand, getPos, isFacing, isHand, setCancelResultMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerEventType
getPlayerMethods 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, 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
-
PlayerInteractBlockEventFabric
public PlayerInteractBlockEventFabric()
-
-
Method Details
-
getEventInstance
public net.fabricmc.fabric.api.event.Event<?> getEventInstance()- Specified by:
getEventInstancein interfaceCommonFabricEvent
-
getStackInHand
protected mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?> getStackInHand()- Specified by:
getStackInHandin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractEventType<Object[]>
-
getWorld
protected mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> getWorld()- Specified by:
getWorldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractEventType<Object[]>
-
wrapBlockResultField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result> wrapBlockResultField()- Specified by:
wrapBlockResultFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractBlockEventType<Object[]>
-
wrapCancelResultField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.item.ActionResult> wrapCancelResultField()- Specified by:
wrapCancelResultFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractEventType<Object[]>
-
wrapFacingField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.block.Facing> wrapFacingField()- Specified by:
wrapFacingFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractEventType<Object[]>
-
wrapHandField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.item.Hand> wrapHandField()- Specified by:
wrapHandFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractEventType<Object[]>
-
wrapHitVecField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.shapes.vectors.Vector3> wrapHitVecField()- Specified by:
wrapHitVecFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractBlockEventType<Object[]>
-
wrapItemResultField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper.Result> wrapItemResultField()- Specified by:
wrapItemResultFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractBlockEventType<Object[]>
-
wrapPlayerField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<?,?>> wrapPlayerField()- Specified by:
wrapPlayerFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerEventType<Object[]>
-
wrapPosField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?>> wrapPosField()- Specified by:
wrapPosFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractEventType<Object[]>
-