BeaconInventory 5.46.0
Extends SimpleInventory
Implements BlockInventory, TemporaryInventory
The beacon window: a single payment slot (UI slot 27, container BEACON_PAYMENT) that only accepts one beacon payment item. Anything left in it is given back when the window is closed.
Constants
SLOT_PAYMENT
php
public const SLOT_PAYMENT = 0Methods
__construct()
php
public function __construct(\pocketmine\world\Position $holder)getPayment()
php
public function getPayment() : \pocketmine\item\Item