Class InvalidLockComponentFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.DataComponentRemainderFix
net.minecraft.util.datafix.fixes.InvalidLockComponentFix
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> @Nullable Dynamic<T> fixComponent(Dynamic<T> input) static <T> @Nullable Dynamic<T> private static <T> booleanisBrokenLock(Dynamic<T> input) private static <T> booleanisMapWithOneField(Dynamic<T> input, String fieldName, Predicate<Dynamic<T>> predicate) Methods inherited from class DataComponentRemainderFix
makeRuleMethods inherited from class DataFix
checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead
-
Field Details
-
INVALID_LOCK_CUSTOM_NAME
-
-
Constructor Details
-
InvalidLockComponentFix
-
-
Method Details
-
fixComponent
- Specified by:
fixComponentin classDataComponentRemainderFix
-
fixLock
-
isBrokenLock
-
isMapWithOneField
-