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 bnv
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 Lbnv;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 Lbnv;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;
    • saveLocation

      private final File saveLocation
      Mappings:
      Namespace Name Mixin selector
      official c Lbnv;c: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_18950

      private final com.mojang.datafixers.DataFixer field_18950
      Mappings:
      Namespace Name Mixin selector
      official d Lbnv;d:Lcom/mojang/datafixers/DataFixer;
      intermediary field_18950 Lnet/minecraft/class_1205;field_18950:Lcom/mojang/datafixers/DataFixer;
      named field_18950 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;field_18950:Lcom/mojang/datafixers/DataFixer;
    • field_18951

      private class_3979 field_18951
      Mappings:
      Namespace Name Mixin selector
      official e Lbnv;e:Lbwp;
      intermediary field_18951 Lnet/minecraft/class_1205;field_18951:Lnet/minecraft/class_3979;
      named field_18951 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;field_18951:Lnet/minecraft/class_3979;
    • isSaving

      private boolean isSaving
      Mappings:
      Namespace Name Mixin selector
      official f Lbnv;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, com.mojang.datafixers.DataFixer dataFixer)
  • Method Details

    • method_17167

      @Nullable private NbtCompound method_17167(IWorld iWorld, int int2, int int3) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Laxz;II)Lgy;
      intermediary method_17167 Lnet/minecraft/class_1205;method_17167(Lnet/minecraft/class_3598;II)Lnet/minecraft/class_322;
      named method_17167 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17167(Lnet/minecraft/world/IWorld;II)Lnet/minecraft/nbt/NbtCompound;
    • method_17174

      @Nullable private NbtCompound method_17174(DimensionType dimensionType, @Nullable class_4070 class_4070, int int2, int int3) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Lbod;Lcck;II)Lgy;
      intermediary method_17174 Lnet/minecraft/class_1205;method_17174(Lnet/minecraft/class_3793;Lnet/minecraft/class_4070;II)Lnet/minecraft/class_322;
      named method_17174 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17174(Lnet/minecraft/world/dimension/DimensionType;Lnet/minecraft/class_4070;II)Lnet/minecraft/nbt/NbtCompound;
    • method_17173

      public void method_17173(DimensionType dimensionType, @Nullable class_4070 class_4070)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Lbod;Lcck;)V
      intermediary method_17173 Lnet/minecraft/class_1205;method_17173(Lnet/minecraft/class_3793;Lnet/minecraft/class_4070;)V
      named method_17173 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17173(Lnet/minecraft/world/dimension/DimensionType;Lnet/minecraft/class_4070;)V
    • method_17186

      @Nullable public Chunk method_17186(IWorld iWorld, int int2, int int3, Consumer<Chunk> consumer) throws IOException
      Specified by:
      method_17186 in interface ChunkStorage
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lbnw;a(Laxz;IILjava/util/function/Consumer;)Lbnj;
      intermediary method_17186 Lnet/minecraft/class_1199;method_17186(Lnet/minecraft/class_3598;IILjava/util/function/Consumer;)Lnet/minecraft/class_1196;
      named method_17186 Lnet/minecraft/world/chunk/ChunkStorage;method_17186(Lnet/minecraft/world/IWorld;IILjava/util/function/Consumer;)Lnet/minecraft/world/chunk/Chunk;
    • method_17187

      @Nullable public ChunkBlockStateStorage method_17187(IWorld iWorld, int int2, int int3, Consumer<class_3781> consumer) throws IOException
      Specified by:
      method_17187 in interface ChunkStorage
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lbnw;b(Laxz;IILjava/util/function/Consumer;)Lbnr;
      intermediary method_17187 Lnet/minecraft/class_1199;method_17187(Lnet/minecraft/class_3598;IILjava/util/function/Consumer;)Lnet/minecraft/class_2252;
      named method_17187 Lnet/minecraft/world/chunk/ChunkStorage;method_17187(Lnet/minecraft/world/IWorld;IILjava/util/function/Consumer;)Lnet/minecraft/world/chunk/ChunkBlockStateStorage;
    • method_3972

      @Nullable protected Chunk method_3972(IWorld iWorld, int int2, int int3, NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Laxz;IILgy;)Lbnj;
      intermediary method_3972 Lnet/minecraft/class_1205;method_3972(Lnet/minecraft/class_3598;IILnet/minecraft/class_322;)Lnet/minecraft/class_1196;
      named method_3972 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_3972(Lnet/minecraft/world/IWorld;IILnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/chunk/Chunk;
    • method_17181

      @Nullable protected ChunkBlockStateStorage method_17181(IWorld iWorld, int int2, int int3, NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official b Lbnv;b(Laxz;IILgy;)Lbnr;
      intermediary method_17181 Lnet/minecraft/class_1205;method_17181(Lnet/minecraft/class_3598;IILnet/minecraft/class_322;)Lnet/minecraft/class_2252;
      named method_17181 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17181(Lnet/minecraft/world/IWorld;IILnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/chunk/ChunkBlockStateStorage;
    • method_17185

      public void method_17185(World world, class_3781 class_3781) throws IOException, WorldSaveException
      Specified by:
      method_17185 in interface ChunkStorage
      Throws:
      IOException
      WorldSaveException
      Mappings:
      Namespace Name Mixin selector
      official a Lbnw;a(Laxy;Lbmx;)V
      intermediary method_17185 Lnet/minecraft/class_1199;method_17185(Lnet/minecraft/class_1150;Lnet/minecraft/class_3781;)V
      named method_17185 Lnet/minecraft/world/chunk/ChunkStorage;method_17185(Lnet/minecraft/world/World;Lnet/minecraft/class_3781;)V
    • registerChunkChecker

      protected void registerChunkChecker(ChunkPos pos, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Laxm;Lgy;)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 a Lcdx;a()Z
      intermediary method_276 Lnet/minecraft/class_108;method_276()Z
      named saveNextChunk Lnet/minecraft/util/FileIoCallback;saveNextChunk()Z
    • method_17176

      private class_3786.class_3787 method_17176(@Nullable NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Lgy;)Lbnd$a;
      intermediary method_17176 Lnet/minecraft/class_1205;method_17176(Lnet/minecraft/class_322;)Lnet/minecraft/class_3786$class_3787;
      named method_17176 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17176(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/class_3786$class_3787;
    • save

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

      private void method_17172(ChunkBlockStateStorage chunkBlockStateStorage, World world, NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Lbnr;Laxy;Lgy;)V
      intermediary method_17172 Lnet/minecraft/class_1205;method_17172(Lnet/minecraft/class_2252;Lnet/minecraft/class_1150;Lnet/minecraft/class_322;)V
      named method_17172 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17172(Lnet/minecraft/world/chunk/ChunkBlockStateStorage;Lnet/minecraft/world/World;Lnet/minecraft/nbt/NbtCompound;)V
    • putChunk

      private void putChunk(Chunk chunk, World world, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Lbnj;Laxy;Lgy;)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
    • method_17168

      private Chunk method_17168(IWorld iWorld, NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Laxz;Lgy;)Lbnj;
      intermediary method_17168 Lnet/minecraft/class_1205;method_17168(Lnet/minecraft/class_3598;Lnet/minecraft/class_322;)Lnet/minecraft/class_1196;
      named method_17168 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17168(Lnet/minecraft/world/IWorld;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/chunk/Chunk;
    • method_17178

      private void method_17178(NbtCompound nbtCompound, Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Lgy;Lbnj;)V
      intermediary method_17178 Lnet/minecraft/class_1205;method_17178(Lnet/minecraft/class_322;Lnet/minecraft/class_1196;)V
      named method_17178 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17178(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/chunk/Chunk;)V
    • method_17182

      private ChunkBlockStateStorage method_17182(IWorld iWorld, NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official b Lbnv;b(Laxz;Lgy;)Lbnr;
      intermediary method_17182 Lnet/minecraft/class_1205;method_17182(Lnet/minecraft/class_3598;Lnet/minecraft/class_322;)Lnet/minecraft/class_2252;
      named method_17182 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17182(Lnet/minecraft/world/IWorld;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/chunk/ChunkBlockStateStorage;
    • method_17166

      private NbtList method_17166(World world, ChunkSection[] chunkSection)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Laxy;[Lbnk;)Lhe;
      intermediary method_17166 Lnet/minecraft/class_1205;method_17166(Lnet/minecraft/class_1150;[Lnet/minecraft/class_1197;)Lnet/minecraft/class_474;
      named method_17166 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17166(Lnet/minecraft/world/World;[Lnet/minecraft/world/chunk/ChunkSection;)Lnet/minecraft/nbt/NbtList;
    • method_17169

      private ChunkSection[] method_17169(RenderBlockView renderBlockView, NbtList nbtList)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Layc;Lhe;)[Lbnk;
      intermediary method_17169 Lnet/minecraft/class_1205;method_17169(Lnet/minecraft/class_3599;Lnet/minecraft/class_474;)[Lnet/minecraft/class_1197;
      named method_17169 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17169(Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/nbt/NbtList;)[Lnet/minecraft/world/chunk/ChunkSection;
    • method_17164

      private NbtCompound method_17164(int int2, int int3, Map<String,class_3992> map, Map<String,LongSet> map2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(IILjava/util/Map;Ljava/util/Map;)Lgy;
      intermediary method_17164 Lnet/minecraft/class_1205;method_17164(IILjava/util/Map;Ljava/util/Map;)Lnet/minecraft/class_322;
      named method_17164 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17164(IILjava/util/Map;Ljava/util/Map;)Lnet/minecraft/nbt/NbtCompound;
    • method_17184

      private Map<String,class_3992> method_17184(IWorld iWorld, NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official c Lbnv;c(Laxz;Lgy;)Ljava/util/Map;
      intermediary method_17184 Lnet/minecraft/class_1205;method_17184(Lnet/minecraft/class_3598;Lnet/minecraft/class_322;)Ljava/util/Map;
      named method_17184 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17184(Lnet/minecraft/world/IWorld;Lnet/minecraft/nbt/NbtCompound;)Ljava/util/Map;
    • method_17183

      private Map<String,LongSet> method_17183(NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official b Lbnv;b(Lgy;)Ljava/util/Map;
      intermediary method_17183 Lnet/minecraft/class_1205;method_17183(Lnet/minecraft/class_322;)Ljava/util/Map;
      named method_17183 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17183(Lnet/minecraft/nbt/NbtCompound;)Ljava/util/Map;
    • method_17180

      public static NbtList method_17180(ShortList[] shortList)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a([Lit/unimi/dsi/fastutil/shorts/ShortList;)Lhe;
      intermediary method_17180 Lnet/minecraft/class_1205;method_17180([Lit/unimi/dsi/fastutil/shorts/ShortList;)Lnet/minecraft/class_474;
      named method_17180 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17180([Lit/unimi/dsi/fastutil/shorts/ShortList;)Lnet/minecraft/nbt/NbtList;
    • method_17177

      @Nullable private static Entity method_17177(NbtCompound nbtCompound, World world, Function<Entity,Entity> function)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Lgy;Laxy;Ljava/util/function/Function;)Laer;
      intermediary method_17177 Lnet/minecraft/class_1205;method_17177(Lnet/minecraft/class_322;Lnet/minecraft/class_1150;Ljava/util/function/Function;)Lnet/minecraft/class_864;
      named method_17177 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17177(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/World;Ljava/util/function/Function;)Lnet/minecraft/entity/Entity;
    • method_11783

      @Nullable public static Entity method_11783(NbtCompound tag, World world, Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Lgy;Laxy;Lbnj;)Laer;
      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 Lbnv;a(Lgy;Laxy;DDDZ)Laer;
      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_11784

      @Nullable public static Entity method_11784(NbtCompound tag, World world, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Lgy;Laxy;Z)Laer;
      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;
    • method_11781

      @Nullable protected static Entity method_11781(NbtCompound tag, World world)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Lgy;Laxy;)Laer;
      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, IWorld iWorld)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Laer;Laxz;)V
      intermediary method_11785 Lnet/minecraft/class_1205;method_11785(Lnet/minecraft/class_864;Lnet/minecraft/class_3598;)V
      named method_11785 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_11785(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/IWorld;)V
    • method_17165

      public boolean method_17165(ChunkPos chunkPos, DimensionType dimensionType, class_4070 class_4070)
      Mappings:
      Namespace Name Mixin selector
      official a Lbnv;a(Laxm;Lbod;Lcck;)Z
      intermediary method_17165 Lnet/minecraft/class_1205;method_17165(Lnet/minecraft/class_1146;Lnet/minecraft/class_3793;Lnet/minecraft/class_4070;)Z
      named method_17165 Lnet/minecraft/world/chunk/ThreadedAnvilChunkStorage;method_17165(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/dimension/DimensionType;Lnet/minecraft/class_4070;)Z