Class CustomGuiEvent.ButtonEvent

java.lang.Object
net.minecraftforge.fml.common.eventhandler.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.CustomGuiEvent
noppes.npcs.api.event.CustomGuiEvent.ButtonEvent
Enclosing class:
CustomGuiEvent

public static class CustomGuiEvent.ButtonEvent
extends CustomGuiEvent
  • Nested Class Summary

    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
    int buttonId  

    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
    ButtonEvent​(IPlayer player, ICustomGui gui, int buttonId)  
  • 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

    • buttonId

      public final int buttonId
  • Constructor Details

    • ButtonEvent

      public ButtonEvent​(IPlayer player, ICustomGui gui, int buttonId)