Package net.minecraft.util.datafix.fixes
Class ChunkPalettedStorageFix.UpgradeChunk
java.lang.Object
net.minecraft.util.datafix.fixes.ChunkPalettedStorageFix.UpgradeChunk
- Enclosing class:
ChunkPalettedStorageFix
-
Field Summary
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<com.mojang.serialization.Dynamic<?>> private final com.mojang.serialization.Dynamic
<?> private final ChunkPalettedStorageFix.Section[]
private int
private final int
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Dynamic
<?> getBlock
(int p_15225_) private com.mojang.serialization.Dynamic
<?> getBlockEntity
(int p_15237_) private ChunkPalettedStorageFix.Section
getSection
(int p_15245_) static int
relative
(int p_15227_, ChunkPalettedStorageFix.Direction p_15228_) private com.mojang.serialization.Dynamic
<?> removeBlockEntity
(int p_15243_) private void
setBlock
(int p_15230_, com.mojang.serialization.Dynamic<?> p_15231_) 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_15222_)
-
-
Method Details
-
getBlockEntity
@Nullable private com.mojang.serialization.Dynamic<?> getBlockEntity(int p_15237_) -
removeBlockEntity
@Nullable private com.mojang.serialization.Dynamic<?> removeBlockEntity(int p_15243_) -
relative
-
setBlock
private void setBlock(int p_15230_, com.mojang.serialization.Dynamic<?> p_15231_) -
getSection
-
getBlock
public com.mojang.serialization.Dynamic<?> getBlock(int p_15225_) -
write
public com.mojang.serialization.Dynamic<?> write()
-