Package net.minecraft.datafixer.fix
Class BitStorageAlignFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.BitStorageAlignFix
public class BitStorageAlignFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/BitStorageAlignFix
intermediary net/minecraft/class_5196
official bco
-
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 TypeMethodDescriptionprivate static com.mojang.serialization.Dynamic
<?> fixBitStorageArray
(com.mojang.serialization.Dynamic<?> sectionDynamic, com.mojang.serialization.Dynamic<?> statesDynamic, int maxValue, int elementBits) private com.mojang.datafixers.Typed
<?> fixHeightmaps
(com.mojang.datafixers.Typed<?> fixedLevel) private static com.mojang.datafixers.Typed
<?> 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) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
static long[]
resizePackedIntArray
(int maxValue, int elementBits, long[] elements) 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
-
ELEMENT_BIT_SHIFT
private static final int ELEMENT_BIT_SHIFT- See Also:
- Mappings:
Namespace Name Mixin selector named ELEMENT_BIT_SHIFT
Lnet/minecraft/datafixer/fix/BitStorageAlignFix;ELEMENT_BIT_SHIFT:I
intermediary field_29863
Lnet/minecraft/class_5196;field_29863:I
official a
Lbco;a:I
-
CHUNK_WIDTH
private static final int CHUNK_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named CHUNK_WIDTH
Lnet/minecraft/datafixer/fix/BitStorageAlignFix;CHUNK_WIDTH:I
intermediary field_29864
Lnet/minecraft/class_5196;field_29864:I
official b
Lbco;b:I
-
CHUNK_LENGTH
private static final int CHUNK_LENGTH- See Also:
- Mappings:
Namespace Name Mixin selector named CHUNK_LENGTH
Lnet/minecraft/datafixer/fix/BitStorageAlignFix;CHUNK_LENGTH:I
intermediary field_29865
Lnet/minecraft/class_5196;field_29865:I
official c
Lbco;c:I
-
MAX_BLOCK_STATE_ID
private static final int MAX_BLOCK_STATE_ID- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_BLOCK_STATE_ID
Lnet/minecraft/datafixer/fix/BitStorageAlignFix;MAX_BLOCK_STATE_ID:I
intermediary field_29866
Lnet/minecraft/class_5196;field_29866:I
official d
Lbco;d:I
-
HEIGHT_VALUE_BITS
private static final int HEIGHT_VALUE_BITS- See Also:
- Mappings:
Namespace Name Mixin selector named HEIGHT_VALUE_BITS
Lnet/minecraft/datafixer/fix/BitStorageAlignFix;HEIGHT_VALUE_BITS:I
intermediary field_29867
Lnet/minecraft/class_5196;field_29867:I
official e
Lbco;e:I
-
MAX_HEIGHT_VALUE
private static final int MAX_HEIGHT_VALUE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_HEIGHT_VALUE
Lnet/minecraft/datafixer/fix/BitStorageAlignFix;MAX_HEIGHT_VALUE:I
intermediary field_29868
Lnet/minecraft/class_5196;field_29868:I
official f
Lbco;f:I
-
-
Constructor Details
-
BitStorageAlignFix
public BitStorageAlignFix(com.mojang.datafixers.schemas.Schema outputSchema) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/BitStorageAlignFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
intermediary <init>
Lnet/minecraft/class_5196;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
official <init>
Lbco;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fixHeightmaps
private com.mojang.datafixers.Typed<?> fixHeightmaps(com.mojang.datafixers.Typed<?> fixedLevel) - Mappings:
Namespace Name Mixin selector named fixHeightmaps
Lnet/minecraft/datafixer/fix/BitStorageAlignFix;fixHeightmaps(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
intermediary method_27775
Lnet/minecraft/class_5196;method_27775(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
official a
Lbco;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
fixLevel
private static com.mojang.datafixers.Typed<?> 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) - Mappings:
Namespace Name Mixin selector named fixLevel
Lnet/minecraft/datafixer/fix/BitStorageAlignFix;fixLevel(Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
intermediary method_27774
Lnet/minecraft/class_5196;method_27774(Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
official a
Lbco;a(Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
fixBitStorageArray
private static com.mojang.serialization.Dynamic<?> fixBitStorageArray(com.mojang.serialization.Dynamic<?> sectionDynamic, com.mojang.serialization.Dynamic<?> statesDynamic, int maxValue, int elementBits) - Mappings:
Namespace Name Mixin selector named fixBitStorageArray
Lnet/minecraft/datafixer/fix/BitStorageAlignFix;fixBitStorageArray(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic;
intermediary method_27772
Lnet/minecraft/class_5196;method_27772(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic;
official a
Lbco;a(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic;
-
resizePackedIntArray
public static long[] resizePackedIntArray(int maxValue, int elementBits, long[] elements) - Mappings:
Namespace Name Mixin selector named resizePackedIntArray
Lnet/minecraft/datafixer/fix/BitStorageAlignFix;resizePackedIntArray(II[J)[J
intermediary method_27288
Lnet/minecraft/class_5196;method_27288(II[J)[J
official a
Lbco;a(II[J)[J
-