Class Team


  • public class Team
    extends Object
    • Constructor Detail

      • Team

        public Team​(@NonNull
                    @NonNull String name)
    • Method Detail

      • addPlayer

        public void addPlayer​(String name)
      • removePlayer

        public void removePlayer​(String name)
      • getName

        @NonNull
        public @NonNull String getName()
      • getDisplayName

        public String getDisplayName()
      • getPrefix

        public String getPrefix()
      • getSuffix

        public String getSuffix()
      • getFriendlyFire

        public byte getFriendlyFire()
      • getNameTagVisibility

        public String getNameTagVisibility()
      • getCollisionRule

        public String getCollisionRule()
      • getColor

        public int getColor()
      • setDisplayName

        public void setDisplayName​(String displayName)
      • setPrefix

        public void setPrefix​(String prefix)
      • setSuffix

        public void setSuffix​(String suffix)
      • setFriendlyFire

        public void setFriendlyFire​(byte friendlyFire)
      • setNameTagVisibility

        public void setNameTagVisibility​(String nameTagVisibility)
      • setCollisionRule

        public void setCollisionRule​(String collisionRule)
      • setColor

        public void setColor​(int color)
      • setPlayers

        public void setPlayers​(Set<String> players)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object