Class PointOfInterestRemoveFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.PointOfInterestFix
net.minecraft.datafixer.fix.PointOfInterestRemoveFix

public class PointOfInterestRemoveFix extends PointOfInterestFix
Mappings:
Namespace Name
official ayr
intermediary net/minecraft/class_7506
named net/minecraft/datafixer/fix/PointOfInterestRemoveFix
  • Field Summary

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

    Constructors
    Constructor
    Description
    PointOfInterestRemoveFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, Predicate<String> removePredicate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private <T> boolean
    shouldKeepRecord(com.mojang.serialization.Dynamic<T> dynamic)
     
    protected <T> Stream<com.mojang.serialization.Dynamic<T>>
    update(Stream<com.mojang.serialization.Dynamic<T>> dynamics)

    Methods inherited from class net.minecraft.datafixer.fix.PointOfInterestFix

    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

    • keepPredicate

      private final Predicate<String> keepPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Layr;a:Ljava/util/function/Predicate;
      intermediary field_39405 Lnet/minecraft/class_7506;field_39405:Ljava/util/function/Predicate;
      named keepPredicate Lnet/minecraft/datafixer/fix/PointOfInterestRemoveFix;keepPredicate:Ljava/util/function/Predicate;
  • Constructor Details

    • PointOfInterestRemoveFix

      public PointOfInterestRemoveFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, Predicate<String> removePredicate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Layr;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Predicate;)V
      intermediary <init> Lnet/minecraft/class_7506;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Predicate;)V
      named <init> Lnet/minecraft/datafixer/fix/PointOfInterestRemoveFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Predicate;)V
  • Method Details

    • update

      protected <T> Stream<com.mojang.serialization.Dynamic<T>> update(Stream<com.mojang.serialization.Dynamic<T>> dynamics)
      Specified by:
      update in class PointOfInterestFix
      Mappings:
      Namespace Name Mixin selector
      official a Late;a(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
      intermediary method_44186 Lnet/minecraft/class_4620;method_44186(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
      named update Lnet/minecraft/datafixer/fix/PointOfInterestFix;update(Ljava/util/stream/Stream;)Ljava/util/stream/Stream;
    • shouldKeepRecord

      private <T> boolean shouldKeepRecord(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Layr;a(Lcom/mojang/serialization/Dynamic;)Z
      intermediary method_44195 Lnet/minecraft/class_7506;method_44195(Lcom/mojang/serialization/Dynamic;)Z
      named shouldKeepRecord Lnet/minecraft/datafixer/fix/PointOfInterestRemoveFix;shouldKeepRecord(Lcom/mojang/serialization/Dynamic;)Z