net.minecraft.world.item.trading

public class MerchantOffer

boz
net.minecraft.world.item.trading.MerchantOffer
net.minecraft.class_1914
net.minecraft.unmapped.C_argwryfu
net.minecraft.village.TradeOffer
net.minecraft.item.MerchantOffer
net.minecraft.server.v1_16_R1.MerchantRecipe

Field summary

Modifier and TypeField
private final ItemStack
a
baseCostA
field_9146
f_fiwjfjsv
firstBuyItem
field_222223_a
buyingItem1
private final ItemStack
b
costB
field_9143
f_ahlxvzwr
secondBuyItem
field_222224_b
buyingItem2
private final ItemStack
c
result
field_9148
f_ehdiengs
sellItem
field_222225_c
sellingItem
private int
d
uses
field_9147
f_ldkgpymk
uses
field_222226_d
uses
private final int
e
maxUses
field_9144
f_mgalkhcf
maxUses
field_222227_e
maxUses
private boolean
f
rewardExp
field_9145
f_vcpzwcnv
rewardingPlayerExperience
field_222228_f
rewardExp
private int
g
specialPriceDiff
field_18676
f_swwaavur
specialPrice
field_222229_g
specialPrice
private int
h
demand
field_18677
f_lgvzktct
demandBonus
field_222230_h
demand
private float
i
priceMultiplier
field_18678
f_izfgozck
priceMultiplier
field_222231_i
priceMultiplier
private int
j
xp
field_18679
f_orryzsqt
traderExperience
field_222232_j
xp

Constructor summary

ModifierConstructor
public (CompoundTag arg0)
public (ItemStack buyItem, ItemStack sellItem, int maxUses, int rewardedExp, float priceMultiplier)
public (ItemStack firstBuyItem, ItemStack secondBuyItem, ItemStack sellItem, int maxUses, int rewardedExp, float priceMultiplier)
public (ItemStack firstBuyItem, ItemStack secondBuyItem, ItemStack sellItem, int uses, int maxUses, int rewardedExp, float priceMultiplier)
public (ItemStack arg0, ItemStack arg1, ItemStack arg2, int arg3, int arg4, int arg5, float arg6, int arg7)

Method summary

Modifier and TypeMethod
public ItemStack
a()
getBaseCostA()
method_8246()
m_zhqjzxea()
getOriginalFirstBuyItem()
func_222218_a()
public ItemStack
b()
getCostA()
method_19272()
m_tavhnucy()
getAdjustedFirstBuyItem()
func_222205_b()
getBuyItem1()
public ItemStack
c()
getCostB()
method_8247()
m_isgpghfg()
getSecondBuyItem()
func_222202_c()
getBuyItem2()
public ItemStack
d()
getResult()
method_8250()
m_mfibukla()
getMutableSellItem()
func_222200_d()
getSellingItem()
public void
e()
updateDemand()
method_19274()
m_kktwxkpz()
updatePriceOnDemand()
func_222222_e()
public ItemStack
f()
assemble()
method_18019()
m_gpklzshx()
getSellItem()
func_222206_f()
public int
g()
getUses()
method_8249()
m_rgdhugvk()
getUses()
func_222213_g()
getUses()
public void
h()
resetUses()
method_19275()
m_ddwttpmu()
resetUses()
func_222203_h()
resetUses()
public int
i()
getMaxUses()
method_8248()
m_msgntumj()
getMaxUses()
func_222214_i()
getMaxUses()
public void
j()
increaseUses()
method_8244()
m_rfcgwqwz()
use()
func_222219_j()
increaseUses()
public int
k()
getDemand()
method_21725()
m_maentgjr()
getDemandBonus()
func_225482_k()
getDemand()
public void
a(int arg0)
addToSpecialPriceDiff(int arg0)
method_8245(int arg0)
m_lkwfnfah(int arg0)
increaseSpecialPrice(int arg0)
func_222207_a(int arg0)
increaseSpecialPrice(int arg0)
public void
l()
resetSpecialPriceDiff()
method_19276()
m_ghuhjdhg()
clearSpecialPrice()
func_222220_k()
setSpecialPrice()
public int
m()
getSpecialPriceDiff()
method_19277()
m_rvsrmyip()
getSpecialPrice()
func_222212_l()
getSpecialPrice()
public void
b(int arg0)
setSpecialPriceDiff(int arg0)
method_19273(int arg0)
m_rnlvoxvy(int arg0)
setSpecialPrice(int arg0)
func_222209_b(int arg0)
setSpecialPrice(int arg0)
public float
n()
getPriceMultiplier()
method_19278()
m_fmnignmw()
getPriceMultiplier()
func_222211_m()
getPriceMultiplier()
public int
o()
getXp()
method_19279()
m_akycaqxo()
getTraderExperience()
func_222210_n()
getXp()
public boolean
p()
isOutOfStock()
method_8255()
m_vavbplgu()
isDisabled()
func_222217_o()
isFullyUsed()
public void
q()
setToOutOfStock()
method_8254()
m_zcwmrswy()
clearUses()
func_222216_p()
public boolean
r()
needsRestock()
method_21834()
m_udvmsagx()
method_21834()
func_226654_r_()
public boolean
s()
shouldRewardExp()
method_8256()
m_asyggsbs()
shouldRewardPlayerExperience()
func_222221_q()
isRewardExp()
public CompoundTag
t()
createTag()
method_8251()
m_bdlmtqte()
toTag()
func_222208_r()
public boolean
a(bki arg0, bki arg1)
satisfiedBy(ItemStack arg0, ItemStack arg1)
method_16952(class_1799 arg0, class_1799 arg1)
m_rpshssao(C_sddaxwyk arg0, C_sddaxwyk arg1)
matchesBuyItems(ItemStack first, ItemStack second)
func_222204_a(ItemStack arg0, ItemStack arg1)
private boolean
c(bki arg0, bki arg1)
isRequiredItem(ItemStack arg0, ItemStack arg1)
method_16954(class_1799 arg0, class_1799 arg1)
m_netdstkk(C_sddaxwyk arg0, C_sddaxwyk arg1)
acceptsBuy(ItemStack given, ItemStack sample)
func_222201_c(ItemStack arg0, ItemStack arg1)
public boolean
b(bki arg0, bki arg1)
take(ItemStack arg0, ItemStack arg1)
method_16953(class_1799 arg0, class_1799 arg1)
m_jrpzwrcp(C_sddaxwyk arg0, C_sddaxwyk arg1)
depleteBuyItems(ItemStack arg0, ItemStack arg1)
func_222215_b(ItemStack arg0, ItemStack arg1)