Class PointOfInterestRename

    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PointOfInterestRename

        public PointOfInterestRename​(com.mojang.datafixers.schemas.Schema p_i225703_1_,
                                     boolean p_i225703_2_)
    • Method Detail

      • 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> 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_)