Class BlockBreakEventFabric
java.lang.Object
- All Implemented Interfaces:
CommonFabricEvent
public class BlockBreakEventFabric
extends mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.BlockBreakEventWrapper<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.BlockBreakEventWrapper
xpFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStatePlayerEventType
playerFields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStateEventType
pos, state, worldFields 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[], mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<?, ?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?>> protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], Integer> Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.BlockBreakEventWrapper
getXP, populate, setXPMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStatePlayerEventType
getPlayerMethods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStateEventType
getPos, getState, getWorldMethods 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
-
BlockBreakEventFabric
public BlockBreakEventFabric()
-
-
Method Details
-
getEventInstance
public net.fabricmc.fabric.api.event.Event<?> getEventInstance()- Specified by:
getEventInstancein interfaceCommonFabricEvent
-
wrapXPField
-
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.CommonBlockStatePlayerEventType<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.CommonBlockStateEventType<Object[]>
-
wrapStateField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<?>> wrapStateField()- Specified by:
wrapStateFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStateEventType<Object[]>
-
wrapWorldField
protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?>> wrapWorldField()- Specified by:
wrapWorldFieldin classmods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStateEventType<Object[]>
-