Package net.minecraft.util.datafix.fixes
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
Modifier and TypeClassDescriptionstatic final class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.google.common.collect.ImmutableSet<String>
private static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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
makeRule()
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
-
Field Details
-
SECTION_WIDTH
private static final int SECTION_WIDTH- See Also:
-
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 classcom.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
-
getLiquid
-
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_)
-