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
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionEntityRedundantChanceTagsFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanisZeroList(com.mojang.serialization.OptionalDynamic<?> list, int size) com.mojang.datafixers.TypeRewriteRulemakeRule()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 outputSchema, boolean changesType)
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRulein classcom.mojang.datafixers.DataFix
-
isZeroList
private static boolean isZeroList(com.mojang.serialization.OptionalDynamic<?> list, int size)
-