net.minecraft.util.datafix.fixes

public class EntityVariantFix

extends NamedEntityFix

bfp
net.minecraft.util.datafix.fixes.EntityVariantFix
net.minecraft.class_7371
net.minecraft.datafixer.fix.EntityVariantTypeFix
net.minecraft.util.datafix.fixes.EntityVariantFix

Field summary

Modifier and TypeField
private final String
a
fieldName
field_38705
variantKey
private final IntFunction<String>
b
idConversions
field_38706
variantIntToId

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL$TypeReference type, String entityId, String variantKey, IntFunction<String> variantIntToId)

Method summary

Modifier and TypeMethod
private static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.Dynamic<T> arg0, String arg1, String arg2, Function<com.mojang.serialization.Dynamic<T>, com.mojang.serialization.Dynamic<T>> arg3)
updateAndRename(com.mojang.serialization.Dynamic<T> arg0, String arg1, String arg2, Function<com.mojang.serialization.Dynamic<T>, com.mojang.serialization.Dynamic<T>> arg3)
method_43072(com.mojang.serialization.Dynamic<T> arg0, String arg1, String arg2, Function<com.mojang.serialization.Dynamic<T>, com.mojang.serialization.Dynamic<T>> arg3)
updateEntity(com.mojang.serialization.Dynamic<T> entityDynamic, String oldVariantKey, String newVariantKey, Function<com.mojang.serialization.Dynamic<T>, com.mojang.serialization.Dynamic<T>> variantIntToId)
protected com.mojang.datafixers.Typed<?>
a(com.mojang.datafixers.Typed<?> arg0)
fix(com.mojang.datafixers.Typed<?> arg0)
method_5105(com.mojang.datafixers.Typed<?> arg0)
transform(com.mojang.datafixers.Typed<?> arg0)