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

@ -23,10 +23,11 @@ declare(strict_types=1);
namespace pocketmine\block;
use pocketmine\block\utils\PoweredByRedstone;
use pocketmine\block\utils\PoweredByRedstoneTrait;
use pocketmine\data\runtime\RuntimeDataDescriber;
class RedstoneLamp extends Opaque{
class RedstoneLamp extends Opaque implements PoweredByRedstone{
use PoweredByRedstoneTrait;
protected function describeBlockOnlyState(RuntimeDataDescriber $w) : void{