net.minecraft.server

public record ServerLinks

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

Field summary

Modifier and TypeField
private final List<ServerLinks$Entry>
entries
entries
comp_2826
entries
public static final ServerLinks
EMPTY
EMPTY
field_51977
EMPTY
public static final PacketCodec<io.netty.buffer.ByteBuf, com.mojang.datafixers.util.Either<ServerLinks$Known, Text>>
TYPE_STREAM_CODEC
TYPE_STREAM_CODEC
field_52203
TYPE_CODEC
public static final PacketCodec<io.netty.buffer.ByteBuf, List<ServerLinks$StringifiedEntry>>
UNTRUSTED_LINKS_STREAM_CODEC
UNTRUSTED_LINKS_STREAM_CODEC
field_52204
LIST_CODEC

Constructor summary

ModifierConstructor
public (List<ServerLinks$Entry> entries)

Method summary

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