net.minecraft.server

public record ServerLinks

amr
net.minecraft.server.ServerLinks
net.minecraft.class_9782
net.minecraft.server.ServerLinks
net.minecraft.server.ServerLinks

Field summary

Modifier and TypeField
private final List<ServerLinks$Entry>
d
entries
comp_2826
entries
public static final ServerLinks
a
EMPTY
field_51977
EMPTY
public static final StreamCodec<io.netty.buffer.ByteBuf, com.mojang.datafixers.util.Either<ServerLinks$KnownLinkType, Component>>
b
TYPE_STREAM_CODEC
field_52203
TYPE_CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, List<ServerLinks$UntrustedEntry>>
c
UNTRUSTED_LINKS_STREAM_CODEC
field_52204
LIST_CODEC

Constructor summary

ModifierConstructor
public (List<ServerLinks$Entry> arg0)

Method summary

Modifier and TypeMethod
public boolean
a()
isEmpty()
method_60657()
isEmpty()
public Optional<ServerLinks$Entry>
a(amr$b arg0)
findKnownType(ServerLinks$KnownLinkType arg0)
method_60658(class_9782$class_9784 arg0)
getEntryFor(ServerLinks$Known known)
public List<ServerLinks$UntrustedEntry>
b()
untrust()
method_60938()
getLinks()
public List<ServerLinks$Entry>
c()
entries()
comp_2826()
entries()