net.minecraft.util.datafix.fixes

public class BitStorageAlignFix

extends com.mojang.datafixers.DataFix

bco
net.minecraft.util.datafix.fixes.BitStorageAlignFix
net.minecraft.class_5196
net.minecraft.datafixer.fix.BitStorageAlignFix
net.minecraft.util.datafix.fixes.DataConverterBitStorageAlign

Field summary

Modifier and TypeField
private static final int
a
BIT_TO_LONG_SHIFT
field_29863
ELEMENT_BIT_SHIFT
private static final int
b
SECTION_WIDTH
field_29864
CHUNK_WIDTH
private static final int
c
SECTION_HEIGHT
field_29865
CHUNK_LENGTH
private static final int
d
SECTION_SIZE
field_29866
MAX_BLOCK_STATE_ID
private static final int
e
HEIGHTMAP_BITS
field_29867
HEIGHT_VALUE_BITS
private static final int
f
HEIGHTMAP_SIZE
field_29868
MAX_HEIGHT_VALUE

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.schemas.Schema outputSchema)

Method summary

Modifier and TypeMethod
protected com.mojang.datafixers.TypeRewriteRule
makeRule()
makeRule()
private com.mojang.datafixers.Typed<?>
a(com.mojang.datafixers.Typed<?> arg0)
updateHeightmaps(com.mojang.datafixers.Typed<?> arg0)
method_27775(com.mojang.datafixers.Typed<?> arg0)
fixHeightmaps(com.mojang.datafixers.Typed<?> fixedLevel)
private static com.mojang.datafixers.Typed<?>
a(com.mojang.datafixers.OpticFinder<?> arg0, com.mojang.datafixers.OpticFinder<?> arg1, com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String, com.mojang.serialization.Dynamic<?>>>> arg2, com.mojang.datafixers.Typed<?> arg3)
updateSections(com.mojang.datafixers.OpticFinder<?> arg0, com.mojang.datafixers.OpticFinder<?> arg1, com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String, com.mojang.serialization.Dynamic<?>>>> arg2, com.mojang.datafixers.Typed<?> arg3)
method_27774(com.mojang.datafixers.OpticFinder<?> arg0, com.mojang.datafixers.OpticFinder<?> arg1, com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String, com.mojang.serialization.Dynamic<?>>>> arg2, com.mojang.datafixers.Typed<?> arg3)
fixLevel(com.mojang.datafixers.OpticFinder<?> levelSectionsFinder, com.mojang.datafixers.OpticFinder<?> sectionFinder, com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String, com.mojang.serialization.Dynamic<?>>>> paletteFinder, com.mojang.datafixers.Typed<?> level)
private static com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2, int arg3)
updateBitStorage(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2, int arg3)
method_27772(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1, int arg2, int arg3)
fixBitStorageArray(com.mojang.serialization.Dynamic<?> sectionDynamic, com.mojang.serialization.Dynamic<?> statesDynamic, int maxValue, int elementBits)
public static long[]
a(int arg0, int arg1, long[] arg2)
addPadding(int arg0, int arg1, long[] arg2)
method_27288(int arg0, int arg1, long[] arg2)
resizePackedIntArray(int maxValue, int elementBits, long[] elements)