Package net.minecraft.util.datafix.fixes
Class ChunkRenamesFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.ChunkRenamesFix
public class ChunkRenamesFix
extends com.mojang.datafixers.DataFix
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static <A> com.mojang.datafixers.Typed
<com.mojang.datafixers.util.Pair<String, A>> appendChunkName
(com.mojang.datafixers.Typed<A> p_185107_) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
private static <T> com.mojang.serialization.Dynamic
<T> mergeRemainders
(com.mojang.datafixers.Typed<?> p_185109_, com.mojang.serialization.Dynamic<T> p_185110_) private static com.mojang.datafixers.Typed
<?> renameField
(com.mojang.datafixers.Typed<?> p_185112_, String p_185113_, String p_185114_) private static <A> com.mojang.datafixers.Typed
<?> renameFieldHelper
(com.mojang.datafixers.Typed<?> p_185116_, String p_185117_, String p_185118_, com.mojang.datafixers.types.Type<A> p_185119_) 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
-
ChunkRenamesFix
public ChunkRenamesFix(com.mojang.datafixers.schemas.Schema p_185100_)
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
renameField
-
renameFieldHelper
-
appendChunkName
private static <A> com.mojang.datafixers.Typed<com.mojang.datafixers.util.Pair<String,A>> appendChunkName(com.mojang.datafixers.Typed<A> p_185107_) -
mergeRemainders
private static <T> com.mojang.serialization.Dynamic<T> mergeRemainders(com.mojang.datafixers.Typed<?> p_185109_, com.mojang.serialization.Dynamic<T> p_185110_)
-