Class HotbarStorage

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

@Environment(CLIENT)
public class HotbarStorage
extends Object
  • Field Details

    • LOGGER

      private static final Logger LOGGER
    • file

      private final File file
    • dataFixer

      private final com.mojang.datafixers.DataFixer dataFixer
    • entries

      private final HotbarStorageEntry[] entries
    • loaded

      private boolean loaded
  • Constructor Details

    • HotbarStorage

      public HotbarStorage​(File file, com.mojang.datafixers.DataFixer dataFixer)
  • Method Details

    • load

      private void load()
    • save

      public void save()
    • getSavedHotbar

      public HotbarStorageEntry getSavedHotbar​(int i)