Package net.minecraft.server
Enum Class ServerLinks.Known
- All Implemented Interfaces:
Serializable,Comparable<ServerLinks.Known>,Constable
- Enclosing class:
ServerLinks
- Mappings:
Namespace Name named net/minecraft/server/ServerLinks$Knownintermediary net/minecraft/class_9782$class_9784official ali$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<ByteBuf, ServerLinks.Known> private static final IntFunction<ServerLinks.Known> private final intprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEntry(String url) private TextgetText()static ServerLinks.KnownReturns the enum constant of this class with the specified name.static ServerLinks.Known[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUG_REPORT
- Mappings:
Namespace Name Mixin selector named BUG_REPORTLnet/minecraft/server/ServerLinks$Known;BUG_REPORT:Lnet/minecraft/server/ServerLinks$Known;intermediary field_51981Lnet/minecraft/class_9782$class_9784;field_51981:Lnet/minecraft/class_9782$class_9784;official aLali$b;a:Lali$b;
-
-
Field Details
-
FROM_ID
- Mappings:
Namespace Name Mixin selector named FROM_IDLnet/minecraft/server/ServerLinks$Known;FROM_ID:Ljava/util/function/IntFunction;intermediary field_51983Lnet/minecraft/class_9782$class_9784;field_51983:Ljava/util/function/IntFunction;official cLali$b;c:Ljava/util/function/IntFunction;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/server/ServerLinks$Known;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_51982Lnet/minecraft/class_9782$class_9784;field_51982:Lnet/minecraft/class_9139;official bLali$b;b:Lyw;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/server/ServerLinks$Known;id:Iintermediary field_51984Lnet/minecraft/class_9782$class_9784;field_51984:Iofficial dLali$b;d:I
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/server/ServerLinks$Known;name:Ljava/lang/String;intermediary field_51985Lnet/minecraft/class_9782$class_9784;field_51985:Ljava/lang/String;official eLali$b;e:Ljava/lang/String;
-
-
Constructor Details
-
Known
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/server/ServerLinks$Known;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_9782$class_9784;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lali$b;<init>(Ljava/lang/String;IILjava/lang/String;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getText
- Mappings:
Namespace Name Mixin selector named getTextLnet/minecraft/server/ServerLinks$Known;getText()Lnet/minecraft/text/Text;intermediary method_60666Lnet/minecraft/class_9782$class_9784;method_60666()Lnet/minecraft/class_2561;official aLali$b;a()Lwy;
-
createEntry
- Mappings:
Namespace Name Mixin selector named createEntryLnet/minecraft/server/ServerLinks$Known;createEntry(Ljava/lang/String;)Lnet/minecraft/server/ServerLinks$Entry;intermediary method_60668Lnet/minecraft/class_9782$class_9784;method_60668(Ljava/lang/String;)Lnet/minecraft/class_9782$class_9783;official aLali$b;a(Ljava/lang/String;)Lali$a;
-