Package net.minecraft.util.datafix.fixes
Class PointOfInterestRename
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.PointOfInterestRename
- Direct Known Subclasses:
RenameBeehivePointOfInterest
public abstract class PointOfInterestRename
extends com.mojang.datafixers.DataFix
-
Constructor Summary
ConstructorDescriptionPointOfInterestRename
(com.mojang.datafixers.schemas.Schema p_i225703_1_, boolean p_i225703_2_) -
Method Summary
Modifier and TypeMethodDescriptionprivate <T> com.mojang.serialization.Dynamic<T>
cap
(com.mojang.serialization.Dynamic<T> p_226201_1_) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
protected abstract String
private <T> Optional<com.mojang.serialization.Dynamic<T>>
renameRecords
(com.mojang.serialization.Dynamic<T> p_226205_1_) 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
-
PointOfInterestRename
public PointOfInterestRename(com.mojang.datafixers.schemas.Schema p_i225703_1_, boolean p_i225703_2_)
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
cap
private <T> com.mojang.serialization.Dynamic<T> cap(com.mojang.serialization.Dynamic<T> p_226201_1_) -
renameRecords
private <T> Optional<com.mojang.serialization.Dynamic<T>> renameRecords(com.mojang.serialization.Dynamic<T> p_226205_1_) -
rename
-