Uses of Class
net.md_5.bungee.protocol.Either
Packages that use Either
-
Uses of Either in net.md_5.bungee.protocol
Methods in net.md_5.bungee.protocol that return EitherModifier 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) Methods in net.md_5.bungee.protocol with parameters of type EitherModifier and TypeMethodDescriptionstatic 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 EitherModifier and TypeMethodDescriptionTeam.getDisplayName()Team.getPrefix()Team.getSuffix()ServerLinks.Link.getType()ScoreboardObjective.getValue()Methods in net.md_5.bungee.protocol.packet with parameters of type EitherModifier and TypeMethodDescriptionvoidTeam.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 EitherModifierConstructorDescriptionLink(Either<ServerLinks.LinkType, BaseComponent> type, String url) ScoreboardObjective(String name, Either<String, BaseComponent> value, ScoreboardObjective.HealthDisplay type, byte action, NumberFormat numberFormat) Creates a newScoreboardObjectiveinstance.Team(String name, byte mode, Either<String, BaseComponent> displayName, Either<String, BaseComponent> prefix, Either<String, BaseComponent> suffix, Team.NameTagVisibility nameTagVisibility, Team.CollisionRule collisionRule, int color, byte friendlyFire, String[] players) Creates a newTeaminstance.