Package noppes.npcs.api.event
Class CustomGuiEvent.ScrollEvent
java.lang.Object
net.minecraftforge.fml.common.eventhandler.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.CustomGuiEvent
noppes.npcs.api.event.CustomGuiEvent.ScrollEvent
- Enclosing class:
- CustomGuiEvent
public static class CustomGuiEvent.ScrollEvent 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 boolean
doubleClick
int
scrollId
int
scrollIndex
java.lang.String[]
selection
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 ScrollEvent(IPlayer player, ICustomGui gui, int scrollId, int scrollIndex, java.lang.String[] selection, boolean doubleClick)
-
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
-
scrollId
public final int scrollId -
selection
public final java.lang.String[] selection -
doubleClick
public final boolean doubleClick -
scrollIndex
public final int scrollIndex
-
-
Constructor Details
-
ScrollEvent
public ScrollEvent(IPlayer player, ICustomGui gui, int scrollId, int scrollIndex, java.lang.String[] selection, boolean doubleClick)
-