Package net.minecraft.world.storage
Class RegionBasedStorage
java.lang.Object
net.minecraft.world.storage.RegionBasedStorage
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name official cxq
intermediary net/minecraft/class_2867
named net/minecraft/world/storage/RegionBasedStorage
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Long2ObjectLinkedOpenHashMap<RegionFile>
private final Path
private final boolean
private static final int
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private RegionFile
getRegionFile
(ChunkPos pos) void
method_39802
(ChunkPos chunkPos, NbtScanner nbtScanner) void
sync()
protected void
write
(ChunkPos pos, @Nullable NbtCompound nbt)
-
Field Details
-
MCA_EXTENSION
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lcxq;a:Ljava/lang/String;
intermediary field_31425
Lnet/minecraft/class_2867;field_31425:Ljava/lang/String;
named MCA_EXTENSION
Lnet/minecraft/world/storage/RegionBasedStorage;MCA_EXTENSION:Ljava/lang/String;
-
MAX_CACHE_SIZE
private static final int MAX_CACHE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lcxq;b:I
intermediary field_31426
Lnet/minecraft/class_2867;field_31426:I
named MAX_CACHE_SIZE
Lnet/minecraft/world/storage/RegionBasedStorage;MAX_CACHE_SIZE:I
-
cachedRegionFiles
- Mappings:
Namespace Name Mixin selector official c
Lcxq;c:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
intermediary field_17657
Lnet/minecraft/class_2867;field_17657:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
named cachedRegionFiles
Lnet/minecraft/world/storage/RegionBasedStorage;cachedRegionFiles:Lit/unimi/dsi/fastutil/longs/Long2ObjectLinkedOpenHashMap;
-
directory
- Mappings:
Namespace Name Mixin selector official d
Lcxq;d:Ljava/nio/file/Path;
intermediary field_18690
Lnet/minecraft/class_2867;field_18690:Ljava/nio/file/Path;
named directory
Lnet/minecraft/world/storage/RegionBasedStorage;directory:Ljava/nio/file/Path;
-
dsync
private final boolean dsync- Mappings:
Namespace Name Mixin selector official e
Lcxq;e:Z
intermediary field_23748
Lnet/minecraft/class_2867;field_23748:Z
named dsync
Lnet/minecraft/world/storage/RegionBasedStorage;dsync:Z
-
-
Constructor Details
-
RegionBasedStorage
RegionBasedStorage(Path directory, boolean dsync) - Mappings:
Namespace Name Mixin selector official <init>
Lcxq;<init>(Ljava/nio/file/Path;Z)V
intermediary <init>
Lnet/minecraft/class_2867;<init>(Ljava/nio/file/Path;Z)V
named <init>
Lnet/minecraft/world/storage/RegionBasedStorage;<init>(Ljava/nio/file/Path;Z)V
-
-
Method Details
-
getRegionFile
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lcxq;b(Lcfh;)Lcxp;
intermediary method_12440
Lnet/minecraft/class_2867;method_12440(Lnet/minecraft/class_1923;)Lnet/minecraft/class_2861;
named getRegionFile
Lnet/minecraft/world/storage/RegionBasedStorage;getRegionFile(Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/storage/RegionFile;
-
getTagAt
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lcxq;a(Lcfh;)Lpj;
intermediary method_17911
Lnet/minecraft/class_2867;method_17911(Lnet/minecraft/class_1923;)Lnet/minecraft/class_2487;
named getTagAt
Lnet/minecraft/world/storage/RegionBasedStorage;getTagAt(Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/nbt/NbtCompound;
-
method_39802
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lcxq;a(Lcfh;Lpz;)V
intermediary method_39802
Lnet/minecraft/class_2867;method_39802(Lnet/minecraft/class_1923;Lnet/minecraft/class_6836;)V
named method_39802
Lnet/minecraft/world/storage/RegionBasedStorage;method_39802(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/scanner/NbtScanner;)V
-
write
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lcxq;a(Lcfh;Lpj;)V
intermediary method_23726
Lnet/minecraft/class_2867;method_23726(Lnet/minecraft/class_1923;Lnet/minecraft/class_2487;)V
named write
Lnet/minecraft/world/storage/RegionBasedStorage;write(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/NbtCompound;)V
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
sync
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lcxq;a()V
intermediary method_26982
Lnet/minecraft/class_2867;method_26982()V
named sync
Lnet/minecraft/world/storage/RegionBasedStorage;sync()V
-