static class ChunkPalettedStorageFix.Section extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
hasBlocks |
private it.unimi.dsi.fastutil.ints.IntList |
innerPositions |
private it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList> |
inPlaceUpdates |
private List<com.mojang.serialization.Dynamic<?>> |
paletteData |
private Int2ObjectBiMap<com.mojang.serialization.Dynamic<?>> |
paletteMap |
private com.mojang.serialization.Dynamic<?> |
section |
private Set<com.mojang.serialization.Dynamic<?>> |
seenStates |
private int[] |
states |
int |
y |
Constructor and Description |
---|
Section(com.mojang.serialization.Dynamic<?> dynamic) |
Modifier and Type | Method and Description |
---|---|
private void |
addInPlaceUpdate(int section,
int index) |
com.mojang.serialization.Dynamic<?> |
getBlock(int index) |
void |
setBlock(int pos,
com.mojang.serialization.Dynamic<?> dynamic) |
com.mojang.serialization.Dynamic<?> |
transform() |
int |
visit(int sidesToUpgrade) |
private final Int2ObjectBiMap<com.mojang.serialization.Dynamic<?>> paletteMap
private final List<com.mojang.serialization.Dynamic<?>> paletteData
private final com.mojang.serialization.Dynamic<?> section
private final boolean hasBlocks
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList> inPlaceUpdates
private final it.unimi.dsi.fastutil.ints.IntList innerPositions
public final int y
private final Set<com.mojang.serialization.Dynamic<?>> seenStates
private final int[] states
public com.mojang.serialization.Dynamic<?> getBlock(int index)
public void setBlock(int pos, com.mojang.serialization.Dynamic<?> dynamic)
public int visit(int sidesToUpgrade)
private void addInPlaceUpdate(int section, int index)
public com.mojang.serialization.Dynamic<?> transform()