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 alz
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
    protected com.mojang.datafixers.TypeRewriteRule
     
    private <T> com.mojang.serialization.Dynamic<T>
    method_23299​(com.mojang.serialization.Dynamic<T> dynamic)
     
    private <T> Optional<com.mojang.serialization.Dynamic<T>>
    method_23304​(com.mojang.serialization.Dynamic<T> dynamic)
     
    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> Lalz;<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
    • method_23299

      private <T> com.mojang.serialization.Dynamic<T> method_23299(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lalz;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 method_23299 Lnet/minecraft/datafixer/fix/PointOfInterestRenameFix;method_23299(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • method_23304

      private <T> Optional<com.mojang.serialization.Dynamic<T>> method_23304(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official b Lalz;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 method_23304 Lnet/minecraft/datafixer/fix/PointOfInterestRenameFix;method_23304(Lcom/mojang/serialization/Dynamic;)Ljava/util/Optional;
    • rename

      protected abstract String rename(String input)
      Mappings:
      Namespace Name Mixin selector
      official a Lalz;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;