Added documentation for some base Block classes

This commit is contained in:
Dylan K. Taylor
2022-09-24 16:54:21 +01:00
parent 3f7d8a3777
commit cb7c136035
5 changed files with 20 additions and 0 deletions

View File

@ -23,6 +23,10 @@ declare(strict_types=1);
namespace pocketmine\block;
/**
* Opaque blocks do not allow light to pass through. They are usually collidable full-cube blocks.
* Most blocks in Minecraft fall into this category.
*/
class Opaque extends Block{
public function isSolid() : bool{