Package net.minecraft.util.datafix.fixes
Class EntityVariantFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.NamedEntityFix
net.minecraft.util.datafix.fixes.EntityVariantFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityVariantFix
(com.mojang.datafixers.schemas.Schema p_216623_, String p_216624_, com.mojang.datafixers.DSL.TypeReference p_216625_, String p_216626_, String p_216627_, IntFunction<String> p_216628_) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.mojang.datafixers.Typed
<?> fix
(com.mojang.datafixers.Typed<?> p_216630_) private static <T> com.mojang.serialization.Dynamic
<T> updateAndRename
(com.mojang.serialization.Dynamic<T> p_216637_, String p_216638_, String p_216639_, Function<com.mojang.serialization.Dynamic<T>, com.mojang.serialization.Dynamic<T>> p_216640_) Methods inherited from class net.minecraft.util.datafix.fixes.NamedEntityFix
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
-
fieldName
-
idConversions
-
-
Constructor Details
-
EntityVariantFix
public EntityVariantFix(com.mojang.datafixers.schemas.Schema p_216623_, String p_216624_, com.mojang.datafixers.DSL.TypeReference p_216625_, String p_216626_, String p_216627_, IntFunction<String> p_216628_)
-
-
Method Details
-
updateAndRename
-
fix
protected com.mojang.datafixers.Typed<?> fix(com.mojang.datafixers.Typed<?> p_216630_) - Specified by:
fix
in classNamedEntityFix
-