trim(Facing::UP, 0.25)]; } public function getSupportType(int $facing) : SupportType{ return SupportType::NONE(); } public function onInteract(Item $item, int $face, Vector3 $clickVector, ?Player $player = null) : bool{ if($player instanceof Player){ //TODO lock $player->setCurrentWindow(new EnchantInventory($this->position)); } return true; } }