Block: improve some documentation

This commit is contained in:
Dylan K. Taylor 2024-01-09 13:35:36 +00:00
parent 288bd4018b
commit a459e3c1a9
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -402,7 +402,7 @@ class Block{
}
/**
* AKA: Block->isPlaceable
* Returns whether this block can be placed when obtained as an item.
*/
public function canBePlaced() : bool{
return true;
@ -572,6 +572,9 @@ class Block{
return $this->getLightFilter() > 0;
}
/**
* Returns whether this block allows any light to pass through it.
*/
public function isTransparent() : bool{
return false;
}
@ -590,7 +593,7 @@ class Block{
}
/**
* AKA: Block->isFlowable
* Returns whether this block can be destroyed by liquid flowing into its cell.
*/
public function canBeFlowedInto() : bool{
return false;