Package net.minecraft.world
Class ChunkSerializer
java.lang.Object
net.minecraft.world.ChunkSerializer
- Mappings:
Namespace Name official cqv
intermediary net/minecraft/class_2852
named net/minecraft/world/ChunkSerializer
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final com.mojang.serialization.Codec<PalettedContainer<BlockState>>
private static final String
private static final Logger
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<PalettedContainer<Biome>>
createCodec
(Registry<Biome> biomeRegistry) static ProtoChunk
deserialize
(ServerWorld world, PointOfInterestStorage poiStorage, ChunkPos chunkPos, NbtCompound nbt) static ChunkStatus.ChunkType
private static WorldChunk.EntityLoader
getEntityLoadingCallback
(ServerWorld world, NbtCompound nbt) getList
(NbtCompound nbt, String key) private static void
logRecoverableError
(ChunkPos chunkPos, int y, String message) private static Map<StructureFeature<?>,
LongSet> readStructureReferences
(ChunkPos pos, NbtCompound nbt) private static Map<StructureFeature<?>,
StructureStart<?>> readStructureStarts
(StructureContext context, NbtCompound nbt, long worldSeed) static NbtCompound
serialize
(ServerWorld world, Chunk chunk) private static void
serializeTicks
(ServerWorld world, NbtCompound nbt, Chunk.TickSchedulers tickSchedulers) static NbtList
private static NbtCompound
writeStructures
(StructureContext context, ChunkPos pos, Map<StructureFeature<?>, StructureStart<?>> starts, Map<StructureFeature<?>, LongSet> references)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcqv;a:Lcom/mojang/serialization/Codec;
intermediary field_34576
Lnet/minecraft/class_2852;field_34576:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/ChunkSerializer;CODEC:Lcom/mojang/serialization/Codec;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Lcqv;b:Lorg/apache/logging/log4j/Logger;
intermediary field_13001
Lnet/minecraft/class_2852;field_13001:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/world/ChunkSerializer;LOGGER:Lorg/apache/logging/log4j/Logger;
-
UPGRADE_DATA_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lcqv;c:Ljava/lang/String;
intermediary field_31413
Lnet/minecraft/class_2852;field_31413:Ljava/lang/String;
named UPGRADE_DATA_KEY
Lnet/minecraft/world/ChunkSerializer;UPGRADE_DATA_KEY:Ljava/lang/String;
-
BLOCK_TICKS
- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lcqv;d:Ljava/lang/String;
intermediary field_35476
Lnet/minecraft/class_2852;field_35476:Ljava/lang/String;
named BLOCK_TICKS
Lnet/minecraft/world/ChunkSerializer;BLOCK_TICKS:Ljava/lang/String;
-
FLUID_TICKS
- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lcqv;e:Ljava/lang/String;
intermediary field_35477
Lnet/minecraft/class_2852;field_35477:Ljava/lang/String;
named FLUID_TICKS
Lnet/minecraft/world/ChunkSerializer;FLUID_TICKS:Ljava/lang/String;
-
-
Constructor Details
-
ChunkSerializer
public ChunkSerializer()
-
-
Method Details
-
deserialize
public static ProtoChunk deserialize(ServerWorld world, PointOfInterestStorage poiStorage, ChunkPos chunkPos, NbtCompound nbt) - Mappings:
Namespace Name Mixin selector official a
Lcqv;a(Ladi;Lbha;Lbzk;Loc;)Lcqq;
intermediary method_12395
Lnet/minecraft/class_2852;method_12395(Lnet/minecraft/class_3218;Lnet/minecraft/class_4153;Lnet/minecraft/class_1923;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2839;
named deserialize
Lnet/minecraft/world/ChunkSerializer;deserialize(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/poi/PointOfInterestStorage;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/chunk/ProtoChunk;
-
logRecoverableError
- Mappings:
Namespace Name Mixin selector official a
Lcqv;a(Lbzk;ILjava/lang/String;)V
intermediary method_39035
Lnet/minecraft/class_2852;method_39035(Lnet/minecraft/class_1923;ILjava/lang/String;)V
named logRecoverableError
Lnet/minecraft/world/ChunkSerializer;logRecoverableError(Lnet/minecraft/util/math/ChunkPos;ILjava/lang/String;)V
-
createCodec
private static com.mojang.serialization.Codec<PalettedContainer<Biome>> createCodec(Registry<Biome> biomeRegistry) - Mappings:
Namespace Name Mixin selector official a
Lcqv;a(Lgx;)Lcom/mojang/serialization/Codec;
intermediary method_39036
Lnet/minecraft/class_2852;method_39036(Lnet/minecraft/class_2378;)Lcom/mojang/serialization/Codec;
named createCodec
Lnet/minecraft/world/ChunkSerializer;createCodec(Lnet/minecraft/util/registry/Registry;)Lcom/mojang/serialization/Codec;
-
serialize
- Mappings:
Namespace Name Mixin selector official a
Lcqv;a(Ladi;Lcpy;)Loc;
intermediary method_12410
Lnet/minecraft/class_2852;method_12410(Lnet/minecraft/class_3218;Lnet/minecraft/class_2791;)Lnet/minecraft/class_2487;
named serialize
Lnet/minecraft/world/ChunkSerializer;serialize(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/chunk/Chunk;)Lnet/minecraft/nbt/NbtCompound;
-
serializeTicks
private static void serializeTicks(ServerWorld world, NbtCompound nbt, Chunk.TickSchedulers tickSchedulers) - Mappings:
Namespace Name Mixin selector official a
Lcqv;a(Ladi;Loc;Lcpy$a;)V
intermediary method_39311
Lnet/minecraft/class_2852;method_39311(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;Lnet/minecraft/class_2791$class_6745;)V
named serializeTicks
Lnet/minecraft/world/ChunkSerializer;serializeTicks(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/chunk/Chunk$TickSchedulers;)V
-
getChunkType
- Mappings:
Namespace Name Mixin selector official a
Lcqv;a(Loc;)Lcqb$a;
intermediary method_12377
Lnet/minecraft/class_2852;method_12377(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2806$class_2808;
named getChunkType
Lnet/minecraft/world/ChunkSerializer;getChunkType(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/chunk/ChunkStatus$ChunkType;
-
getEntityLoadingCallback
@Nullable private static WorldChunk.EntityLoader getEntityLoadingCallback(ServerWorld world, NbtCompound nbt) - Mappings:
Namespace Name Mixin selector official a
Lcqv;a(Ladi;Loc;)Lcqi$c;
intermediary method_12386
Lnet/minecraft/class_2852;method_12386(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)Lnet/minecraft/class_2818$class_6829;
named getEntityLoadingCallback
Lnet/minecraft/world/ChunkSerializer;getEntityLoadingCallback(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/chunk/WorldChunk$EntityLoader;
-
getList
- Mappings:
Namespace Name Mixin selector official a
Lcqv;a(Loc;Ljava/lang/String;)Loi;
intermediary method_39796
Lnet/minecraft/class_2852;method_39796(Lnet/minecraft/class_2487;Ljava/lang/String;)Lnet/minecraft/class_2499;
named getList
Lnet/minecraft/world/ChunkSerializer;getList(Lnet/minecraft/nbt/NbtCompound;Ljava/lang/String;)Lnet/minecraft/nbt/NbtList;
-
writeStructures
private static NbtCompound writeStructures(StructureContext context, ChunkPos pos, Map<StructureFeature<?>, StructureStart<?>> starts, Map<StructureFeature<?>, LongSet> references) - Mappings:
Namespace Name Mixin selector official a
Lcqv;a(Ldfp;Lbzk;Ljava/util/Map;Ljava/util/Map;)Loc;
intermediary method_12385
Lnet/minecraft/class_2852;method_12385(Lnet/minecraft/class_6625;Lnet/minecraft/class_1923;Ljava/util/Map;Ljava/util/Map;)Lnet/minecraft/class_2487;
named writeStructures
Lnet/minecraft/world/ChunkSerializer;writeStructures(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/util/math/ChunkPos;Ljava/util/Map;Ljava/util/Map;)Lnet/minecraft/nbt/NbtCompound;
-
readStructureStarts
private static Map<StructureFeature<?>,StructureStart<?>> readStructureStarts(StructureContext context, NbtCompound nbt, long worldSeed) - Mappings:
Namespace Name Mixin selector official a
Lcqv;a(Ldfp;Loc;J)Ljava/util/Map;
intermediary method_12392
Lnet/minecraft/class_2852;method_12392(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;J)Ljava/util/Map;
named readStructureStarts
Lnet/minecraft/world/ChunkSerializer;readStructureStarts(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;J)Ljava/util/Map;
-
readStructureReferences
private static Map<StructureFeature<?>,LongSet> readStructureReferences(ChunkPos pos, NbtCompound nbt) - Mappings:
Namespace Name Mixin selector official a
Lcqv;a(Lbzk;Loc;)Ljava/util/Map;
intermediary method_12387
Lnet/minecraft/class_2852;method_12387(Lnet/minecraft/class_1923;Lnet/minecraft/class_2487;)Ljava/util/Map;
named readStructureReferences
Lnet/minecraft/world/ChunkSerializer;readStructureReferences(Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/nbt/NbtCompound;)Ljava/util/Map;
-
toNbt
- Mappings:
Namespace Name Mixin selector official a
Lcqv;a([Lit/unimi/dsi/fastutil/shorts/ShortList;)Loi;
intermediary method_12393
Lnet/minecraft/class_2852;method_12393([Lit/unimi/dsi/fastutil/shorts/ShortList;)Lnet/minecraft/class_2499;
named toNbt
Lnet/minecraft/world/ChunkSerializer;toNbt([Lit/unimi/dsi/fastutil/shorts/ShortList;)Lnet/minecraft/nbt/NbtList;
-