Class RenameChunkStatusFix

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

public class RenameChunkStatusFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official ayy
intermediary net/minecraft/class_8505
named net/minecraft/datafixer/fix/RenameChunkStatusFix
  • Field Summary

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

    Constructors
    Constructor
    Description
    RenameChunkStatusFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, UnaryOperator<String> mapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.TypeRewriteRule
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateStatus(com.mojang.serialization.Dynamic<T> status)
     

    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
      Mappings:
      Namespace Name Mixin selector
      official a Layy;a:Ljava/lang/String;
      intermediary field_44594 Lnet/minecraft/class_8505;field_44594:Ljava/lang/String;
      named name Lnet/minecraft/datafixer/fix/RenameChunkStatusFix;name:Ljava/lang/String;
    • mapper

      private final UnaryOperator<String> mapper
      Mappings:
      Namespace Name Mixin selector
      official b Layy;b:Ljava/util/function/UnaryOperator;
      intermediary field_44595 Lnet/minecraft/class_8505;field_44595:Ljava/util/function/UnaryOperator;
      named mapper Lnet/minecraft/datafixer/fix/RenameChunkStatusFix;mapper:Ljava/util/function/UnaryOperator;
  • Constructor Details

    • RenameChunkStatusFix

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

    • makeRule

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

      private <T> com.mojang.serialization.Dynamic<T> updateStatus(com.mojang.serialization.Dynamic<T> status)
      Mappings:
      Namespace Name Mixin selector
      official a Layy;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_51291 Lnet/minecraft/class_8505;method_51291(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named updateStatus Lnet/minecraft/datafixer/fix/RenameChunkStatusFix;updateStatus(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;