Class BlockBreakEventFabric

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.CommonBlockStateEventType<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStatePlayerEventType<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.BlockBreakEventWrapper<Object[]>
mods.thecomputerizer.theimpossiblelibrary.fabric.common.event.events.BlockBreakEventFabric
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

    xp

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

    player

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

    pos, state, world

    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.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, setXP

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

    getPlayer

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

    getPos, getState, getWorld

    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

    • BlockBreakEventFabric

      public BlockBreakEventFabric()
  • Method Details

    • getEventInstance

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

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[],Integer> wrapXPField()
      Specified by:
      wrapXPField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.BlockBreakEventWrapper<Object[]>
    • wrapPlayerField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.entity.PlayerAPI<?,?>> wrapPlayerField()
      Specified by:
      wrapPlayerField in class mods.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:
      wrapPosField in class mods.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:
      wrapStateField in class mods.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:
      wrapWorldField in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonBlockStateEventType<Object[]>