Class AlphaWorldStorage

java.lang.Object
net.minecraft.world.storage.AlphaWorldStorage
All Implemented Interfaces:
PlayerSaveHandler, WorldStorage
Direct Known Subclasses:
RegionWorldStorage

Mappings:
Namespace Name
intermediary net/minecraft/class_81
glue class_138
server dq
client fm
named net/minecraft/world/storage/AlphaWorldStorage
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      intermediary field_278 Lnet/minecraft/class_81;field_278:Ljava/util/logging/Logger;
      glue field_511 Lclass_138;field_511:Ljava/util/logging/Logger;
      server a Ldq;a:Ljava/util/logging/Logger;
      client a Lfm;a:Ljava/util/logging/Logger;
      named LOGGER Lnet/minecraft/world/storage/AlphaWorldStorage;LOGGER:Ljava/util/logging/Logger;
    • dir

      private final File dir
      Mappings:
      Namespace Name Mixin selector
      intermediary field_279 Lnet/minecraft/class_81;field_279:Ljava/io/File;
      glue field_512 Lclass_138;field_512:Ljava/io/File;
      server b Ldq;b:Ljava/io/File;
      client b Lfm;b:Ljava/io/File;
      named dir Lnet/minecraft/world/storage/AlphaWorldStorage;dir:Ljava/io/File;
    • playerDataDir

      private final File playerDataDir
      Mappings:
      Namespace Name Mixin selector
      intermediary field_280 Lnet/minecraft/class_81;field_280:Ljava/io/File;
      glue field_513 Lclass_138;field_513:Ljava/io/File;
      server c Ldq;c:Ljava/io/File;
      client c Lfm;c:Ljava/io/File;
      named playerDataDir Lnet/minecraft/world/storage/AlphaWorldStorage;playerDataDir:Ljava/io/File;
    • dataDir

      private final File dataDir
      Mappings:
      Namespace Name Mixin selector
      intermediary field_281 Lnet/minecraft/class_81;field_281:Ljava/io/File;
      glue field_514 Lclass_138;field_514:Ljava/io/File;
      server d Ldq;d:Ljava/io/File;
      client d Lfm;d:Ljava/io/File;
      named dataDir Lnet/minecraft/world/storage/AlphaWorldStorage;dataDir:Ljava/io/File;
    • startTime

      private final long startTime
      Mappings:
      Namespace Name Mixin selector
      intermediary field_282 Lnet/minecraft/class_81;field_282:J
      glue field_515 Lclass_138;field_515:J
      server e Ldq;e:J
      client e Lfm;e:J
      named startTime Lnet/minecraft/world/storage/AlphaWorldStorage;startTime:J
  • Constructor Details

    • AlphaWorldStorage

      public AlphaWorldStorage(File savesDir, String name, boolean createPlayerDataDir)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_81;<init>(Ljava/io/File;Ljava/lang/String;Z)V
      glue <init> Lclass_138;<init>(Ljava/io/File;Ljava/lang/String;Z)V
      server <init> Ldq;<init>(Ljava/io/File;Ljava/lang/String;Z)V
      client <init> Lfm;<init>(Ljava/io/File;Ljava/lang/String;Z)V
      named <init> Lnet/minecraft/world/storage/AlphaWorldStorage;<init>(Ljava/io/File;Ljava/lang/String;Z)V
  • Method Details

    • writeSessionLock

      private void writeSessionLock()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_334 Lnet/minecraft/class_81;method_334()V
      glue method_666 Lclass_138;method_666()V
      server f Ldq;f()V
      client d Lfm;d()V
      named writeSessionLock Lnet/minecraft/world/storage/AlphaWorldStorage;writeSessionLock()V
    • getDirectory

      protected File getDirectory()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_332 Lnet/minecraft/class_81;method_332()Ljava/io/File;
      glue method_654 Lclass_138;method_654()Ljava/io/File;
      server a Ldq;a()Ljava/io/File;
      client a Lfm;a()Ljava/io/File;
      named getDirectory Lnet/minecraft/world/storage/AlphaWorldStorage;getDirectory()Ljava/io/File;
    • checkSessionLock

      public void checkSessionLock()
      Specified by:
      checkSessionLock in interface WorldStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1735 Lnet/minecraft/class_52;method_1735()V
      glue method_660 Lclass_561;method_660()V
      server b Lom;b()V
      client b Lwt;b()V
      named checkSessionLock Lnet/minecraft/world/storage/WorldStorage;checkSessionLock()V
    • getChunkStorage

      public ChunkStorage getChunkStorage(Dimension dimension)
      Specified by:
      getChunkStorage in interface WorldStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1734 Lnet/minecraft/class_52;method_1734(Lnet/minecraft/class_50;)Lnet/minecraft/class_243;
      glue method_659 Lclass_561;method_659(Lclass_570;)Lclass_26;
      server a Lom;a(Los;)Lan;
      client a Lwt;a(Lxa;)Lbf;
      named getChunkStorage Lnet/minecraft/world/storage/WorldStorage;getChunkStorage(Lnet/minecraft/world/dimension/Dimension;)Lnet/minecraft/world/chunk/storage/ChunkStorage;
    • loadProperties

      public WorldProperties loadProperties()
      Specified by:
      loadProperties in interface WorldStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1737 Lnet/minecraft/class_52;method_1737()Lnet/minecraft/class_7;
      glue method_663 Lclass_561;method_663()Lclass_104;
      server c Lom;c()Lct;
      client c Lwt;c()Lei;
      named loadProperties Lnet/minecraft/world/storage/WorldStorage;loadProperties()Lnet/minecraft/world/WorldProperties;
    • save

      public void save(WorldProperties properties, List players)
      Specified by:
      save in interface WorldStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1733 Lnet/minecraft/class_52;method_1733(Lnet/minecraft/class_7;Ljava/util/List;)V
      glue method_656 Lclass_561;method_656(Lclass_104;Ljava/util/List;)V
      server a Lom;a(Lct;Ljava/util/List;)V
      client a Lwt;a(Lei;Ljava/util/List;)V
      named save Lnet/minecraft/world/storage/WorldStorage;save(Lnet/minecraft/world/WorldProperties;Ljava/util/List;)V
    • save

      public void save(WorldProperties properties)
      Specified by:
      save in interface WorldStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1732 Lnet/minecraft/class_52;method_1732(Lnet/minecraft/class_7;)V
      glue method_655 Lclass_561;method_655(Lclass_104;)V
      server a Lom;a(Lct;)V
      client a Lwt;a(Lei;)V
      named save Lnet/minecraft/world/storage/WorldStorage;save(Lnet/minecraft/world/WorldProperties;)V
    • savePlayerData

      @Environment(SERVER) public void savePlayerData(PlayerEntity player)
      Specified by:
      savePlayerData in interface PlayerSaveHandler
      Mappings:
      Namespace Name Mixin selector
      intermediary method_609 Lnet/minecraft/class_168;method_609(Lnet/minecraft/class_54;)V
      glue method_657 Lclass_208;method_657(Lclass_172;)V
      server a Lfl;a(Lem;)V
      client method_609 Lnet/minecraft/class_168;method_609(Lgs;)V
      named savePlayerData Lnet/minecraft/server/world/PlayerSaveHandler;savePlayerData(Lnet/minecraft/entity/player/PlayerEntity;)V
    • loadPlayerData

      @Environment(SERVER) public void loadPlayerData(PlayerEntity player)
      Specified by:
      loadPlayerData in interface PlayerSaveHandler
      Mappings:
      Namespace Name Mixin selector
      intermediary method_610 Lnet/minecraft/class_168;method_610(Lnet/minecraft/class_54;)V
      glue method_661 Lclass_208;method_661(Lclass_172;)V
      server b Lfl;b(Lem;)V
      client method_610 Lnet/minecraft/class_168;method_610(Lgs;)V
      named loadPlayerData Lnet/minecraft/server/world/PlayerSaveHandler;loadPlayerData(Lnet/minecraft/entity/player/PlayerEntity;)V
    • loadPlayerData

      @Environment(SERVER) public NbtCompound loadPlayerData(String playerName)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_333 Lnet/minecraft/class_81;method_333(Ljava/lang/String;)Lnet/minecraft/class_8;
      glue method_658 Lclass_138;method_658(Ljava/lang/String;)Lclass_333;
      server a Ldq;a(Ljava/lang/String;)Liq;
      client method_333 Lfm;method_333(Ljava/lang/String;)Lnu;
      named loadPlayerData Lnet/minecraft/world/storage/AlphaWorldStorage;loadPlayerData(Ljava/lang/String;)Lnet/minecraft/nbt/NbtCompound;
    • getPlayerSaveHandler

      @Environment(SERVER) public PlayerSaveHandler getPlayerSaveHandler()
      Specified by:
      getPlayerSaveHandler in interface WorldStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1738 Lnet/minecraft/class_52;method_1738()Lnet/minecraft/class_168;
      glue method_664 Lclass_561;method_664()Lclass_208;
      server d Lom;d()Lfl;
      client method_1738 Lwt;method_1738()Lnet/minecraft/class_168;
      named getPlayerSaveHandler Lnet/minecraft/world/storage/WorldStorage;getPlayerSaveHandler()Lnet/minecraft/server/world/PlayerSaveHandler;
    • forceSave

      @Environment(SERVER) public void forceSave()
      Specified by:
      forceSave in interface WorldStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1739 Lnet/minecraft/class_52;method_1739()V
      glue method_665 Lclass_561;method_665()V
      server e Lom;e()V
      client method_1739 Lwt;method_1739()V
      named forceSave Lnet/minecraft/world/storage/WorldStorage;forceSave()V
    • getWorldPropertiesFile

      public File getWorldPropertiesFile(String name)
      Specified by:
      getWorldPropertiesFile in interface WorldStorage
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1736 Lnet/minecraft/class_52;method_1736(Ljava/lang/String;)Ljava/io/File;
      glue method_662 Lclass_561;method_662(Ljava/lang/String;)Ljava/io/File;
      server b Lom;b(Ljava/lang/String;)Ljava/io/File;
      client a Lwt;a(Ljava/lang/String;)Ljava/io/File;
      named getWorldPropertiesFile Lnet/minecraft/world/storage/WorldStorage;getWorldPropertiesFile(Ljava/lang/String;)Ljava/io/File;