Interface SaveHandler

All Known Implementing Classes:
AnvilWorldSaveHandler, EmptySaveHandler, WorldSaveHandler

public interface SaveHandler
Mappings:
Namespace Name
official atp
intermediary net/minecraft/class_101
named net/minecraft/world/SaveHandler
  • Method Details

    • getLevelProperties

      LevelProperties getLevelProperties()
      Mappings:
      Namespace Name Mixin selector
      official d Latp;d()Lato;
      intermediary method_245 Lnet/minecraft/class_101;method_245()Lnet/minecraft/class_100;
      named getLevelProperties Lnet/minecraft/world/SaveHandler;getLevelProperties()Lnet/minecraft/world/level/LevelProperties;
    • readSessionLock

      void readSessionLock() throws WorldSaveException
      Throws:
      WorldSaveException
      Mappings:
      Namespace Name Mixin selector
      official c Latp;c()V
      intermediary method_244 Lnet/minecraft/class_101;method_244()V
      named readSessionLock Lnet/minecraft/world/SaveHandler;readSessionLock()V
    • getChunkWriter

      ChunkStorage getChunkWriter(Dimension dim)
      Mappings:
      Namespace Name Mixin selector
      official a Latp;a(Lanm;)Land;
      intermediary method_242 Lnet/minecraft/class_101;method_242(Lnet/minecraft/class_1208;)Lnet/minecraft/class_1199;
      named getChunkWriter Lnet/minecraft/world/SaveHandler;getChunkWriter(Lnet/minecraft/world/dimension/Dimension;)Lnet/minecraft/world/chunk/ChunkStorage;
    • saveWorld

      void saveWorld(LevelProperties properties, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Latp;a(Lato;Ldn;)V
      intermediary method_241 Lnet/minecraft/class_101;method_241(Lnet/minecraft/class_100;Lnet/minecraft/class_322;)V
      named saveWorld Lnet/minecraft/world/SaveHandler;saveWorld(Lnet/minecraft/world/level/LevelProperties;Lnet/minecraft/nbt/NbtCompound;)V
    • saveWorld

      void saveWorld(LevelProperties properties)
      Mappings:
      Namespace Name Mixin selector
      official a Latp;a(Lato;)V
      intermediary method_240 Lnet/minecraft/class_101;method_240(Lnet/minecraft/class_100;)V
      named saveWorld Lnet/minecraft/world/SaveHandler;saveWorld(Lnet/minecraft/world/level/LevelProperties;)V
    • getInstance

      PlayerDataHandler getInstance()
      Mappings:
      Namespace Name Mixin selector
      official e Latp;e()Laty;
      intermediary method_246 Lnet/minecraft/class_101;method_246()Lnet/minecraft/class_105;
      named getInstance Lnet/minecraft/world/SaveHandler;getInstance()Lnet/minecraft/world/PlayerDataHandler;
    • method_239

      void method_239()
      Mappings:
      Namespace Name Mixin selector
      official a Latp;a()V
      intermediary method_239 Lnet/minecraft/class_101;method_239()V
      named method_239 Lnet/minecraft/world/SaveHandler;method_239()V
    • getWorldFolder

      File getWorldFolder()
      Mappings:
      Namespace Name Mixin selector
      official b Latp;b()Ljava/io/File;
      intermediary method_198 Lnet/minecraft/class_101;method_198()Ljava/io/File;
      named getWorldFolder Lnet/minecraft/world/SaveHandler;getWorldFolder()Ljava/io/File;
    • getDataFile

      File getDataFile(String fileName)
      Mappings:
      Namespace Name Mixin selector
      official a Latp;a(Ljava/lang/String;)Ljava/io/File;
      intermediary method_243 Lnet/minecraft/class_101;method_243(Ljava/lang/String;)Ljava/io/File;
      named getDataFile Lnet/minecraft/world/SaveHandler;getDataFile(Ljava/lang/String;)Ljava/io/File;
    • getWorldName

      String getWorldName()
      Mappings:
      Namespace Name Mixin selector
      official g Latp;g()Ljava/lang/String;
      intermediary method_247 Lnet/minecraft/class_101;method_247()Ljava/lang/String;
      named getWorldName Lnet/minecraft/world/SaveHandler;getWorldName()Ljava/lang/String;