Class DrawUtil

java.lang.Object
com.palmergames.bukkit.util.DrawUtil

public class DrawUtil extends Object
Author:
Chris H (Zren / Shade) Date: 4/15/12
  • Constructor Details

    • DrawUtil

      public DrawUtil()
  • Method Details

    • runOnSurface

      public static void runOnSurface(org.bukkit.World world, int x1, int z1, int x2, int z2, int height, Consumer<org.bukkit.Location> locationConsumer)
      Run a runnable over the surface of the specified rectangular area. From the ground up.
      Parameters:
      world - World
      x1 - X-Coordinate 1 (Integer)
      z1 - Z-Coordinate 1 (Integer)
      x2 - X-Coordinate 2 (Integer)
      z2 - Z-Coordinate 2 (Integer)
      height - Y-Coordinate at call (Integer)
      locationConsumer - A consumer for accepting locations