Class StyledNumberFormat

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

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

    • TYPE

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

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

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

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

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

    • StyledNumberFormat

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

    • format

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

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