Package net.minecraft.datafixer.fix
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 official auw
intermediary net/minecraft/class_7293
named net/minecraft/datafixer/fix/GameEventRenamesFix
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private final UnaryOperator<String>
private final com.mojang.datafixers.DSL.TypeReference
-
Constructor Summary
ConstructorDescriptionGameEventRenamesFix
(com.mojang.datafixers.schemas.Schema schema, String name, com.mojang.datafixers.DSL.TypeReference typeReference, UnaryOperator<String> renamer) -
Method Summary
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
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official a
Lauw;a:Ljava/lang/String;
intermediary field_38381
Lnet/minecraft/class_7293;field_38381:Ljava/lang/String;
named name
Lnet/minecraft/datafixer/fix/GameEventRenamesFix;name:Ljava/lang/String;
-
typeReference
private final com.mojang.datafixers.DSL.TypeReference typeReference- Mappings:
Namespace Name Mixin selector official b
Lauw;b:Lcom/mojang/datafixers/DSL$TypeReference;
intermediary field_38383
Lnet/minecraft/class_7293;field_38383:Lcom/mojang/datafixers/DSL$TypeReference;
named typeReference
Lnet/minecraft/datafixer/fix/GameEventRenamesFix;typeReference:Lcom/mojang/datafixers/DSL$TypeReference;
-
renamer
- Mappings:
Namespace Name Mixin selector official c
Lauw;c:Ljava/util/function/UnaryOperator;
intermediary field_43178
Lnet/minecraft/class_7293;field_43178:Ljava/util/function/UnaryOperator;
named renamer
Lnet/minecraft/datafixer/fix/GameEventRenamesFix;renamer:Ljava/util/function/UnaryOperator;
-
-
Constructor Details
-
GameEventRenamesFix
public GameEventRenamesFix(com.mojang.datafixers.schemas.Schema schema, String name, com.mojang.datafixers.DSL.TypeReference typeReference, UnaryOperator<String> renamer) - Mappings:
Namespace Name Mixin selector official <init>
Lauw;<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
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
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-