Class GameEventRenamesFix

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

public class GameEventRenamesFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/GameEventRenamesFix
intermediary net/minecraft/class_7293
official bff
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
    private final UnaryOperator<String>
     
    private final com.mojang.datafixers.DSL.TypeReference
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    GameEventRenamesFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL.TypeReference typeReference, UnaryOperator<String> renamer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.TypeRewriteRule
     

    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/GameEventRenamesFix;name:Ljava/lang/String;
      intermediary field_38381 Lnet/minecraft/class_7293;field_38381:Ljava/lang/String;
      official a Lbff;a:Ljava/lang/String;
    • typeReference

      private final com.mojang.datafixers.DSL.TypeReference typeReference
      Mappings:
      Namespace Name Mixin selector
      named typeReference Lnet/minecraft/datafixer/fix/GameEventRenamesFix;typeReference:Lcom/mojang/datafixers/DSL$TypeReference;
      intermediary field_38383 Lnet/minecraft/class_7293;field_38383:Lcom/mojang/datafixers/DSL$TypeReference;
      official b Lbff;b:Lcom/mojang/datafixers/DSL$TypeReference;
    • renamer

      private final UnaryOperator<String> renamer
      Mappings:
      Namespace Name Mixin selector
      named renamer Lnet/minecraft/datafixer/fix/GameEventRenamesFix;renamer:Ljava/util/function/UnaryOperator;
      intermediary field_43178 Lnet/minecraft/class_7293;field_43178:Ljava/util/function/UnaryOperator;
      official c Lbff;c:Ljava/util/function/UnaryOperator;
  • Constructor Details

    • GameEventRenamesFix

      public GameEventRenamesFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, com.mojang.datafixers.DSL.TypeReference typeReference, UnaryOperator<String> renamer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/GameEventRenamesFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/util/function/UnaryOperator;)V
      intermediary <init> Lnet/minecraft/class_7293;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/util/function/UnaryOperator;)V
      official <init> Lbff;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/util/function/UnaryOperator;)V
  • Method Details

    • makeRule

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