How i can make a cuboid?

Discussion in 'Spigot Plugin Development' started by Yushu, Jul 14, 2019.

  1. How i can make a cuboid?
     
  2. can you provide more details?
     
    • Funny Funny x 2
  3. Well, for a cuboid you need to have 2 points.

    2 points = minimum location, maximum location.

    minx, miny, minz
    maxx, maxy, maxz

    Since bukkit provides us the Location class you can just store 2 locations which make up the cuboid, and do math from there.
     
    • Agree Agree x 1