Package net.minecraft.util.datafix.fixes
Class EntityRedundantChanceTagsFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.EntityRedundantChanceTagsFix
public class EntityRedundantChanceTagsFix
extends com.mojang.datafixers.DataFix
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionEntityRedundantChanceTagsFix
(com.mojang.datafixers.schemas.Schema p_15601_, boolean p_15602_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
isZeroList
(com.mojang.serialization.OptionalDynamic<?> p_15611_, int p_15612_) 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
-
EntityRedundantChanceTagsFix
public EntityRedundantChanceTagsFix(com.mojang.datafixers.schemas.Schema p_15601_, boolean p_15602_)
-
-
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_15611_, int p_15612_)
-