Class StyledNumberFormat

java.lang.Object
net.minecraft.scoreboard.number.StyledNumberFormat
All Implemented Interfaces:
NumberFormat

public class StyledNumberFormat extends Object implements NumberFormat
Mappings:
Namespace Name
official wy
intermediary net/minecraft/class_9025
named net/minecraft/scoreboard/number/StyledNumberFormat
  • Field Details

    • TYPE

      public static final NumberFormatType<StyledNumberFormat> TYPE
      Mappings:
      Namespace Name Mixin selector
      official a Lwy;a:Lww;
      intermediary field_47565 Lnet/minecraft/class_9025;field_47565:Lnet/minecraft/class_9023;
      named TYPE Lnet/minecraft/scoreboard/number/StyledNumberFormat;TYPE:Lnet/minecraft/scoreboard/number/NumberFormatType;
    • EMPTY

      public static final StyledNumberFormat EMPTY
      Mappings:
      Namespace Name Mixin selector
      official b Lwy;b:Lwy;
      intermediary field_47566 Lnet/minecraft/class_9025;field_47566:Lnet/minecraft/class_9025;
      named EMPTY Lnet/minecraft/scoreboard/number/StyledNumberFormat;EMPTY:Lnet/minecraft/scoreboard/number/StyledNumberFormat;
    • RED

      public static final StyledNumberFormat RED
      Mappings:
      Namespace Name Mixin selector
      official c Lwy;c:Lwy;
      intermediary field_47567 Lnet/minecraft/class_9025;field_47567:Lnet/minecraft/class_9025;
      named RED Lnet/minecraft/scoreboard/number/StyledNumberFormat;RED:Lnet/minecraft/scoreboard/number/StyledNumberFormat;
    • YELLOW

      public static final StyledNumberFormat YELLOW
      Mappings:
      Namespace Name Mixin selector
      official d Lwy;d:Lwy;
      intermediary field_47568 Lnet/minecraft/class_9025;field_47568:Lnet/minecraft/class_9025;
      named YELLOW Lnet/minecraft/scoreboard/number/StyledNumberFormat;YELLOW:Lnet/minecraft/scoreboard/number/StyledNumberFormat;
    • style

      final Style style
      Mappings:
      Namespace Name Mixin selector
      official e Lwy;e:Lwc;
      intermediary field_47569 Lnet/minecraft/class_9025;field_47569:Lnet/minecraft/class_2583;
      named style Lnet/minecraft/scoreboard/number/StyledNumberFormat;style:Lnet/minecraft/text/Style;
  • Constructor Details

    • StyledNumberFormat

      public StyledNumberFormat(Style style)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwy;<init>(Lwc;)V
      intermediary <init> Lnet/minecraft/class_9025;<init>(Lnet/minecraft/class_2583;)V
      named <init> Lnet/minecraft/scoreboard/number/StyledNumberFormat;<init>(Lnet/minecraft/text/Style;)V
  • Method Details

    • format

      public MutableText format(int number)
      Specified by:
      format in interface NumberFormat
      Mappings:
      Namespace Name Mixin selector
      official a Lwv;a(I)Lvt;
      intermediary method_55457 Lnet/minecraft/class_9022;method_55457(I)Lnet/minecraft/class_5250;
      named format Lnet/minecraft/scoreboard/number/NumberFormat;format(I)Lnet/minecraft/text/MutableText;
    • getType

      Specified by:
      getType in interface NumberFormat
      Mappings:
      Namespace Name Mixin selector
      official a Lwv;a()Lww;
      intermediary method_55456 Lnet/minecraft/class_9022;method_55456()Lnet/minecraft/class_9023;
      named getType Lnet/minecraft/scoreboard/number/NumberFormat;getType()Lnet/minecraft/scoreboard/number/NumberFormatType;