Class FixedNumberFormat

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

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

    • TYPE

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

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

    • FixedNumberFormat

      public FixedNumberFormat(Text text)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwu;<init>(Lvf;)V
      intermediary <init> Lnet/minecraft/class_9021;<init>(Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/scoreboard/number/FixedNumberFormat;<init>(Lnet/minecraft/text/Text;)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;