Hello, i am breaking my head thinking of this. How to i set block hardness? $block = Block::get(7); $block->getHardness(1); no its wrong please help
I haven't use this method either, can u try? PHP: // use pocketmine\item\Item;$block = Item::get(7);$block->setHardness(2); Why not put your Code on GitHub and provide us with a Link so we all can have a look on whats happening...
Block::get is still not a block. You must use PHP: /** @var Level $level *//** @var Vector3 $vector3 */$level->getBlock($vector3);
This method does not work. I pm dylan and he said that theres no way to set hardness. We need this implemented tho.