ChunkUtils#getBlockIndex comments about short casting

This commit is contained in:
themode 2020-09-03 17:26:38 +02:00
parent 4b8ab2e55e
commit 4c00e02091

View File

@ -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