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\Lightable;
use pocketmine\block\utils\LightableTrait;
use pocketmine\data\runtime\RuntimeDataDescriber;
class RedstoneTorch extends Torch{
class RedstoneTorch extends Torch implements Lightable{
use LightableTrait;
public function __construct(BlockIdentifier $idInfo, string $name, BlockTypeInfo $typeInfo){