Class FixedNumberFormat

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

public class FixedNumberFormat extends Object implements NumberFormat
Mappings:
Namespace Name
named net/minecraft/scoreboard/number/FixedNumberFormat
intermediary net/minecraft/class_9021
official zk
  • Field Details

    • TYPE

      public static final NumberFormatType<FixedNumberFormat> TYPE
      Mappings:
      Namespace Name Mixin selector
      named TYPE Lnet/minecraft/scoreboard/number/FixedNumberFormat;TYPE:Lnet/minecraft/scoreboard/number/NumberFormatType;
      intermediary field_47560 Lnet/minecraft/class_9021;field_47560:Lnet/minecraft/class_9023;
      official a Lzk;a:Lzm;
    • text

      final Text text
      Mappings:
      Namespace Name Mixin selector
      named text Lnet/minecraft/scoreboard/number/FixedNumberFormat;text:Lnet/minecraft/text/Text;
      intermediary field_47561 Lnet/minecraft/class_9021;field_47561:Lnet/minecraft/class_2561;
      official b Lzk;b:Lxv;
  • Constructor Details

    • FixedNumberFormat

      public FixedNumberFormat(Text text)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/scoreboard/number/FixedNumberFormat;<init>(Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_9021;<init>(Lnet/minecraft/class_2561;)V
      official <init> Lzk;<init>(Lxv;)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 Lzl;a(I)Lyj;
    • 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 Lzl;a()Lzm;