Class PlayerInteractItemEventForge1_18_2

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.common.event.EventWrapper<net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.CommonEventWrapper<net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerEventType<net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractEventType<net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem>
mods.thecomputerizer.theimpossiblelibrary.api.common.event.events.PlayerInteractItemEventWrapper<net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem>
mods.thecomputerizer.theimpossiblelibrary.forge.common.event.events.PlayerInteractItemEventForge
mods.thecomputerizer.theimpossiblelibrary.forge.v18.m2.common.event.events.PlayerInteractItemEventForge1_18_2

public class PlayerInteractItemEventForge1_18_2 extends mods.thecomputerizer.theimpossiblelibrary.forge.common.event.events.PlayerInteractItemEventForge
  • 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.CommonPlayerInteractEventType

    cancelResult, facing, hand, pos

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

    player

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

    event
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?>
     
    static void
    onEvent(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem event)
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.forge.common.event.events.PlayerInteractItemEventForge

    cancel, getStackInHand, setEvent, wrapCancelResultField, wrapFacingField, wrapHandField, wrapPlayerField, wrapPosField

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

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

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

    getPlayer

    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

    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
  • Constructor Details

    • PlayerInteractItemEventForge1_18_2

      public PlayerInteractItemEventForge1_18_2()
  • Method Details

    • onEvent

      public static void onEvent(net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem event)
    • getWorld

      protected mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> getWorld()
      Specified by:
      getWorld in class mods.thecomputerizer.theimpossiblelibrary.api.common.event.types.CommonPlayerInteractEventType<net.minecraftforge.event.entity.player.PlayerInteractEvent.RightClickItem>