Package net.minecraft.datafixer.fix
Class ItemNameFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ItemNameFix
public abstract class ItemNameFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official arc
intermediary net/minecraft/class_1182
named net/minecraft/datafixer/fix/ItemNameFix
-
Field Summary
Fields -
Constructor Summary
Constructors -
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
Larc;a:Ljava/lang/String;
intermediary field_5676
Lnet/minecraft/class_1182;field_5676:Ljava/lang/String;
named name
Lnet/minecraft/datafixer/fix/ItemNameFix;name:Ljava/lang/String;
-
-
Constructor Details
-
ItemNameFix
- Mappings:
Namespace Name Mixin selector official <init>
Larc;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_1182;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
named <init>
Lnet/minecraft/datafixer/fix/ItemNameFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
rename
- Mappings:
Namespace Name Mixin selector official a
Larc;a(Ljava/lang/String;)Ljava/lang/String;
intermediary method_5022
Lnet/minecraft/class_1182;method_5022(Ljava/lang/String;)Ljava/lang/String;
named rename
Lnet/minecraft/datafixer/fix/ItemNameFix;rename(Ljava/lang/String;)Ljava/lang/String;
-
create
public static com.mojang.datafixers.DataFix create(com.mojang.datafixers.schemas.Schema outputSchema, String name, Function<String, String> rename) - Mappings:
Namespace Name Mixin selector official a
Larc;a(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
intermediary method_5019
Lnet/minecraft/class_1182;method_5019(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
named create
Lnet/minecraft/datafixer/fix/ItemNameFix;create(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
-