Add hasCollision methods to various places

This commit is contained in:
Jake Potrebic
2021-11-04 11:50:35 -07:00
parent 450f5fe793
commit 1de93777a5
4 changed files with 40 additions and 0 deletions

View File

@ -245,4 +245,13 @@ public interface BlockState extends Metadatable {
* or 'virtual' (e.g. on an itemstack)
*/
boolean isPlaced();
// Paper start
/**
* Checks if this block state is collidable.
*
* @return true if collidable
*/
boolean isCollidable();
// Paper end
}