Added AnalogRedstoneSignalEmitterTrait

This commit is contained in:
Dylan K. Taylor
2021-02-06 18:33:14 +00:00
parent 02b0036cbe
commit 48ef8771cd
5 changed files with 52 additions and 25 deletions

View File

@ -23,6 +23,7 @@ declare(strict_types=1);
namespace pocketmine\block;
use pocketmine\block\utils\AnalogRedstoneSignalEmitterTrait;
use pocketmine\block\utils\BlockDataSerializer;
use pocketmine\item\Item;
use pocketmine\math\AxisAlignedBB;
@ -35,12 +36,11 @@ use function round;
use const M_PI;
class DaylightSensor extends Transparent{
use AnalogRedstoneSignalEmitterTrait;
/** @var BlockIdentifierFlattened */
protected $idInfo;
/** @var int */
protected $signalStrength = 0;
/** @var bool */
protected $inverted = false;