Uses of Enum Class
net.minecraft.server.ServerLinks.Known
-
Uses of ServerLinks.Known in net.minecraft.server
Modifier and TypeFieldDescriptionstatic final PacketCodec
<ByteBuf, ServerLinks.Known> ServerLinks.Known.CODEC
private static final IntFunction
<ServerLinks.Known> ServerLinks.Known.FROM_ID
private final com.mojang.datafixers.util.Either
<ServerLinks.Known, Text> ServerLinks.Entry.type
The field for thetype
record component.private final com.mojang.datafixers.util.Either
<ServerLinks.Known, Text> ServerLinks.StringifiedEntry.type
The field for thetype
record component.static final PacketCodec
<ByteBuf, com.mojang.datafixers.util.Either<ServerLinks.Known, Text>> ServerLinks.TYPE_CODEC
Modifier and TypeMethodDescriptionstatic ServerLinks.Known
Returns the enum constant of this class with the specified name.static ServerLinks.Known[]
ServerLinks.Known.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either
<ServerLinks.Known, Text> ServerLinks.Entry.type()
Returns the value of thetype
record component.com.mojang.datafixers.util.Either
<ServerLinks.Known, Text> ServerLinks.StringifiedEntry.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptionstatic ServerLinks.Entry
ServerLinks.Entry.create
(ServerLinks.Known known, URI link) ServerLinks.getEntryFor
(ServerLinks.Known known) ModifierConstructorDescriptionEntry
(com.mojang.datafixers.util.Either<ServerLinks.Known, Text> either, URI uRI) StringifiedEntry
(com.mojang.datafixers.util.Either<ServerLinks.Known, Text> either, String string)