Package net.minecraft.util.datafix.fixes
Class BitStorageAlignFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.BitStorageAlignFix
public class BitStorageAlignFix
extends com.mojang.datafixers.DataFix
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final int
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long[]
addPadding
(int p_14738_, int p_14739_, long[] p_14740_) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
private static com.mojang.serialization.Dynamic
<?> updateBitStorage
(com.mojang.serialization.Dynamic<?> p_14777_, com.mojang.serialization.Dynamic<?> p_14778_, int p_14779_, int p_14780_) private com.mojang.datafixers.Typed
<?> updateHeightmaps
(com.mojang.datafixers.Typed<?> p_14763_) private static com.mojang.datafixers.Typed
<?> updateSections
(com.mojang.datafixers.OpticFinder<?> p_14751_, com.mojang.datafixers.OpticFinder<?> p_14752_, com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String, com.mojang.serialization.Dynamic<?>>>> p_14753_, com.mojang.datafixers.Typed<?> p_14754_) Methods inherited from class com.mojang.datafixers.DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
Field Details
-
BIT_TO_LONG_SHIFT
private static final int BIT_TO_LONG_SHIFT- See Also:
-
SECTION_WIDTH
private static final int SECTION_WIDTH- See Also:
-
SECTION_HEIGHT
private static final int SECTION_HEIGHT- See Also:
-
SECTION_SIZE
private static final int SECTION_SIZE- See Also:
-
HEIGHTMAP_BITS
private static final int HEIGHTMAP_BITS- See Also:
-
HEIGHTMAP_SIZE
private static final int HEIGHTMAP_SIZE- See Also:
-
-
Constructor Details
-
BitStorageAlignFix
public BitStorageAlignFix(com.mojang.datafixers.schemas.Schema p_14736_)
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
updateHeightmaps
private com.mojang.datafixers.Typed<?> updateHeightmaps(com.mojang.datafixers.Typed<?> p_14763_) -
updateSections
private static com.mojang.datafixers.Typed<?> updateSections(com.mojang.datafixers.OpticFinder<?> p_14751_, com.mojang.datafixers.OpticFinder<?> p_14752_, com.mojang.datafixers.OpticFinder<List<com.mojang.datafixers.util.Pair<String, com.mojang.serialization.Dynamic<?>>>> p_14753_, com.mojang.datafixers.Typed<?> p_14754_) -
updateBitStorage
private static com.mojang.serialization.Dynamic<?> updateBitStorage(com.mojang.serialization.Dynamic<?> p_14777_, com.mojang.serialization.Dynamic<?> p_14778_, int p_14779_, int p_14780_) -
addPadding
public static long[] addPadding(int p_14738_, int p_14739_, long[] p_14740_)
-