@return The block key for this location's block location. @see Block#getBlockKey(int, int, int) @deprecated only encodes y block ranges from -512 to 511 and represents an already changed implementation detail
()
| 724 | * @deprecated only encodes y block ranges from -512 to 511 and represents an already changed implementation detail |
| 725 | */ |
| 726 | @Deprecated(since = "1.18.1") |
| 727 | public long toBlockKey() { |
| 728 | return Block.getBlockKey(getBlockX(), getBlockY(), getBlockZ()); |
| 729 | } |
| 730 | |
| 731 | /** |
| 732 | * @return A new location where X/Y/Z are the center of the block |
nothing calls this directly
no test coverage detected