Class ThreadedAnvilChunkStorage

java.lang.Object
net.minecraft.world.chunk.ThreadedAnvilChunkStorage
All Implemented Interfaces:
FileIoCallback, ChunkStorage

public class ThreadedAnvilChunkStorage extends Object implements ChunkStorage, FileIoCallback
Mappings:
Namespace Name
official avd
intermediary net/minecraft/class_1205
named net/minecraft/world/chunk/ThreadedAnvilChunkStorage
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lavd;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_7509 Lnet/minecraft/class_1205;field_7509:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;LOGGER:Lorg/apache/logging/log4j/Logger;
    • chunksToSave

      private final Map<ChunkPos,NbtCompound> chunksToSave
      Mappings:
      Namespace Name Mixin selector
      official b Lavd;b:Ljava/util/Map;
      intermediary field_9957 Lnet/minecraft/class_1205;field_9957:Ljava/util/Map;
      named chunksToSave Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;chunksToSave:Ljava/util/Map;
    • chunksBeingSaved

      private final Set<ChunkPos> chunksBeingSaved
      Mappings:
      Namespace Name Mixin selector
      official c Lavd;c:Ljava/util/Set;
      intermediary field_4780 Lnet/minecraft/class_1205;field_4780:Ljava/util/Set;
      named chunksBeingSaved Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;chunksBeingSaved:Ljava/util/Set;
    • saveLocation

      private final File saveLocation
      Mappings:
      Namespace Name Mixin selector
      official d Lavd;d:Ljava/io/File;
      intermediary field_4782 Lnet/minecraft/class_1205;field_4782:Ljava/io/File;
      named saveLocation Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;saveLocation:Ljava/io/File;
    • field_12919

      private final class_2934 field_12919
      Mappings:
      Namespace Name Mixin selector
      official e Lavd;e:Lph;
      intermediary field_12919 Lnet/minecraft/class_1205;field_12919:Lnet/minecraft/class_2934;
      named field_12919 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;field_12919:Lnet/minecraft/class_2934;
    • isSaving

      private boolean isSaving
      Mappings:
      Namespace Name Mixin selector
      official f Lavd;f:Z
      intermediary field_9958 Lnet/minecraft/class_1205;field_9958:Z
      named isSaving Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;isSaving:Z
  • Constructor Details

    • ThreadedAnvilChunkStorage

      public ThreadedAnvilChunkStorage(File file, class_2934 class_2934)
  • Method Details

    • loadChunk

      @Nullable public Chunk loadChunk(World world, int x, int z) throws IOException
      Specified by:
      loadChunk in interface ChunkStorage
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lauw;a(Lajs;II)Lauo;
      intermediary method_3951 Lnet/minecraft/class_1199;method_3951(Lnet/minecraft/class_1150;II)Lnet/minecraft/class_1196;
      named loadChunk Lnet/minecraft/world/chunk/ChunkStorage;loadChunk(Lnet/minecraft/world/World;II)Lnet/minecraft/world/chunk/Chunk;
    • method_13765

      public boolean method_13765(int int2, int int3)
      Specified by:
      method_13765 in interface ChunkStorage
      Mappings:
      Namespace Name Mixin selector
      official a Lauw;a(II)Z
      intermediary method_13765 Lnet/minecraft/class_1199;method_13765(II)Z
      named method_13765 Lnet/minecraft/world/chunk/ChunkStorage;method_13765(II)Z
    • validateChunk

      @Nullable protected Chunk validateChunk(World world, int chunkX, int chunkZ, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lavd;a(Lajs;IILdu;)Lauo;
      intermediary method_3972 Lnet/minecraft/class_1205;method_3972(Lnet/minecraft/class_1150;IILnet/minecraft/class_322;)Lnet/minecraft/class_1196;
      named validateChunk Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;validateChunk(Lnet/minecraft/world/World;IILnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/chunk/Chunk;
    • writeChunk

      public void writeChunk(World world, Chunk chunk) throws IOException, WorldSaveException
      Specified by:
      writeChunk in interface ChunkStorage
      Throws:
      IOException
      WorldSaveException
      Mappings:
      Namespace Name Mixin selector
      official a Lauw;a(Lajs;Lauo;)V
      intermediary method_3952 Lnet/minecraft/class_1199;method_3952(Lnet/minecraft/class_1150;Lnet/minecraft/class_1196;)V
      named writeChunk Lnet/minecraft/world/chunk/ChunkStorage;writeChunk(Lnet/minecraft/world/World;Lnet/minecraft/world/chunk/Chunk;)V
    • registerChunkChecker

      protected void registerChunkChecker(ChunkPos pos, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lavd;a(Lajl;Ldu;)V
      intermediary method_3971 Lnet/minecraft/class_1205;method_3971(Lnet/minecraft/class_1146;Lnet/minecraft/class_322;)V
      named registerChunkChecker Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;registerChunkChecker(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/NbtCompound;)V
    • saveNextChunk

      public boolean saveNextChunk()
      Specified by:
      saveNextChunk in interface FileIoCallback
      Mappings:
      Namespace Name Mixin selector
      official c Lbdq;c()Z
      intermediary method_276 Lnet/minecraft/class_108;method_276()Z
      named saveNextChunk Lnet/minecraft/util/FileIoCallback;saveNextChunk()Z
    • write

      private void write(ChunkPos chunkPos, NbtCompound nbt) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lavd;b(Lajl;Ldu;)V
      intermediary method_9173 Lnet/minecraft/class_1205;method_9173(Lnet/minecraft/class_1146;Lnet/minecraft/class_322;)V
      named write Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;write(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/NbtCompound;)V
    • writeEntities

      public void writeEntities(World world, Chunk chunk) throws IOException
      Specified by:
      writeEntities in interface ChunkStorage
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lauw;b(Lajs;Lauo;)V
      intermediary method_3954 Lnet/minecraft/class_1199;method_3954(Lnet/minecraft/class_1150;Lnet/minecraft/class_1196;)V
      named writeEntities Lnet/minecraft/world/chunk/ChunkStorage;writeEntities(Lnet/minecraft/world/World;Lnet/minecraft/world/chunk/Chunk;)V
    • method_3950

      public void method_3950()
      Specified by:
      method_3950 in interface ChunkStorage
      Mappings:
      Namespace Name Mixin selector
      official a Lauw;a()V
      intermediary method_3950 Lnet/minecraft/class_1199;method_3950()V
      named method_3950 Lnet/minecraft/world/chunk/ChunkStorage;method_3950()V
    • save

      public void save()
      Specified by:
      save in interface ChunkStorage
      Mappings:
      Namespace Name Mixin selector
      official b Lauw;b()V
      intermediary method_3953 Lnet/minecraft/class_1199;method_3953()V
      named save Lnet/minecraft/world/chunk/ChunkStorage;save()V
    • method_13364

      public static void method_13364(class_2934 class_2934)
      Mappings:
      Namespace Name Mixin selector
      official a Lavd;a(Lph;)V
      intermediary method_13364 Lnet/minecraft/class_1205;method_13364(Lnet/minecraft/class_2934;)V
      named method_13364 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_13364(Lnet/minecraft/class_2934;)V
    • putChunk

      private void putChunk(Chunk chunk, World world, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lavd;a(Lauo;Lajs;Ldu;)V
      intermediary method_3974 Lnet/minecraft/class_1205;method_3974(Lnet/minecraft/class_1196;Lnet/minecraft/class_1150;Lnet/minecraft/class_322;)V
      named putChunk Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;putChunk(Lnet/minecraft/world/chunk/Chunk;Lnet/minecraft/world/World;Lnet/minecraft/nbt/NbtCompound;)V
    • getChunk

      private Chunk getChunk(World world, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lavd;a(Lajs;Ldu;)Lauo;
      intermediary method_3973 Lnet/minecraft/class_1205;method_3973(Lnet/minecraft/class_1150;Lnet/minecraft/class_322;)Lnet/minecraft/class_1196;
      named getChunk Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;getChunk(Lnet/minecraft/world/World;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/chunk/Chunk;
    • method_11783

      @Nullable public static Entity method_11783(NbtCompound tag, World world, Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lavd;a(Ldu;Lajs;Lauo;)Lsn;
      intermediary method_11783 Lnet/minecraft/class_1205;method_11783(Lnet/minecraft/class_322;Lnet/minecraft/class_1150;Lnet/minecraft/class_1196;)Lnet/minecraft/class_864;
      named method_11783 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_11783(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/World;Lnet/minecraft/world/chunk/Chunk;)Lnet/minecraft/entity/Entity;
    • method_11782

      @Nullable public static Entity method_11782(NbtCompound tag, World world, double x, double y, double z, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lavd;a(Ldu;Lajs;DDDZ)Lsn;
      intermediary method_11782 Lnet/minecraft/class_1205;method_11782(Lnet/minecraft/class_322;Lnet/minecraft/class_1150;DDDZ)Lnet/minecraft/class_864;
      named method_11782 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_11782(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/World;DDDZ)Lnet/minecraft/entity/Entity;
    • method_11781

      @Nullable protected static Entity method_11781(NbtCompound tag, World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lavd;a(Ldu;Lajs;)Lsn;
      intermediary method_11781 Lnet/minecraft/class_1205;method_11781(Lnet/minecraft/class_322;Lnet/minecraft/class_1150;)Lnet/minecraft/class_864;
      named method_11781 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_11781(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
    • method_11785

      public static void method_11785(Entity entity, World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lavd;a(Lsn;Lajs;)V
      intermediary method_11785 Lnet/minecraft/class_1205;method_11785(Lnet/minecraft/class_864;Lnet/minecraft/class_1150;)V
      named method_11785 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_11785(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/World;)V
    • method_11784

      @Nullable public static Entity method_11784(NbtCompound tag, World world, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lavd;a(Ldu;Lajs;Z)Lsn;
      intermediary method_11784 Lnet/minecraft/class_1205;method_11784(Lnet/minecraft/class_322;Lnet/minecraft/class_1150;Z)Lnet/minecraft/class_864;
      named method_11784 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_11784(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/World;Z)Lnet/minecraft/entity/Entity;