Class net.minecraft.village.TradeOffer

This description should be content pulled from the first comments of a lua file.

Constructors

TradeOffer(firstBuyItem, secondBuyItem, sellItem, uses, maxUses, merchantExperience, priceMultiplier, demandBonus) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
TradeOffer(firstBuyItem, secondBuyItem, sellItem, uses, maxUses, merchantExperience, priceMultiplier) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
TradeOffer(firstBuyItem, secondBuyItem, sellItem, maxUses, merchantExperience, priceMultiplier) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
TradeOffer(buyItem, sellItem, maxUses, merchantExperience, priceMultiplier) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
TradeOffer(nbt) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

instance:clearSpecialPrice() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:copySellItem() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:depleteBuyItems(firstBuyStack, secondBuyStack) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:disable() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:equals(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getAdjustedFirstBuyItem() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getClass() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getDemandBonus() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getMaxUses() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getMerchantExperience() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getOriginalFirstBuyItem() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getPriceMultiplier() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getSecondBuyItem() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getSellItem() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getSpecialPrice() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getUses() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hasBeenUsed() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hashCode() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:increaseSpecialPrice(increment) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isDisabled() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:matchesBuyItems(first, second) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notify() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:resetUses() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setSpecialPrice(specialPrice) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:shouldRewardPlayerExperience() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toNbt() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:toString() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:updateDemandBonus() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:use() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0, arg1) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Constructors

TradeOffer(firstBuyItem, secondBuyItem, sellItem, uses, maxUses, merchantExperience, priceMultiplier, demandBonus)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • firstBuyItem userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • secondBuyItem userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • sellItem userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • uses int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxUses int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • merchantExperience int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • priceMultiplier number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • demandBonus int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
TradeOffer(firstBuyItem, secondBuyItem, sellItem, uses, maxUses, merchantExperience, priceMultiplier)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • firstBuyItem userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • secondBuyItem userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • sellItem userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • uses int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxUses int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • merchantExperience int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • priceMultiplier number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
TradeOffer(firstBuyItem, secondBuyItem, sellItem, maxUses, merchantExperience, priceMultiplier)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • firstBuyItem userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • secondBuyItem userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • sellItem userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxUses int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • merchantExperience int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • priceMultiplier number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
TradeOffer(buyItem, sellItem, maxUses, merchantExperience, priceMultiplier)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • buyItem userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • sellItem userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • maxUses int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • merchantExperience int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • priceMultiplier number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
TradeOffer(nbt)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • nbt userdata, NbtCompound This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Instance Methods

instance:clearSpecialPrice()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:copySellItem()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:depleteBuyItems(firstBuyStack, secondBuyStack)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • firstBuyStack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • secondBuyStack userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:disable()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:equals(arg0)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getAdjustedFirstBuyItem()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getClass()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Class This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getDemandBonus()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getMaxUses()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getMerchantExperience()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getOriginalFirstBuyItem()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getPriceMultiplier()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

number, float This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getSecondBuyItem()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getSellItem()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getSpecialPrice()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getUses()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hasBeenUsed()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hashCode()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:increaseSpecialPrice(increment)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • increment int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:isDisabled()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:matchesBuyItems(first, second)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • first userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • second userdata, ItemStack This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:notify()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:notifyAll()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:resetUses()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:setSpecialPrice(specialPrice)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • specialPrice int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:shouldRewardPlayerExperience()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:toNbt()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, NbtCompound This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:toString()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:updateDemandBonus()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:use()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:wait(arg0)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:wait(arg0, arg1)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • arg1 int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"