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

    Constructors
    Constructor Description
    ObjectiveRenderTypeFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)  
  • Method Summary

    Modifier and Type Method Description
    protected 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

    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 outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lakr;<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

      private static ScoreboardCriterion.RenderType parseLegacyRenderType​(String oldName)
      Mappings:
      Namespace Name Mixin selector
      official a Lakr;a(Ljava/lang/String;)Ldjv$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
      Mappings:
      Namespace Name Mixin selector
      official makeRule Lakr;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      intermediary makeRule Lnet/minecraft/class_1199;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;
      named makeRule Lnet/minecraft/datafixer/fix/ObjectiveRenderTypeFix;makeRule()Lcom/mojang/datafixers/TypeRewriteRule;