Files
Paper/Spigot-API-Patches
searchndstroy 612bf465f2 Allow Blocks to be accessed via a long key (#1335)
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]


Checked encoding and decoding via https://gist.github.com/Spottedleaf/74f4e241012ca2fa67d8f1c7e8e34722
2018-08-17 14:55:01 -07:00
..
2016-02-29 17:09:49 -06:00
2016-02-29 17:09:49 -06:00
2018-05-08 23:09:45 +01:00
2017-12-05 01:34:10 +00:00
2017-11-08 16:13:57 +00:00
2017-11-08 16:13:57 +00:00
2017-01-06 15:45:59 -06:00
2018-06-26 22:08:01 -04:00
2017-08-05 23:36:47 +01:00
2018-01-18 01:00:51 -05:00
2018-07-13 02:39:44 -05:00
2018-07-04 15:32:30 -04:00