22declare(strict_types=1);
37 $world = $player->getWorld();
38 $world->setBlock($blockReplace->getPosition(), VanillaBlocks::FIRE());
39 $world->addSound($blockReplace->getPosition()->add(0.5, 0.5, 0.5),
new FlintSteelSound());
43 return ItemUseResult::SUCCESS;
46 return ItemUseResult::NONE;
onInteractBlock(Player $player, Block $blockReplace, Block $blockClicked, int $face, Vector3 $clickVector, array &$returnedItems)