Package net.minecraft.util.datafix.fixes
Class EntityRename
- java.lang.Object
-
- com.mojang.datafixers.DataFix
-
- net.minecraft.util.datafix.fixes.EntityRename
-
- Direct Known Subclasses:
EntityRenameHelper
,HorseSplit
public abstract class EntityRename extends com.mojang.datafixers.DataFix
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
name
-
Constructor Summary
Constructors Constructor Description EntityRename(java.lang.String p_i49715_1_, com.mojang.datafixers.schemas.Schema p_i49715_2_, boolean p_i49715_3_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract com.mojang.datafixers.util.Pair<java.lang.String,com.mojang.datafixers.Typed<?>>
fix(java.lang.String p_209149_1_, com.mojang.datafixers.Typed<?> p_209149_2_)
private <A> com.mojang.datafixers.Typed<A>
getEntity(java.lang.Object p_209757_1_, com.mojang.serialization.DynamicOps<?> p_209757_2_, com.mojang.datafixers.types.Type<A> p_209757_3_)
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
-
-
-
-
Method Detail
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()
- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
getEntity
private <A> com.mojang.datafixers.Typed<A> getEntity(java.lang.Object p_209757_1_, com.mojang.serialization.DynamicOps<?> p_209757_2_, com.mojang.datafixers.types.Type<A> p_209757_3_)
-
fix
protected abstract com.mojang.datafixers.util.Pair<java.lang.String,com.mojang.datafixers.Typed<?>> fix(java.lang.String p_209149_1_, com.mojang.datafixers.Typed<?> p_209149_2_)
-
-