Class DataComponentRemainderFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.DataComponentRemainderFix
- Direct Known Subclasses:
FireResistantToDamageResistantComponentFix, InvalidLockComponentFix, LockComponentPredicateFix, LodestoneCompassComponentFix, TridentAnimationFix
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDataComponentRemainderFix(Schema outputSchema, String name, String componentId) DataComponentRemainderFix(Schema outputSchema, String name, String componentId, String newComponentId) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract <T> @Nullable Dynamic<T> fixComponent(Dynamic<T> input) final TypeRewriteRulemakeRule()Methods inherited from class DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead