Class KeyCombo

java.lang.Object
net.minecraft.client.realms.KeyCombo

@Environment(CLIENT) public class KeyCombo extends Object
Mappings:
Namespace Name
official eab
intermediary net/minecraft/class_4324
named net/minecraft/client/realms/KeyCombo
  • Field Details

    • chars

      private final char[] chars
      Mappings:
      Namespace Name Mixin selector
      official a Leab;a:[C
      intermediary field_19453 Lnet/minecraft/class_4324;field_19453:[C
      named chars Lnet/minecraft/client/realms/KeyCombo;chars:[C
    • matchIndex

      private int matchIndex
      Mappings:
      Namespace Name Mixin selector
      official b Leab;b:I
      intermediary field_19454 Lnet/minecraft/class_4324;field_19454:I
      named matchIndex Lnet/minecraft/client/realms/KeyCombo;matchIndex:I
    • onCompletion

      private final Runnable onCompletion
      Mappings:
      Namespace Name Mixin selector
      official c Leab;c:Ljava/lang/Runnable;
      intermediary field_19455 Lnet/minecraft/class_4324;field_19455:Ljava/lang/Runnable;
      named onCompletion Lnet/minecraft/client/realms/KeyCombo;onCompletion:Ljava/lang/Runnable;
  • Constructor Details

    • KeyCombo

      public KeyCombo(char[] keys, Runnable task)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leab;<init>([CLjava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_4324;<init>([CLjava/lang/Runnable;)V
      named <init> Lnet/minecraft/client/realms/KeyCombo;<init>([CLjava/lang/Runnable;)V
    • KeyCombo

      public KeyCombo(char[] keys)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leab;<init>([C)V
      intermediary <init> Lnet/minecraft/class_4324;<init>([C)V
      named <init> Lnet/minecraft/client/realms/KeyCombo;<init>([C)V
  • Method Details

    • keyPressed

      public boolean keyPressed(char key)
      Mappings:
      Namespace Name Mixin selector
      official a Leab;a(C)Z
      intermediary method_20833 Lnet/minecraft/class_4324;method_20833(C)Z
      named keyPressed Lnet/minecraft/client/realms/KeyCombo;keyPressed(C)Z
    • reset

      public void reset()
      Mappings:
      Namespace Name Mixin selector
      official a Leab;a()V
      intermediary method_20832 Lnet/minecraft/class_4324;method_20832()V
      named reset Lnet/minecraft/client/realms/KeyCombo;reset()V
    • toString

      public String toString()
      Overrides:
      toString in class Object