Package net.minecraft.datafixer.fix
Class EntityRedundantChanceTagsFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.EntityRedundantChanceTagsFix
public class EntityRedundantChanceTagsFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official ayt
intermediary net/minecraft/class_1165
named net/minecraft/datafixer/fix/EntityRedundantChanceTagsFix
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionEntityRedundantChanceTagsFix
(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
hasZeroDropChance
(com.mojang.serialization.OptionalDynamic<?> listTag, int expectedLength) 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
- Mappings:
Namespace Name Mixin selector official a
Layt;a:Lcom/mojang/serialization/Codec;
intermediary field_25695
Lnet/minecraft/class_1165;field_25695:Lcom/mojang/serialization/Codec;
named FLOAT_LIST_CODEC
Lnet/minecraft/datafixer/fix/EntityRedundantChanceTagsFix;FLOAT_LIST_CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
EntityRedundantChanceTagsFix
public EntityRedundantChanceTagsFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType) - Mappings:
Namespace Name Mixin selector official <init>
Layt;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
intermediary <init>
Lnet/minecraft/class_1165;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
named <init>
Lnet/minecraft/datafixer/fix/EntityRedundantChanceTagsFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
hasZeroDropChance
private static boolean hasZeroDropChance(com.mojang.serialization.OptionalDynamic<?> listTag, int expectedLength) - Mappings:
Namespace Name Mixin selector official a
Layt;a(Lcom/mojang/serialization/OptionalDynamic;I)Z
intermediary method_30073
Lnet/minecraft/class_1165;method_30073(Lcom/mojang/serialization/OptionalDynamic;I)Z
named hasZeroDropChance
Lnet/minecraft/datafixer/fix/EntityRedundantChanceTagsFix;hasZeroDropChance(Lcom/mojang/serialization/OptionalDynamic;I)Z
-