[SPIGOT-6416] Implement BlockFace#isCartesian() Created: 08/Apr/21  Updated: 09/Apr/21  Resolved: 09/Apr/21

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: David Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None

Version: Unknown command. Type "/help" for help.
Guidelines Read: Yes

 Description   

In my usecases most of the time I only need blockfaces in the 6 artesian directions(3D):
NORTH, SOUTH, EAST, WEST, UP, DOWN.

Would be nice to add this check for easy validation.



 Comments   
Comment by md_5 [ 09/Apr/21 ]

Added

Comment by David [ 09/Apr/21 ]

@md_5 I'd say it doesn't count as a cartesian Blockface. Maybe there is a better word than cartesian for the 6 directions I mean?

Comment by md_5 [ 09/Apr/21 ]

Where does BlockFace.SELF fall?

Generated at Sat Mar 29 12:01:25 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.