Package net.minecraft.util.datafix.fixes
Class RedundantChanceTags
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.RedundantChanceTags
public class RedundantChanceTags
extends com.mojang.datafixers.DataFix
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionRedundantChanceTags
(com.mojang.datafixers.schemas.Schema p_i49657_1_, boolean p_i49657_2_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
isZeroList
(com.mojang.serialization.OptionalDynamic<?> p_241306_0_, int p_241306_1_) com.mojang.datafixers.TypeRewriteRule
makeRule()
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
-
FLOAT_LIST_CODEC
-
-
Constructor Details
-
RedundantChanceTags
public RedundantChanceTags(com.mojang.datafixers.schemas.Schema p_i49657_1_, boolean p_i49657_2_)
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
isZeroList
private static boolean isZeroList(com.mojang.serialization.OptionalDynamic<?> p_241306_0_, int p_241306_1_)
-