TrappedChest
Extends Chest
Methods
getStrongPower() 5.46.0
php
public function getStrongPower(int $face) : intgetWeakPower() 5.46.0
php
public function getWeakPower(int $face) : intThe output is the number of players looking into the chest (both halves of a double chest share it).
isRedstoneSource() 5.46.0
php
public function isRedstoneSource() : boolonViewerCountChange() 5.46.0
php
public function onViewerCountChange() : voidCalled when a player opens or closes the chest.
