Package net.minecraft.datafixer.fix
Class JigsawBlockNameFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.BlockNameFix
net.minecraft.datafixer.fix.JigsawBlockNameFix
A block (re)name fix that updates the block references within Jigsaw
block entities. Used by blocks that are generated by jigsaws.
- Mappings:
Namespace Name official aok
intermediary net/minecraft/class_5527
named net/minecraft/datafixer/fix/JigsawBlockNameFix
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJigsawBlockNameFix
(com.mojang.datafixers.schemas.Schema oldSchema, String name) -
Method Summary
Methods inherited from class net.minecraft.datafixer.fix.BlockNameFix
rename
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
Laok;a:Ljava/lang/String;
intermediary field_26991
Lnet/minecraft/class_5527;field_26991:Ljava/lang/String;
named name
Lnet/minecraft/datafixer/fix/JigsawBlockNameFix;name:Ljava/lang/String;
-
-
Constructor Details
-
JigsawBlockNameFix
- Mappings:
Namespace Name Mixin selector official <init>
Laoj;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_3579;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
named <init>
Lnet/minecraft/datafixer/fix/BlockNameFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;)V
-
-
Method Details
-
makeRule
public com.mojang.datafixers.TypeRewriteRule makeRule()- Overrides:
makeRule
in classBlockNameFix
-
create
public static com.mojang.datafixers.DataFix create(com.mojang.datafixers.schemas.Schema oldSchema, String name, Function<String, String> rename) - Mappings:
Namespace Name Mixin selector official b
Laok;b(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
intermediary method_31446
Lnet/minecraft/class_5527;method_31446(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
named create
Lnet/minecraft/datafixer/fix/JigsawBlockNameFix;create(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
-