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
Constructors Constructor Description PointOfInterestRename(com.mojang.datafixers.schemas.Schema p_i225703_1_, boolean p_i225703_2_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description private <T> com.mojang.serialization.Dynamic<T>
cap(com.mojang.serialization.Dynamic<T> p_226201_1_)
protected com.mojang.datafixers.TypeRewriteRule
makeRule()
protected abstract java.lang.String
rename(java.lang.String p_225501_1_)
private <T> java.util.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
-
-
-
-
Method Detail
-
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> java.util.Optional<com.mojang.serialization.Dynamic<T>> renameRecords(com.mojang.serialization.Dynamic<T> p_226205_1_)
-
rename
protected abstract java.lang.String rename(java.lang.String p_225501_1_)
-
-