Class PointOfInterestRenameFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.PointOfInterestRenameFix
Direct Known Subclasses:
BeehiveRenameFix

public abstract class PointOfInterestRenameFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official aot
intermediary net/minecraft/class_4620
named net/minecraft/datafixer/fix/PointOfInterestRenameFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    PointOfInterestRenameFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private <T> Optional<com.mojang.serialization.Dynamic<T>>
    fixPointOfInterest(com.mojang.serialization.Dynamic<T> dynamic)
     
    private <T> com.mojang.serialization.Dynamic<T>
    fixPointsOfInterest(com.mojang.serialization.Dynamic<T> dynamic)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    protected abstract String
    rename(String input)
     

    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

    • PointOfInterestRenameFix

      public PointOfInterestRenameFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laot;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_4620;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      named <init> Lnet/minecraft/datafixer/fix/PointOfInterestRenameFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • fixPointsOfInterest

      private <T> com.mojang.serialization.Dynamic<T> fixPointsOfInterest(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Laot;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_23299 Lnet/minecraft/class_4620;method_23299(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named fixPointsOfInterest Lnet/minecraft/datafixer/fix/PointOfInterestRenameFix;fixPointsOfInterest(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixPointOfInterest

      private <T> Optional<com.mojang.serialization.Dynamic<T>> fixPointOfInterest(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official b Laot;b(Lcom/mojang/serialization/Dynamic;)Ljava/util/Optional;
      intermediary method_23304 Lnet/minecraft/class_4620;method_23304(Lcom/mojang/serialization/Dynamic;)Ljava/util/Optional;
      named fixPointOfInterest Lnet/minecraft/datafixer/fix/PointOfInterestRenameFix;fixPointOfInterest(Lcom/mojang/serialization/Dynamic;)Ljava/util/Optional;
    • rename

      protected abstract String rename(String input)
      Mappings:
      Namespace Name Mixin selector
      official a Laot;a(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_23303 Lnet/minecraft/class_4620;method_23303(Ljava/lang/String;)Ljava/lang/String;
      named rename Lnet/minecraft/datafixer/fix/PointOfInterestRenameFix;rename(Ljava/lang/String;)Ljava/lang/String;