Added constant slot IDs for Furnace, Enchanting, Anvil and Brewing Stand inventories

This commit is contained in:
Dylan K. Taylor
2021-09-03 12:16:07 +01:00
parent 2fe03757d5
commit 963f4a9cf3
3 changed files with 19 additions and 6 deletions

View File

@ -30,6 +30,9 @@ use pocketmine\world\Position;
class EnchantInventory extends SimpleInventory implements BlockInventory{
use BlockInventoryTrait;
public const SLOT_INPUT = 0;
public const SLOT_LAPIS = 1;
public function __construct(Position $holder){
$this->holder = $holder;
parent::__construct(2);