mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-17 08:05:25 +01:00
ChunkUtils#getBlockIndex comments about short casting
This commit is contained in:
parent
4b8ab2e55e
commit
4c00e02091
@ -152,6 +152,8 @@ public final class ChunkUtils {
|
||||
|
||||
/**
|
||||
* Get the block index of a position
|
||||
* <p>
|
||||
* This can be cast as a short as long as you don't mind receiving a negative value (not array-friendly)
|
||||
*
|
||||
* @param x the block X
|
||||
* @param y the block Y
|
||||
|
Loading…
Reference in New Issue
Block a user