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 named net/minecraft/datafixer/fix/GameEventRenamesFix
intermediary net/minecraft/class_7293
official bfo
-
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 outputSchema, 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 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
Lbfo;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
Lbfo;b:Lcom/mojang/datafixers/DSL$TypeReference;
-
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
Lbfo;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>
Lbfo;<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
-