Class PlayerPunchEmptyEventFabric

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.client.event.ClientEventWrapper<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.client.event.types.ClientPlayerEventType<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.client.event.types.ClientPlayerInteractEventType<Object[]>
mods.thecomputerizer.theimpossiblelibrary.api.client.event.events.PlayerPunchEmptyEventWrapper<Object[]>
mods.thecomputerizer.theimpossiblelibrary.fabric.client.event.events.PlayerPunchEmptyEventFabric
All Implemented Interfaces:
ClientFabricEvent, CommonFabricEvent

public class PlayerPunchEmptyEventFabric extends mods.thecomputerizer.theimpossiblelibrary.api.client.event.events.PlayerPunchEmptyEventWrapper<Object[]> implements ClientFabricEvent
  • Nested Class Summary

    Nested classes/interfaces inherited from class mods.thecomputerizer.theimpossiblelibrary.api.client.event.ClientEventWrapper

    mods.thecomputerizer.theimpossiblelibrary.api.client.event.ClientEventWrapper.ClientType<E extends mods.thecomputerizer.theimpossiblelibrary.api.client.event.ClientEventWrapper<?>>

    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.client.event.types.ClientPlayerInteractEventType

    cancelResult, facing, hand, pos

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.client.event.types.ClientPlayerEventType

    player

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.client.event.ClientEventWrapper

    minecraft

    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.item.ItemStackAPI<?>
     
    protected mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?>
     
    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.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.client.event.events.PlayerPunchEmptyEventWrapper

    wrapHandField

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.client.event.types.ClientPlayerInteractEventType

    getCancelResult, getFacing, getHand, getPos, isFacing, isHand, populate, setCancelResult

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.client.event.types.ClientPlayerEventType

    getPlayer

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.client.event.ClientEventWrapper

    getMinecraft, isClient, isCommon, isServer, setEvent

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

    cancel, getEvent, getPriority, getResult, getType, hasInvokers, hasResult, initPrimitive, isCancelable, isCanceled, setCanceled, 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

    • PlayerPunchEmptyEventFabric

      public PlayerPunchEmptyEventFabric()
  • Method Details

    • getEventInstance

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

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.item.ItemStackAPI<?> getStackInHand()
      Specified by:
      getStackInHand in class mods.thecomputerizer.theimpossiblelibrary.api.client.event.types.ClientPlayerInteractEventType<Object[]>
    • getWorld

      protected mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> getWorld()
      Specified by:
      getWorld in class mods.thecomputerizer.theimpossiblelibrary.api.client.event.types.ClientPlayerInteractEventType<Object[]>
    • wrapCancelResultField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.item.ActionResult> wrapCancelResultField()
      Specified by:
      wrapCancelResultField in class mods.thecomputerizer.theimpossiblelibrary.api.client.event.types.ClientPlayerInteractEventType<Object[]>
    • wrapFacingField

      protected mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventFieldWrapper<Object[], mods.thecomputerizer.theimpossiblelibrary.api.common.block.Facing> wrapFacingField()
      Specified by:
      wrapFacingField in class mods.thecomputerizer.theimpossiblelibrary.api.client.event.types.ClientPlayerInteractEventType<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.client.event.types.ClientPlayerEventType<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.client.event.types.ClientPlayerInteractEventType<Object[]>