Package org.spout.vanilla.material.map

Examples of org.spout.vanilla.material.map.Map.drawRectangle()


      throw new CommandException("bx cannot be greater than tx");
    }
    if (by > ty) {
      throw new CommandException("by cannot be greater than ty");
    }
    for (ProtocolEvent e : m.drawRectangle(i, bx, by, tx, ty, col)) {
      player.getNetwork().callProtocolEvent(e);
    }
  }

  @CommandDescription (aliases = "mapflood", usage = "<col>", desc = "Floods the current map with the given color")
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.