Class CommandHistoryManager

java.lang.Object
net.minecraft.client.util.CommandHistoryManager

@Environment(CLIENT) public class CommandHistoryManager extends Object
Mappings:
Namespace Name
official eqk
intermediary net/minecraft/class_8657
named net/minecraft/client/util/CommandHistoryManager
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Leqk;a:Lorg/slf4j/Logger;
      intermediary field_45287 Lnet/minecraft/class_8657;field_45287:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/util/CommandHistoryManager;LOGGER:Lorg/slf4j/Logger;
    • MAX_SIZE

      private static final int MAX_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Leqk;b:I
      intermediary field_45288 Lnet/minecraft/class_8657;field_45288:I
      named MAX_SIZE Lnet/minecraft/client/util/CommandHistoryManager;MAX_SIZE:I
    • FILENAME

      private static final String FILENAME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Leqk;c:Ljava/lang/String;
      intermediary field_45289 Lnet/minecraft/class_8657;field_45289:Ljava/lang/String;
      named FILENAME Lnet/minecraft/client/util/CommandHistoryManager;FILENAME:Ljava/lang/String;
    • path

      private final Path path
      Mappings:
      Namespace Name Mixin selector
      official d Leqk;d:Ljava/nio/file/Path;
      intermediary field_45290 Lnet/minecraft/class_8657;field_45290:Ljava/nio/file/Path;
      named path Lnet/minecraft/client/util/CommandHistoryManager;path:Ljava/nio/file/Path;
    • history

      private final ArrayListDeque<String> history
      Mappings:
      Namespace Name Mixin selector
      official e Leqk;e:Laqo;
      intermediary field_45291 Lnet/minecraft/class_8657;field_45291:Lnet/minecraft/class_8623;
      named history Lnet/minecraft/client/util/CommandHistoryManager;history:Lnet/minecraft/util/collection/ArrayListDeque;
  • Constructor Details

    • CommandHistoryManager

      public CommandHistoryManager(Path directoryPath)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leqk;<init>(Ljava/nio/file/Path;)V
      intermediary <init> Lnet/minecraft/class_8657;<init>(Ljava/nio/file/Path;)V
      named <init> Lnet/minecraft/client/util/CommandHistoryManager;<init>(Ljava/nio/file/Path;)V
  • Method Details

    • add

      public void add(String command)
      Mappings:
      Namespace Name Mixin selector
      official a Leqk;a(Ljava/lang/String;)V
      intermediary method_52697 Lnet/minecraft/class_8657;method_52697(Ljava/lang/String;)V
      named add Lnet/minecraft/client/util/CommandHistoryManager;add(Ljava/lang/String;)V
    • write

      private void write()
      Mappings:
      Namespace Name Mixin selector
      official b Leqk;b()V
      intermediary method_52698 Lnet/minecraft/class_8657;method_52698()V
      named write Lnet/minecraft/client/util/CommandHistoryManager;write()V
    • getHistory

      public Collection<String> getHistory()
      Mappings:
      Namespace Name Mixin selector
      official a Leqk;a()Ljava/util/Collection;
      intermediary method_52696 Lnet/minecraft/class_8657;method_52696()Ljava/util/Collection;
      named getHistory Lnet/minecraft/client/util/CommandHistoryManager;getHistory()Ljava/util/Collection;