Class HotbarStorage

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

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

    • LOGGER

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

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

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

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

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

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

    • HotbarStorage

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

    • load

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

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

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