BedrioxDOCUMENTATION
API CLASS

VillagerRestockEvent

Cancellable, adjustable workstation restock before authoritative mutation.

Bedriox\Api\Event\Entity\Villager\VillagerRestockEvent
classBedriox\Api\Event\Entity\Villager

Public methods

__construct(Bedriox\Api\Entity\Vanilla\Villager $villager, int $worldDay, Bedriox\Api\Entity\Trade\VillagerTradeList $offers)

Typed public method.

offers(): Bedriox\Api\Entity\Trade\VillagerTradeList

Typed public method.

setOffers(Bedriox\Api\Entity\Trade\VillagerTradeList $offers): void

Typed public method.

View exact source ↗