Class ItemEvent.InteractEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.ItemEvent
noppes.npcs.api.event.ItemEvent.InteractEvent
Enclosing class:
ItemEvent

public static class ItemEvent.InteractEvent extends ItemEvent
interact
Will trigger if you have an item and right click into the air Or right click a block Or right click an entity
  • Field Details

    • type

      public final int type
      0:air, 1:entity, 2:block
    • target

      public final Object target
    • player

      public IPlayer player
  • Constructor Details