Separate names with a comma.
Comments in 'Plugin Development' started by MCPEPIG, Jan 4, 2016.
How can I detect when a player collides with a block or an entity?
Try PHP: if($player->isCollided == true) { //code}
if($player->isCollided == true) { //code}
Try $player->getBoundingBox()->intersectsWith($otherEntityOrBlock->getBoundingBox())