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

    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 p_14736_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static long[]
    addPadding(int p_14738_, int p_14739_, long[] p_14740_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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 class com.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_)