Open ValresMC opened 5 months ago
"The DiggerComponent can be improved.
It doesn't take into account enchantments; one has to add the blocks one by one, whereas it could simply ask for an array."
For exemple :
$this->addComponent(new DiggerCompnent(SPEED, [BLOCK_LIST]));
$array = [BLOCK_LIST] $diggerComponent->withBlocks(SPEED), ...$array);
Yeah ik but enchantement doesn’t work
This would probably be fixed if we would create the enchantable component and then add it to the item
"The DiggerComponent can be improved.
It doesn't take into account enchantments; one has to add the blocks one by one, whereas it could simply ask for an array."
For exemple :