Package net.minecraft.util.datafix.fixes
Class ChunkPaletteFormat.Section
java.lang.Object
net.minecraft.util.datafix.fixes.ChunkPaletteFormat.Section
- Enclosing class:
- ChunkPaletteFormat
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int[]
private final boolean
private final List<com.mojang.serialization.Dynamic<?>>
private final IntIdentityHashBiMap<com.mojang.serialization.Dynamic<?>>
private final com.mojang.serialization.Dynamic<?>
private final Set<com.mojang.serialization.Dynamic<?>>
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList>
private final it.unimi.dsi.fastutil.ints.IntList
final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addFix
(int p_199205_1_, int p_199205_2_) com.mojang.serialization.Dynamic<?>
getBlock
(int p_210056_1_) void
setBlock
(int p_210053_1_, com.mojang.serialization.Dynamic<?> p_210053_2_) int
upgrade
(int p_199207_1_) com.mojang.serialization.Dynamic<?>
write()
-
Field Details
-
palette
-
listTag
-
section
private final com.mojang.serialization.Dynamic<?> section -
hasData
private final boolean hasData -
toFix
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList> toFix -
update
private final it.unimi.dsi.fastutil.ints.IntList update -
y
public final int y -
seen
-
buffer
private final int[] buffer
-
-
Constructor Details
-
Section
public Section(com.mojang.serialization.Dynamic<?> p_i231448_1_)
-
-
Method Details
-
getBlock
public com.mojang.serialization.Dynamic<?> getBlock(int p_210056_1_) -
setBlock
public void setBlock(int p_210053_1_, com.mojang.serialization.Dynamic<?> p_210053_2_) -
upgrade
public int upgrade(int p_199207_1_) -
addFix
private void addFix(int p_199205_1_, int p_199205_2_) -
write
public com.mojang.serialization.Dynamic<?> write()
-