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

    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
     
    protected abstract String
    rename(String p_225501_1_)
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class com.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

      protected abstract String rename(String p_225501_1_)