BedrioxDOCUMENTATION
API CLASS

VillagerOffersPrepareEvent

Adjustable offer list before it becomes authoritative villager state.

Bedriox\Api\Event\Entity\Villager\VillagerOffersPrepareEvent
classBedriox\Api\Event\Entity\Villager

Public methods

__construct(Bedriox\Api\Entity\Vanilla\Villager $villager, 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 ↗