Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by Yushu, Jul 14, 2019.
How i can make a cuboid?
can you provide more details?
This is the first link found when I typed "cuboid spigot"
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.
Check this! https://pastebin.com/x3mCDsg2
Put this class into your project