question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make use of Bukkit's BoundingBox object (added in 1.13+)

See original GitHub issue

Description

Is your feature request related to a problem?

None.

Describe the solution you’d like us to implement.

As of 1.13, Bukkit has implemented an object called BoundingBox (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/util/BoundingBox.html).

It appears that this object could be useful to us and to potential API users as it provides a native alternative to some of our “in island space” code, as well as the Clipboard.

Describe alternatives you’ve considered.

None.

Additional context

What could and should be done with this object shall be discussed here prior to any integration.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Poslovitchcommented, Apr 22, 2019

Well, so, it seems we implemented it in places that needed it to be, so let’s close this feature request!

0reactions
Poslovitchcommented, Apr 22, 2019

I don’t think so because there’s no “box” for islands. It’s just x,z so the inIslandSpace method is sufficient. That said, this is a very useful API and I’m glad you found it.

I have to admit I discovered this API thanks to one of our users on the Discord server, so all the credit goes to him 🙂!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uses of Class org.bukkit.util.BoundingBox
Modifier and Type Method Description BoundingBox BoundingBox. clone​() Creates a copy of this bound... BoundingBox BoundingBox. copy​(BoundingBox other) Copies another bounding box. static BoundingBox BoundingBox. deserialize​(Map...
Read more >
Solved - Get BoundingBox at location
Hey, I'm currently looking for a fast way to get a BoundingBox at a location, I need it to be performant as possible...
Read more >
Uses of Class org.bukkit.Location
Takes the x/y/z from base and adds the specified x/y/z to it and returns self This mutates this object, clone first. Location, Location ......
Read more >
How To Make A Bukkit Server in Minecraft 1.13.1 ... - YouTube
How do you make a Bukkit server in Minecraft 1.13.1? This video is a step-by-step guide on starting a 1.13.1 Bukkit server.
Read more >
Chunk format - Minecraft Wiki - Fandom
A common use case for this to is make liquids flow after generating a source block, ... BB: Bounding box of the entire...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found