Files
DeltaZern/paper-api/src/main/java/org/bukkit/block
Spottedleaf 8170ae9d64 Allow Blocks to be accessed via a long key
The key can be retrieved via methods Location#toBlockKey() and
Block#getBlockKey()

World provides lookup for blocks by long key via method World#getBlockAtKey(long)

The formatting for the key is as follows:

10 bit y|27 bit z|27 bit x

The y value is considered unsigned while z and x are considered two's complement

Y range: [0, 1023]
X, Z range: [-67 108 864, 67 108 863]
2018-08-14 21:42:10 -07:00
..
2017-06-10 16:59:40 -05:00
2021-01-29 17:21:55 +01:00
2024-10-23 02:15:00 +11:00
2016-05-01 15:19:49 -04:00
2017-06-10 16:59:40 -05:00
2023-04-02 14:35:12 +10:00
2024-12-04 03:20:00 +11:00
2024-12-04 03:20:00 +11:00
2023-06-08 01:30:00 +10:00
2016-05-01 15:19:49 -04:00
2021-01-29 17:21:55 +01:00
2024-04-07 12:05:21 +10:00
2016-05-01 15:19:49 -04:00
2024-12-04 03:20:00 +11:00
2016-05-01 15:19:49 -04:00
2016-05-01 15:19:49 -04:00
2022-02-15 18:48:12 +11:00
2023-06-08 01:30:00 +10:00
2016-05-01 15:19:49 -04:00
2021-07-03 11:06:15 +10:00
2021-06-11 15:00:00 +10:00
2016-05-01 15:19:49 -04:00
2021-01-29 17:21:55 +01:00
2018-01-19 00:29:28 -05:00
2019-04-23 12:00:00 +10:00
2024-06-14 01:05:00 +10:00