Class NumberFormatTypes

java.lang.Object
net.minecraft.scoreboard.number.NumberFormatTypes

public class NumberFormatTypes extends Object
Mappings:
Namespace Name
named net/minecraft/scoreboard/number/NumberFormatTypes
intermediary net/minecraft/class_9024
official zn
  • Field Details

    • REGISTRY_CODEC

      public static final com.mojang.serialization.MapCodec<NumberFormat> REGISTRY_CODEC
      Mappings:
      Namespace Name Mixin selector
      named REGISTRY_CODEC Lnet/minecraft/scoreboard/number/NumberFormatTypes;REGISTRY_CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_47563 Lnet/minecraft/class_9024;field_47563:Lcom/mojang/serialization/MapCodec;
      official a Lzn;a:Lcom/mojang/serialization/MapCodec;
    • CODEC

      public static final com.mojang.serialization.Codec<NumberFormat> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/scoreboard/number/NumberFormatTypes;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_47564 Lnet/minecraft/class_9024;field_47564:Lcom/mojang/serialization/Codec;
      official b Lzn;b:Lcom/mojang/serialization/Codec;
    • PACKET_CODEC

      public static final PacketCodec<RegistryByteBuf,NumberFormat> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/scoreboard/number/NumberFormatTypes;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48544 Lnet/minecraft/class_9024;field_48544:Lnet/minecraft/class_9139;
      official c Lzn;c:Lzt;
    • OPTIONAL_PACKET_CODEC

      public static final PacketCodec<RegistryByteBuf,Optional<NumberFormat>> OPTIONAL_PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named OPTIONAL_PACKET_CODEC Lnet/minecraft/scoreboard/number/NumberFormatTypes;OPTIONAL_PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_48545 Lnet/minecraft/class_9024;field_48545:Lnet/minecraft/class_9139;
      official d Lzn;d:Lzt;
  • Constructor Details

    • NumberFormatTypes

      public NumberFormatTypes()
  • Method Details

    • registerAndGetDefault

      public static NumberFormatType<?> registerAndGetDefault(Registry<NumberFormatType<?>> registry)
      Mappings:
      Namespace Name Mixin selector
      named registerAndGetDefault Lnet/minecraft/scoreboard/number/NumberFormatTypes;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lnet/minecraft/scoreboard/number/NumberFormatType;
      intermediary method_55466 Lnet/minecraft/class_9024;method_55466(Lnet/minecraft/class_2378;)Lnet/minecraft/class_9023;
      official a Lzn;a(Lkd;)Lzm;