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
named net/minecraft/datafixer/fix/RenameChunkStatusFix
intermediary net/minecraft/class_8505
official bix
  • 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
      named name Lnet/minecraft/datafixer/fix/RenameChunkStatusFix;name:Ljava/lang/String;
      intermediary field_44594 Lnet/minecraft/class_8505;field_44594:Ljava/lang/String;
      official a Lbix;a:Ljava/lang/String;
    • mapper

      private final UnaryOperator<String> mapper
      Mappings:
      Namespace Name Mixin selector
      named mapper Lnet/minecraft/datafixer/fix/RenameChunkStatusFix;mapper:Ljava/util/function/UnaryOperator;
      intermediary field_44595 Lnet/minecraft/class_8505;field_44595:Ljava/util/function/UnaryOperator;
      official b Lbix;b: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
      named <init> Lnet/minecraft/datafixer/fix/RenameChunkStatusFix;<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
      official <init> Lbix;<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
      named updateStatus Lnet/minecraft/datafixer/fix/RenameChunkStatusFix;updateStatus(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;
      official a Lbix;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;