Class CommandHistoryManager

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

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

    • LOGGER

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

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

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

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

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

    • CommandHistoryManager

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

    • add

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

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

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