Uses of Class
net.md_5.bungee.protocol.Either
-
Packages that use Either Package Description net.md_5.bungee.protocol net.md_5.bungee.protocol.packet -
-
Uses of Either in net.md_5.bungee.protocol
Methods in net.md_5.bungee.protocol that return Either Modifier and Type Method Description static <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)Methods in net.md_5.bungee.protocol with parameters of type Either Modifier and Type Method Description static voidDefinedPacket. writeEitherBaseComponent(Either<String,BaseComponent> message, io.netty.buffer.ByteBuf buf, int protocolVersion) -
Uses of Either in net.md_5.bungee.protocol.packet
Methods in net.md_5.bungee.protocol.packet that return Either Modifier and Type Method Description Either<String,BaseComponent>Team. getDisplayName()Either<String,BaseComponent>Team. getPrefix()Either<String,BaseComponent>Team. getSuffix()Either<ServerLinks.LinkType,BaseComponent>ServerLinks.Link. getType()Either<String,BaseComponent>ScoreboardObjective. getValue()Methods in net.md_5.bungee.protocol.packet with parameters of type Either Modifier and Type Method Description voidTeam. setDisplayName(Either<String,BaseComponent> displayName)voidTeam. setPrefix(Either<String,BaseComponent> prefix)voidTeam. setSuffix(Either<String,BaseComponent> suffix)voidScoreboardObjective. setValue(Either<String,BaseComponent> value)Constructors in net.md_5.bungee.protocol.packet with parameters of type Either Constructor Description Link(Either<ServerLinks.LinkType,BaseComponent> type, String url)ScoreboardObjective(String name, Either<String,BaseComponent> value, ScoreboardObjective.HealthDisplay type, byte action, NumberFormat numberFormat)Team(String name, byte mode, Either<String,BaseComponent> displayName, Either<String,BaseComponent> prefix, Either<String,BaseComponent> suffix, String nameTagVisibility, String collisionRule, int color, byte friendlyFire, String[] players)
-