VillagerTradeList
Bounded immutable offer generation exposed to plugins and trade sessions.
Bedriox\Api\Entity\Trade\VillagerTradeList
classBedriox\Api\Entity\Trade
Public methods
__construct(array $offers, int $generation = 0)Typed public method.
offer(string $key): ?Bedriox\Api\Entity\Trade\VillagerTradeOfferTyped public method.
Constants
MAXIMUM_OFFERS
