Customies icon indicating copy to clipboard operation
Customies copied to clipboard

DiggerComponent

Open ValresMC opened this issue 1 year ago • 3 comments

"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]));

ValresMC avatar May 01 '24 19:05 ValresMC

$array = [BLOCK_LIST] $diggerComponent->withBlocks(SPEED), ...$array);

LUKAY207 avatar May 08 '24 08:05 LUKAY207

Yeah ik but enchantement doesn’t work

ValresMC avatar May 08 '24 14:05 ValresMC

This would probably be fixed if we would create the enchantable component and then add it to the item

LUKAY207 avatar May 11 '24 20:05 LUKAY207