Package net.minecraft.datafixer.fix
Class BlockNameFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.BlockNameFix
public abstract class BlockNameFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/BlockNameFix
intermediary net/minecraft/class_3579
official bbp
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBlockNameFix
(com.mojang.datafixers.schemas.Schema outputSchema, String name) -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.datafixers.DataFix
create
(com.mojang.datafixers.schemas.Schema outputSchema, String name, Function<String, String> rename) private com.mojang.serialization.Dynamic
<?> fixBlockState
(com.mojang.serialization.Dynamic<?> dynamic) private String
fixFlatBlockState
(String string) com.mojang.datafixers.TypeRewriteRule
makeRule()
protected abstract String
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/BlockNameFix;name:Ljava/lang/String;
intermediary field_15828
Lnet/minecraft/class_3579;field_15828:Ljava/lang/String;
official a
Lbbp;a:Ljava/lang/String;
-
-
Constructor Details
-
BlockNameFix
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/BlockNameFix;<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
official <init>
Lbbp;<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
-
fixBlockState
private com.mojang.serialization.Dynamic<?> fixBlockState(com.mojang.serialization.Dynamic<?> dynamic) - Mappings:
Namespace Name Mixin selector named fixBlockState
Lnet/minecraft/datafixer/fix/BlockNameFix;fixBlockState(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_15588
Lnet/minecraft/class_3579;method_15588(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official a
Lbbp;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-
fixFlatBlockState
- Mappings:
Namespace Name Mixin selector named fixFlatBlockState
Lnet/minecraft/datafixer/fix/BlockNameFix;fixFlatBlockState(Ljava/lang/String;)Ljava/lang/String;
intermediary method_55639
Lnet/minecraft/class_3579;method_55639(Ljava/lang/String;)Ljava/lang/String;
official b
Lbbp;b(Ljava/lang/String;)Ljava/lang/String;
-
rename
- Mappings:
Namespace Name Mixin selector named rename
Lnet/minecraft/datafixer/fix/BlockNameFix;rename(Ljava/lang/String;)Ljava/lang/String;
intermediary method_15593
Lnet/minecraft/class_3579;method_15593(Ljava/lang/String;)Ljava/lang/String;
official a
Lbbp;a(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 named create
Lnet/minecraft/datafixer/fix/BlockNameFix;create(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
intermediary method_15589
Lnet/minecraft/class_3579;method_15589(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
official a
Lbbp;a(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/datafixers/DataFix;
-