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
-
Field Summary
Fields inherited from class net.minecraft.util.datafix.fixes.EntityRenameFix
name
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleEntityRenameFix
(String pName, com.mojang.datafixers.schemas.Schema pOutputSchema, boolean pChangesType) -
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 pName, com.mojang.serialization.Dynamic<?> pTag) 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 pName, com.mojang.datafixers.schemas.Schema pOutputSchema, boolean pChangesType)
-
-
Method Details
-
fix
protected com.mojang.datafixers.util.Pair<String,com.mojang.datafixers.Typed<?>> fix(String pEntityName, com.mojang.datafixers.Typed<?> pTyped) - Specified by:
fix
in classEntityRenameFix
-
getNewNameAndTag
-