Class TerminalStorageScreenSizeEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
org.cyclops.integratedterminals.api.terminalstorage.event.TerminalStorageScreenSizeEvent

public class TerminalStorageScreenSizeEvent extends net.minecraftforge.eventbus.api.Event
An event that is emitted on the Forge event bus to determine the width and height of the terminal storage screen.
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event

    net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    TerminalStorageScreenSizeEvent(int width, int height)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    static org.apache.commons.lang3.tuple.Pair<Integer,Integer>
     
    void
    setHeight(int height)
     
    void
    setWidth(int width)
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TerminalStorageScreenSizeEvent

      public TerminalStorageScreenSizeEvent(int width, int height)
  • Method Details

    • getWidth

      public int getWidth()
    • setWidth

      public void setWidth(int width)
    • getHeight

      public int getHeight()
    • setHeight

      public void setHeight(int height)
    • getWidthHeight

      public static org.apache.commons.lang3.tuple.Pair<Integer,Integer> getWidthHeight()