Package net.minecraft.datafixer.fix
Class RecipeRenameFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.RecipeRenameFix
- Direct Known Subclasses:
RecipeFix
,RecipeRenamingFix
public class RecipeRenameFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official aso
intermediary net/minecraft/class_4745
named net/minecraft/datafixer/fix/RecipeRenameFix
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRecipeRenameFix
(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, Function<String, 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
Laso;a:Ljava/lang/String;
intermediary field_21816
Lnet/minecraft/class_4745;field_21816:Ljava/lang/String;
named name
Lnet/minecraft/datafixer/fix/RecipeRenameFix;name:Ljava/lang/String;
-
renamer
- Mappings:
Namespace Name Mixin selector official b
Laso;b:Ljava/util/function/Function;
intermediary field_21817
Lnet/minecraft/class_4745;field_21817:Ljava/util/function/Function;
named renamer
Lnet/minecraft/datafixer/fix/RecipeRenameFix;renamer:Ljava/util/function/Function;
-
-
Constructor Details
-
RecipeRenameFix
public RecipeRenameFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String name, Function<String, String> renamer) - Mappings:
Namespace Name Mixin selector official <init>
Laso;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_4745;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/datafixer/fix/RecipeRenameFix;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;Ljava/util/function/Function;)V
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-