Package net.minecraft.util.datafix.fixes
Class EntityRenameFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.EntityRenameFix
- Direct Known Subclasses:
EntityHorseSplitFix
,SimpleEntityRenameFix
public abstract class EntityRenameFix
extends com.mojang.datafixers.DataFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityRenameFix(String p_15618_, com.mojang.datafixers.schemas.Schema p_15619_, boolean p_15620_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>>
private <A> com.mojang.datafixers.Typed<A>
getEntity(Object p_15631_, com.mojang.serialization.DynamicOps<?> p_15632_, com.mojang.datafixers.types.Type<A> p_15633_)
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
-
name
-
-
Constructor Details
-
EntityRenameFix
public EntityRenameFix(String p_15618_, com.mojang.datafixers.schemas.Schema p_15619_, boolean p_15620_)
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
getEntity
private <A> com.mojang.datafixers.Typed<A> getEntity(Object p_15631_, com.mojang.serialization.DynamicOps<?> p_15632_, com.mojang.datafixers.types.Type<A> p_15633_) -
fix
-