Package noppes.npcs.api.event
Class CustomGuiEvent.SlotClickEvent
java.lang.Object
net.minecraftforge.fml.common.eventhandler.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.CustomGuiEvent
noppes.npcs.api.event.CustomGuiEvent.SlotClickEvent
- Enclosing class:
- CustomGuiEvent
public static class CustomGuiEvent.SlotClickEvent extends CustomGuiEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class noppes.npcs.api.event.CustomGuiEvent
CustomGuiEvent.ButtonEvent, CustomGuiEvent.CloseEvent, CustomGuiEvent.ScrollEvent, CustomGuiEvent.SlotClickEvent, CustomGuiEvent.SlotEvent
Nested classes/interfaces inherited from class net.minecraftforge.fml.common.eventhandler.Event
net.minecraftforge.fml.common.eventhandler.Event.HasResult, net.minecraftforge.fml.common.eventhandler.Event.Result
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
clickType
int
dragType
int
slotId
IItemStack
stack
Fields inherited from class noppes.npcs.api.event.CustomGuiEvent
gui, player
Fields inherited from class noppes.npcs.api.event.CustomNPCsEvent
API
-
Constructor Summary
Constructors Constructor Description SlotClickEvent(IPlayer player, ICustomGui gui, int slotId, IItemStack stack, int dragType, java.lang.String clickType)
-
Method Summary
Methods inherited from class net.minecraftforge.fml.common.eventhandler.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
slotId
public final int slotId -
stack
-
dragType
public final int dragType -
clickType
public final java.lang.String clickType
-
-
Constructor Details
-
SlotClickEvent
public SlotClickEvent(IPlayer player, ICustomGui gui, int slotId, IItemStack stack, int dragType, java.lang.String clickType)
-