Enum Class ScreenPresentation

java.lang.Object
java.lang.Enum<ScreenPresentation>
dev.miyomiyo.agentbridge.client.ScreenPresentation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ScreenPresentation>, java.lang.constant.Constable

public enum ScreenPresentation extends java.lang.Enum<ScreenPresentation>
Declared screen coverage. Independent of purpose, text focus and world pause support.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    Custom native screens may expose the same presentation contract without subclassing.

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    of(net.minecraft.client.gui.screens.Screen screen)
     
    valueOf(java.lang.String name)
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static ScreenPresentation[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ScreenPresentation valueOf(java.lang.String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      java.lang.IllegalArgumentException - if this enum class has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • of

      public static ScreenPresentation of(net.minecraft.client.gui.screens.Screen screen)