Files
OldSliceMC/Spigot-API-Patches
searchndstroy af57a5fed5 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 17:55:01 -04:00
..
2018-07-13 02:39:44 -05:00
2017-11-08 16:13:57 +00:00
2018-05-08 23:09:45 +01:00
2017-08-06 00:08:21 +01:00
2017-07-28 15:51:46 +01:00
2018-07-04 15:32:30 -04:00