Class AbstractPoiSectionFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.AbstractPoiSectionFix
Direct Known Subclasses:
PoiTypeRemoveFix, PoiTypeRenameFix

public abstract class AbstractPoiSectionFix extends com.mojang.datafixers.DataFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractPoiSectionFix(com.mojang.datafixers.schemas.Schema p_216536_, String p_216537_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private <T> com.mojang.serialization.Dynamic<T>
    cap(com.mojang.serialization.Dynamic<T> p_216541_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    protected abstract <T> Stream<com.mojang.serialization.Dynamic<T>>
    processRecords(Stream<com.mojang.serialization.Dynamic<T>> p_216547_)
     
    private com.mojang.serialization.Dynamic<?>
    processSection(com.mojang.serialization.Dynamic<?> p_216551_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    processSectionRecords(com.mojang.serialization.Dynamic<T> p_216553_)
     

    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
  • Field Details

    • name

      private final String name
  • Constructor Details

    • AbstractPoiSectionFix

      public AbstractPoiSectionFix(com.mojang.datafixers.schemas.Schema p_216536_, String p_216537_)
  • 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_216541_)
    • processSection

      private com.mojang.serialization.Dynamic<?> processSection(com.mojang.serialization.Dynamic<?> p_216551_)
    • processSectionRecords

      private <T> com.mojang.serialization.Dynamic<T> processSectionRecords(com.mojang.serialization.Dynamic<T> p_216553_)
    • processRecords

      protected abstract <T> Stream<com.mojang.serialization.Dynamic<T>> processRecords(Stream<com.mojang.serialization.Dynamic<T>> p_216547_)