Class PoiTypeRemoveFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.AbstractPoiSectionFix
net.minecraft.util.datafix.fixes.PoiTypeRemoveFix

public class PoiTypeRemoveFix extends AbstractPoiSectionFix
  • Field Summary

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

    Constructors
    Constructor
    Description
    PoiTypeRemoveFix(com.mojang.datafixers.schemas.Schema p_216701_, String p_216702_, Predicate<String> p_216703_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <T> Stream<com.mojang.serialization.Dynamic<T>>
    processRecords(Stream<com.mojang.serialization.Dynamic<T>> p_216707_)
     
    private <T> boolean
    shouldKeepRecord(com.mojang.serialization.Dynamic<T> p_216705_)
     

    Methods inherited from class net.minecraft.util.datafix.fixes.AbstractPoiSectionFix

    makeRule

    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

  • Constructor Details

    • PoiTypeRemoveFix

      public PoiTypeRemoveFix(com.mojang.datafixers.schemas.Schema p_216701_, String p_216702_, Predicate<String> p_216703_)
  • Method Details

    • processRecords

      protected <T> Stream<com.mojang.serialization.Dynamic<T>> processRecords(Stream<com.mojang.serialization.Dynamic<T>> p_216707_)
      Specified by:
      processRecords in class AbstractPoiSectionFix
    • shouldKeepRecord

      private <T> boolean shouldKeepRecord(com.mojang.serialization.Dynamic<T> p_216705_)