Uses of Class
net.md_5.bungee.protocol.Either
-
Uses of Either in net.md_5.bungee.protocol
Modifier and TypeMethodDescriptionstatic <L,
R> Either<L, R> Either.left
(L left) static Either<String,
BaseComponent> DefinedPacket.readEitherBaseComponent
(io.netty.buffer.ByteBuf buf, int protocolVersion, boolean string) static <L,
R> Either<L, R> Either.right
(R right) Modifier and TypeMethodDescriptionstatic void
DefinedPacket.writeEitherBaseComponent
(Either<String, BaseComponent> message, io.netty.buffer.ByteBuf buf, int protocolVersion)