Class ChunkProtoTickListFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.ChunkProtoTickListFix

public class ChunkProtoTickListFix extends com.mojang.datafixers.DataFix
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final com.google.common.collect.ImmutableSet<String>
     
    private static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChunkProtoTickListFix(com.mojang.datafixers.schemas.Schema p_184988_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private com.mojang.serialization.Dynamic<?>
    createTick(com.mojang.serialization.Dynamic<?> p_185045_, Supplier<ChunkProtoTickListFix.PoorMansPalettedContainer> p_185046_, int p_185047_, int p_185048_, int p_185049_, int p_185050_, Function<com.mojang.serialization.Dynamic<?>,String> p_185051_)
     
    private static String
    getBlock(com.mojang.serialization.Dynamic<?> p_185032_)
     
    private static String
    getLiquid(com.mojang.serialization.Dynamic<?> p_185069_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    private com.mojang.serialization.Dynamic<?>
    makeTickList(com.mojang.serialization.Dynamic<?> p_185037_, it.unimi.dsi.fastutil.ints.Int2ObjectMap<Supplier<ChunkProtoTickListFix.PoorMansPalettedContainer>> p_185038_, byte p_185039_, int p_185040_, int p_185041_, String p_185042_, Function<com.mojang.serialization.Dynamic<?>,String> p_185043_)
     

    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

    • SECTION_WIDTH

      private static final int SECTION_WIDTH
      See Also:
    • ALWAYS_WATERLOGGED

      private static final com.google.common.collect.ImmutableSet<String> ALWAYS_WATERLOGGED
  • Constructor Details

    • ChunkProtoTickListFix

      public ChunkProtoTickListFix(com.mojang.datafixers.schemas.Schema p_184988_)
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • makeTickList

      private com.mojang.serialization.Dynamic<?> makeTickList(com.mojang.serialization.Dynamic<?> p_185037_, it.unimi.dsi.fastutil.ints.Int2ObjectMap<Supplier<ChunkProtoTickListFix.PoorMansPalettedContainer>> p_185038_, byte p_185039_, int p_185040_, int p_185041_, String p_185042_, Function<com.mojang.serialization.Dynamic<?>,String> p_185043_)
    • getBlock

      private static String getBlock(@Nullable com.mojang.serialization.Dynamic<?> p_185032_)
    • getLiquid

      private static String getLiquid(@Nullable com.mojang.serialization.Dynamic<?> p_185069_)
    • createTick

      private com.mojang.serialization.Dynamic<?> createTick(com.mojang.serialization.Dynamic<?> p_185045_, @Nullable Supplier<ChunkProtoTickListFix.PoorMansPalettedContainer> p_185046_, int p_185047_, int p_185048_, int p_185049_, int p_185050_, Function<com.mojang.serialization.Dynamic<?>,String> p_185051_)