Class HotbarStorage

java.lang.Object
net.minecraft.client.option.HotbarStorage

@Environment(CLIENT) public class HotbarStorage extends Object
Mappings:
Namespace Name
named net/minecraft/client/option/HotbarStorage
intermediary net/minecraft/class_302
official ffd
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/option/HotbarStorage;LOGGER:Lorg/slf4j/Logger;
      intermediary field_1647 Lnet/minecraft/class_302;field_1647:Lorg/slf4j/Logger;
      official b Lffd;b:Lorg/slf4j/Logger;
    • STORAGE_ENTRY_COUNT

      public static final int STORAGE_ENTRY_COUNT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named STORAGE_ENTRY_COUNT Lnet/minecraft/client/option/HotbarStorage;STORAGE_ENTRY_COUNT:I
      intermediary field_32135 Lnet/minecraft/class_302;field_32135:I
      official a Lffd;a:I
    • file

      private final Path file
      Mappings:
      Namespace Name Mixin selector
      named file Lnet/minecraft/client/option/HotbarStorage;file:Ljava/nio/file/Path;
      intermediary field_1646 Lnet/minecraft/class_302;field_1646:Ljava/nio/file/Path;
      official c Lffd;c:Ljava/nio/file/Path;
    • dataFixer

      private final com.mojang.datafixers.DataFixer dataFixer
      Mappings:
      Namespace Name Mixin selector
      named dataFixer Lnet/minecraft/client/option/HotbarStorage;dataFixer:Lcom/mojang/datafixers/DataFixer;
      intermediary field_1648 Lnet/minecraft/class_302;field_1648:Lcom/mojang/datafixers/DataFixer;
      official d Lffd;d:Lcom/mojang/datafixers/DataFixer;
    • entries

      private final HotbarStorageEntry[] entries
      Mappings:
      Namespace Name Mixin selector
      named entries Lnet/minecraft/client/option/HotbarStorage;entries:[Lnet/minecraft/client/option/HotbarStorageEntry;
      intermediary field_1644 Lnet/minecraft/class_302;field_1644:[Lnet/minecraft/class_748;
      official e Lffd;e:[Lgcu;
    • loaded

      private boolean loaded
      Mappings:
      Namespace Name Mixin selector
      named loaded Lnet/minecraft/client/option/HotbarStorage;loaded:Z
      intermediary field_1645 Lnet/minecraft/class_302;field_1645:Z
      official f Lffd;f:Z
  • Constructor Details

    • HotbarStorage

      public HotbarStorage(Path directory, com.mojang.datafixers.DataFixer dataFixer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/option/HotbarStorage;<init>(Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;)V
      intermediary <init> Lnet/minecraft/class_302;<init>(Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;)V
      official <init> Lffd;<init>(Ljava/nio/file/Path;Lcom/mojang/datafixers/DataFixer;)V
  • Method Details

    • load

      private void load()
      Mappings:
      Namespace Name Mixin selector
      named load Lnet/minecraft/client/option/HotbarStorage;load()V
      intermediary method_1411 Lnet/minecraft/class_302;method_1411()V
      official b Lffd;b()V
    • save

      public void save()
      Mappings:
      Namespace Name Mixin selector
      named save Lnet/minecraft/client/option/HotbarStorage;save()V
      intermediary method_1409 Lnet/minecraft/class_302;method_1409()V
      official a Lffd;a()V
    • getSavedHotbar

      public HotbarStorageEntry getSavedHotbar(int i)
      Mappings:
      Namespace Name Mixin selector
      named getSavedHotbar Lnet/minecraft/client/option/HotbarStorage;getSavedHotbar(I)Lnet/minecraft/client/option/HotbarStorageEntry;
      intermediary method_1410 Lnet/minecraft/class_302;method_1410(I)Lnet/minecraft/class_748;
      official a Lffd;a(I)Lgcu;