net.minecraft.server

public record ServerLinks$Entry

net.minecraft.server.ServerLinks$Entry
net.minecraft.class_9782$class_9783
net.minecraft.server.ServerLinks$Entry

Field summary

Modifier and TypeField
private final com.mojang.datafixers.util.Either<ServerLinks$Known, Text>
type
comp_2827
type
private final URI
link
comp_2828
link

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.util.Either<ServerLinks$Known, Text> type, URI link)

Method summary

Modifier and TypeMethod
public static ServerLinks$Entry
knownType(ServerLinks$KnownLinkType type, URI link)
method_60663(class_9782$class_9784 arg0, URI arg1)
create(ServerLinks$Known known, URI link)
public static ServerLinks$Entry
custom(Component displayName, URI link)
method_60665(class_2561 arg0, URI arg1)
create(Text name, URI link)
public Text
displayName()
method_60662()
getText()
public com.mojang.datafixers.util.Either<ServerLinks$Known, Text>
type()
comp_2827()
type()
public URI
link()
comp_2828()
link()
private static Text
lambda$displayName$0(Component arg0)
method_60664(class_2561 arg0)
method_60664(Text text)