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 baz
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private 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

    Constructors
    Constructor
    Description
    BitStorageAlignFix(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private 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
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 Lbaz;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 Lbaz;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 Lbaz;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 Lbaz;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 Lbaz;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 Lbaz;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> Lbaz;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.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 Lbaz;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 Lbaz;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 Lbaz;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 Lbaz;a(II[J)[J