Enum Class ServerLinks.Known

java.lang.Object
java.lang.Enum<ServerLinks.Known>
net.minecraft.server.ServerLinks.Known
All Implemented Interfaces:
Serializable, Comparable<ServerLinks.Known>, Constable
Enclosing class:
ServerLinks

public static enum ServerLinks.Known extends Enum<ServerLinks.Known>
Mappings:
Namespace Name
named net/minecraft/server/ServerLinks$Known
intermediary net/minecraft/class_9782$class_9784
official ali$b
  • Enum Constant Details

    • BUG_REPORT

      public static final ServerLinks.Known BUG_REPORT
      Mappings:
      Namespace Name Mixin selector
      named BUG_REPORT Lnet/minecraft/server/ServerLinks$Known;BUG_REPORT:Lnet/minecraft/server/ServerLinks$Known;
      intermediary field_51981 Lnet/minecraft/class_9782$class_9784;field_51981:Lnet/minecraft/class_9782$class_9784;
      official a Lali$b;a:Lali$b;
  • Field Details

    • FROM_ID

      private static final IntFunction<ServerLinks.Known> FROM_ID
      Mappings:
      Namespace Name Mixin selector
      named FROM_ID Lnet/minecraft/server/ServerLinks$Known;FROM_ID:Ljava/util/function/IntFunction;
      intermediary field_51983 Lnet/minecraft/class_9782$class_9784;field_51983:Ljava/util/function/IntFunction;
      official c Lali$b;c:Ljava/util/function/IntFunction;
    • CODEC

      public static final PacketCodec<ByteBuf,ServerLinks.Known> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/server/ServerLinks$Known;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_51982 Lnet/minecraft/class_9782$class_9784;field_51982:Lnet/minecraft/class_9139;
      official b Lali$b;b:Lyw;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/server/ServerLinks$Known;id:I
      intermediary field_51984 Lnet/minecraft/class_9782$class_9784;field_51984:I
      official d Lali$b;d:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/server/ServerLinks$Known;name:Ljava/lang/String;
      intermediary field_51985 Lnet/minecraft/class_9782$class_9784;field_51985:Ljava/lang/String;
      official e Lali$b;e:Ljava/lang/String;
  • Constructor Details

    • Known

      private Known(int id, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/ServerLinks$Known;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_9782$class_9784;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Lali$b;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static ServerLinks.Known[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ServerLinks.Known valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getText

      private Text getText()
      Mappings:
      Namespace Name Mixin selector
      named getText Lnet/minecraft/server/ServerLinks$Known;getText()Lnet/minecraft/text/Text;
      intermediary method_60666 Lnet/minecraft/class_9782$class_9784;method_60666()Lnet/minecraft/class_2561;
      official a Lali$b;a()Lwy;
    • createEntry

      public ServerLinks.Entry createEntry(String url)
      Mappings:
      Namespace Name Mixin selector
      named createEntry Lnet/minecraft/server/ServerLinks$Known;createEntry(Ljava/lang/String;)Lnet/minecraft/server/ServerLinks$Entry;
      intermediary method_60668 Lnet/minecraft/class_9782$class_9784;method_60668(Ljava/lang/String;)Lnet/minecraft/class_9782$class_9783;
      official a Lali$b;a(Ljava/lang/String;)Lali$a;