Class NeoForgeEntityLegacyAttributesFix
java.lang.Object
com.mojang.datafixers.DataFix
net.neoforged.neoforge.common.data.fixes.NeoForgeEntityLegacyAttributesFix
public class NeoForgeEntityLegacyAttributesFix
extends com.mojang.datafixers.DataFix
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNeoForgeEntityLegacyAttributesFix
(String name, com.mojang.datafixers.schemas.Schema outputSchema, List<String> attributesToRemove) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.mojang.datafixers.Typed
<?> fixItemStackTag
(com.mojang.datafixers.Typed<?> typed) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
private com.mojang.datafixers.Typed
<?> removeLegacyAttributes
(com.mojang.datafixers.Typed<?> typed) 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
-
legacyAttributes
-
name
-
-
Constructor Details
-
NeoForgeEntityLegacyAttributesFix
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fixItemStackTag
private com.mojang.datafixers.Typed<?> fixItemStackTag(com.mojang.datafixers.Typed<?> typed) -
removeLegacyAttributes
private com.mojang.datafixers.Typed<?> removeLegacyAttributes(com.mojang.datafixers.Typed<?> typed)
-