Package net.minecraft.datafixer.fix
Class ObjectiveRenderTypeFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ObjectiveRenderTypeFix
public class ObjectiveRenderTypeFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official alp
intermediary net/minecraft/class_1199
named net/minecraft/datafixer/fix/ObjectiveRenderTypeFix
-
Constructor Summary
ConstructorDescriptionObjectiveRenderTypeFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.mojang.datafixers.TypeRewriteRule
makeRule()
private static ScoreboardCriterion.RenderType
parseLegacyRenderType(String oldName)
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
-
Constructor Details
-
ObjectiveRenderTypeFix
public ObjectiveRenderTypeFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)- Mappings:
Namespace Name Mixin selector official <init>
Lalp;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
intermediary <init>
Lnet/minecraft/class_1199;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
named <init>
Lnet/minecraft/datafixer/fix/ObjectiveRenderTypeFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
-
-
Method Details
-
parseLegacyRenderType
- Mappings:
Namespace Name Mixin selector official a
Lalp;a(Ljava/lang/String;)Ldob$a;
intermediary method_5112
Lnet/minecraft/class_1199;method_5112(Ljava/lang/String;)Lnet/minecraft/class_274$class_275;
named parseLegacyRenderType
Lnet/minecraft/datafixer/fix/ObjectiveRenderTypeFix;parseLegacyRenderType(Ljava/lang/String;)Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-