BedrioxDOCUMENTATION
API CLASS

EntityShearEvent

Cancellable, adjustable sheep-shearing result before authoritative commit.

Bedriox\Api\Event\Entity\EntityShearEvent
classBedriox\Api\Event\Entity

Public methods

__construct(Bedriox\Api\Player\Player $player, Bedriox\Api\Entity\Capability\Shearable $entity, Bedriox\Api\Inventory\ItemStack $tool, array $drops)

Typed public method.

getDrops(): array

Typed public method.

setDrops(array $drops): void

Typed public method.

Constants

MAXIMUM_DROPS

View exact source ↗