Package net.minecraft.util.datafix.fixes
Class ChunkPaletteFormat.UpgradeChunk
java.lang.Object
net.minecraft.util.datafix.fixes.ChunkPaletteFormat.UpgradeChunk
- Enclosing class:
- ChunkPaletteFormat
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap<com.mojang.serialization.Dynamic<?>>
private final com.mojang.serialization.Dynamic<?>
private final ChunkPaletteFormat.Section[]
private int
private final int
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Dynamic<?>
getBlock
(int p_210064_1_) private com.mojang.serialization.Dynamic<?>
getBlockEntity
(int p_210066_1_) private ChunkPaletteFormat.Section
getSection
(int p_199221_1_) static int
relative
(int p_199223_0_, ChunkPaletteFormat.Direction p_199223_1_) private com.mojang.serialization.Dynamic<?>
removeBlockEntity
(int p_210059_1_) private void
setBlock
(int p_210060_1_, com.mojang.serialization.Dynamic<?> p_210060_2_) com.mojang.serialization.Dynamic<?>
write()
-
Field Details
-
sides
private int sides -
sections
-
level
private final com.mojang.serialization.Dynamic<?> level -
x
private final int x -
z
private final int z -
blockEntities
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<com.mojang.serialization.Dynamic<?>> blockEntities
-
-
Constructor Details
-
UpgradeChunk
public UpgradeChunk(com.mojang.serialization.Dynamic<?> p_i231449_1_)
-
-
Method Details
-
getBlockEntity
@Nullable private com.mojang.serialization.Dynamic<?> getBlockEntity(int p_210066_1_) -
removeBlockEntity
@Nullable private com.mojang.serialization.Dynamic<?> removeBlockEntity(int p_210059_1_) -
relative
-
setBlock
private void setBlock(int p_210060_1_, com.mojang.serialization.Dynamic<?> p_210060_2_) -
getSection
-
getBlock
public com.mojang.serialization.Dynamic<?> getBlock(int p_210064_1_) -
write
public com.mojang.serialization.Dynamic<?> write()
-