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,net.md_5.bungee.api.chat.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,net.md_5.bungee.api.chat.BaseComponent> message, io.netty.buffer.ByteBuf buf, int protocolVersion) -
Uses of Either in net.md_5.bungee.protocol.packet
Fields in net.md_5.bungee.protocol.packet declared as Either Modifier and Type Field Description protected Either<Integer,net.md_5.bungee.api.dialog.Dialog>ShowDialog. dialogMethods in net.md_5.bungee.protocol.packet that return Either Modifier and Type Method Description Either<Integer,net.md_5.bungee.api.dialog.Dialog>ShowDialog. getDialog()Either<String,net.md_5.bungee.api.chat.BaseComponent>Team. getDisplayName()Either<String,net.md_5.bungee.api.chat.BaseComponent>Team. getPrefix()Either<String,net.md_5.bungee.api.chat.BaseComponent>Team. getSuffix()Either<ServerLinks.LinkType,net.md_5.bungee.api.chat.BaseComponent>ServerLinks.Link. getType()Either<String,net.md_5.bungee.api.chat.BaseComponent>ScoreboardObjective. getValue()Methods in net.md_5.bungee.protocol.packet with parameters of type Either Modifier and Type Method Description voidShowDialog. setDialog(Either<Integer,net.md_5.bungee.api.dialog.Dialog> dialog)voidTeam. setDisplayName(Either<String,net.md_5.bungee.api.chat.BaseComponent> displayName)voidTeam. setPrefix(Either<String,net.md_5.bungee.api.chat.BaseComponent> prefix)voidTeam. setSuffix(Either<String,net.md_5.bungee.api.chat.BaseComponent> suffix)voidScoreboardObjective. setValue(Either<String,net.md_5.bungee.api.chat.BaseComponent> value)Constructors in net.md_5.bungee.protocol.packet with parameters of type Either Constructor Description Link(Either<ServerLinks.LinkType,net.md_5.bungee.api.chat.BaseComponent> type, String url)ScoreboardObjective(String name, Either<String,net.md_5.bungee.api.chat.BaseComponent> value, ScoreboardObjective.HealthDisplay type, byte action, NumberFormat numberFormat)Creates a newScoreboardObjectiveinstance.ShowDialog(Either<Integer,net.md_5.bungee.api.dialog.Dialog> dialog)Team(String name, byte mode, Either<String,net.md_5.bungee.api.chat.BaseComponent> displayName, Either<String,net.md_5.bungee.api.chat.BaseComponent> prefix, Either<String,net.md_5.bungee.api.chat.BaseComponent> suffix, Team.NameTagVisibility nameTagVisibility, Team.CollisionRule collisionRule, int color, byte friendlyFire, String[] players)Creates a newTeaminstance.
-