Package org.spoutcraft.api

Examples of org.spoutcraft.api.ChatColor


    setTooltip("Sets how far the overview-map scans the map when you move.\nHigher values will mean increased lag when you move");
  }

  public String getText() {
    int radius = (int) (this.getSliderPosition() * (MAX_RADIUS - MIN_RADIUS) + MIN_RADIUS);
    ChatColor color = ChatColor.WHITE;
    if (radius > 3) {
      color = ChatColor.YELLOW;
    }
    if (radius > 4) {
      color = ChatColor.GOLD;
View Full Code Here

TOP

Related Classes of org.spoutcraft.api.ChatColor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.