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 asa
intermediary net/minecraft/class_1199
named net/minecraft/datafixer/fix/ObjectiveRenderTypeFix
-
Constructor Summary
ConstructorsConstructorDescriptionObjectiveRenderTypeFix
(com.mojang.datafixers.schemas.Schema schema, boolean bool) -
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 schema, boolean bool)
-
-
Method Details
-
parseLegacyRenderType
- Mappings:
Namespace Name Mixin selector official a
Lasa;a(Ljava/lang/String;)Ldxr$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
-