Add blocks interfaces for commons properties (#6639)

This commit is contained in:
Hugo_
2025-07-31 08:48:47 +02:00
committed by GitHub
parent 5bfa02716d
commit cc17e68072
106 changed files with 652 additions and 94 deletions

View File

@ -24,12 +24,13 @@ declare(strict_types=1);
namespace pocketmine\block;
use pocketmine\block\utils\BlockEventHelper;
use pocketmine\block\utils\CoralMaterial;
use pocketmine\block\utils\CoralTypeTrait;
use pocketmine\block\utils\SupportType;
use pocketmine\item\Item;
use function mt_rand;
abstract class BaseCoral extends Transparent{
abstract class BaseCoral extends Transparent implements CoralMaterial{
use CoralTypeTrait;
public function onNearbyBlockChange() : void{