Package net.minecraft.datafixer.fix
Class ComponentFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ComponentFix
- Direct Known Subclasses:
FireResistantToDamageResistantComponentFix
,LockComponentPredicateFix
,LodestoneCompassComponentFix
public abstract class ComponentFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/ComponentFix
intermediary net/minecraft/class_9342
official bgp
-
Field Summary
-
Constructor Summary
ConstructorDescriptionComponentFix
(com.mojang.datafixers.schemas.Schema outputSchema, String name, String componentId) ComponentFix
(com.mojang.datafixers.schemas.Schema outputSchema, String name, String oldComponentId, String newComponentId) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract <T> com.mojang.serialization.Dynamic
<T> fixComponent
(com.mojang.serialization.Dynamic<T> dynamic) final com.mojang.datafixers.TypeRewriteRule
makeRule()
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/ComponentFix;name:Ljava/lang/String;
intermediary field_49714
Lnet/minecraft/class_9342;field_49714:Ljava/lang/String;
official a
Lbgp;a:Ljava/lang/String;
-
oldComponentId
- Mappings:
Namespace Name Mixin selector named oldComponentId
Lnet/minecraft/datafixer/fix/ComponentFix;oldComponentId:Ljava/lang/String;
intermediary field_49715
Lnet/minecraft/class_9342;field_49715:Ljava/lang/String;
official b
Lbgp;b:Ljava/lang/String;
-
newComponentId
- Mappings:
Namespace Name Mixin selector named newComponentId
Lnet/minecraft/datafixer/fix/ComponentFix;newComponentId:Ljava/lang/String;
intermediary field_49716
Lnet/minecraft/class_9342;field_49716:Ljava/lang/String;
official c
Lbgp;c:Ljava/lang/String;
-
-
Constructor Details
-
ComponentFix
public ComponentFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, String componentId) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/ComponentFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_9342;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;)V
official <init>
Lbgp;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;)V
-
ComponentFix
public ComponentFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, String oldComponentId, String newComponentId) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/ComponentFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_9342;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
official <init>
Lbgp;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
-
-
Method Details
-
makeRule
public final com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
fixComponent
protected abstract <T> com.mojang.serialization.Dynamic<T> fixComponent(com.mojang.serialization.Dynamic<T> dynamic) - Mappings:
Namespace Name Mixin selector named fixComponent
Lnet/minecraft/datafixer/fix/ComponentFix;fixComponent(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
intermediary method_58045
Lnet/minecraft/class_9342;method_58045(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
official a
Lbgp;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
-