Package net.minecraft.util.datafix.fixes
Class SimpleEntityRenameFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.EntityRenameFix
net.minecraft.util.datafix.fixes.SimpleEntityRenameFix
- Direct Known Subclasses:
EntityCatSplitFix
,EntityElderGuardianSplitFix
,EntitySkeletonSplitFix
,EntityZombieSplitFix
-
Field Summary
Fields inherited from class net.minecraft.util.datafix.fixes.EntityRenameFix
name
-
Constructor Summary
ConstructorDescriptionSimpleEntityRenameFix(String p_16901_, com.mojang.datafixers.schemas.Schema p_16902_, boolean p_16903_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>>
protected abstract com.mojang.datafixers.util.Pair<String,com.mojang.serialization.Dynamic<?>>
getNewNameAndTag(String p_16907_, com.mojang.serialization.Dynamic<?> p_16908_)
Methods inherited from class net.minecraft.util.datafix.fixes.EntityRenameFix
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
-
Constructor Details
-
SimpleEntityRenameFix
public SimpleEntityRenameFix(String p_16901_, com.mojang.datafixers.schemas.Schema p_16902_, boolean p_16903_)
-
-
Method Details
-
fix
protected com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>> fix(String p_16905_, com.mojang.datafixers.Typed<?> p_16906_)- Specified by:
fix
in classEntityRenameFix
-
getNewNameAndTag
-