> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/newgen/api/net/minecraft/network/protocol/game/clientboundmerchantofferspacketoffer.md).

# ClientboundMerchantOffersPacketOffer

One trade of a villager or wandering trader.

### Properties

#### costA

> `readonly` **costA**: [`ItemStack`](/newgen/api/net/minecraft/world/item/itemstack.md)

The first item the trader wants, with demand pricing applied.

***

#### costB

> `readonly` **costB**: [`ItemStack`](/newgen/api/net/minecraft/world/item/itemstack.md)

The second item the trader wants, empty if there is none.

***

#### demand

> `readonly` **demand**: `number`

The demand value that moves the price.

***

#### maxUses

> `readonly` **maxUses**: `number`

How often the trade can be used before restocking.

***

#### outOfStock

> `readonly` **outOfStock**: `boolean`

Whether the trade is used up.

***

#### priceMultiplier

> `readonly` **priceMultiplier**: `number`

The multiplier applied to demand price changes.

***

#### result

> `readonly` **result**: [`ItemStack`](/newgen/api/net/minecraft/world/item/itemstack.md)

The item the trader gives.

***

#### uses

> `readonly` **uses**: `number`

How often the trade was used since the last restock.

***

#### xp

> `readonly` **xp**: `number`

The experience the villager gains per use.
