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 ard
intermediary net/minecraft/class_1199
named net/minecraft/datafixer/fix/ObjectiveRenderTypeFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    ObjectiveRenderTypeFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.TypeRewriteRule
     
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ObjectiveRenderTypeFix

      public ObjectiveRenderTypeFix(com.mojang.datafixers.schemas.Schema schema, boolean bool)
  • Method Details

    • parseLegacyRenderType

      private static ScoreboardCriterion.RenderType parseLegacyRenderType(String oldName)
      Mappings:
      Namespace Name Mixin selector
      official a Lard;a(Ljava/lang/String;)Ldwt$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 class com.mojang.datafixers.DataFix