Package net.minecraft.util.datafix.fixes
Class SavedDataFeaturePoolElementFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.SavedDataFeaturePoolElementFix
public class SavedDataFeaturePoolElementFix
extends com.mojang.datafixers.DataFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSavedDataFeaturePoolElementFix
(com.mojang.datafixers.schemas.Schema p_145646_) -
Method Summary
Modifier and TypeMethodDescriptionprotected static com.mojang.serialization.Dynamic<?>
fixFeature
(com.mojang.serialization.Dynamic<?> p_145648_) private static <T> com.mojang.serialization.Dynamic<T>
fixTag
(com.mojang.serialization.Dynamic<T> p_145663_) private static <T> com.mojang.serialization.OptionalDynamic<T>
getReplacement
(String p_145653_, String p_145654_, String p_145655_, String p_145656_, String p_145657_, String p_145658_, String p_145659_) com.mojang.datafixers.TypeRewriteRule
makeRule()
private static <T> com.mojang.serialization.Dynamic<T>
updateChildren
(com.mojang.serialization.Dynamic<T> p_145665_) private static Stream<? extends com.mojang.serialization.Dynamic<?>>
updateChildren
(Stream<? extends com.mojang.serialization.Dynamic<?>> p_145661_) 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
-
INDEX_PATTERN
-
PIECE_TYPE
-
FEATURES
-
-
Constructor Details
-
SavedDataFeaturePoolElementFix
public SavedDataFeaturePoolElementFix(com.mojang.datafixers.schemas.Schema p_145646_)
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fixTag
private static <T> com.mojang.serialization.Dynamic<T> fixTag(com.mojang.serialization.Dynamic<T> p_145663_) -
updateChildren
private static <T> com.mojang.serialization.Dynamic<T> updateChildren(com.mojang.serialization.Dynamic<T> p_145665_) -
updateChildren
-
get
private static <T> com.mojang.serialization.OptionalDynamic<T> get(com.mojang.serialization.Dynamic<T> p_145650_, String... p_145651_) -
fixFeature
protected static com.mojang.serialization.Dynamic<?> fixFeature(com.mojang.serialization.Dynamic<?> p_145648_) -
getReplacement
-