Class InputUtil.Key

java.lang.Object
net.minecraft.client.util.InputUtil.Key
Enclosing class:
InputUtil

@Environment(CLIENT)
public static final class InputUtil.Key
extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getCategory

      public InputUtil.Type getCategory()
    • getCode

      public int getCode()
    • getTranslationKey

      public String getTranslationKey()
    • getLocalizedText

      public Text getLocalizedText()
    • method_30103

      public OptionalInt method_30103()
    • equals

      public boolean equals​(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object