net.minecraft.village

public class TradeOffer

bqv
net.minecraft.world.item.trading.MerchantOffer
net.minecraft.class_1914
net.minecraft.village.TradeOffer
net.minecraft.unmapped.C_argwryfu
net.minecraft.item.MerchantOffer
net.minecraft.item.MerchantOffer

Field summary

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

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()
getOriginalFirstBuyItem()
m_zhqjzxea()
func_222218_a()
getBuyingStackFirst()
public ItemStack
b()
getCostA()
method_19272()
getAdjustedFirstBuyItem()
m_tavhnucy()
func_222205_b()
getDiscountedBuyingStackFirst()
public ItemStack
c()
getCostB()
method_8247()
getSecondBuyItem()
m_isgpghfg()
func_222202_c()
getBuyingStackSecond()
public ItemStack
d()
getResult()
method_8250()
getMutableSellItem()
m_mfibukla()
func_222200_d()
getSellingStack()
public void
e()
updateDemand()
method_19274()
updatePriceOnDemand()
m_kktwxkpz()
func_222222_e()
calculateDemand()
public ItemStack
f()
assemble()
method_18019()
getSellItem()
m_gpklzshx()
func_222206_f()
getCopyOfSellingStack()
public int
g()
getUses()
method_8249()
getUses()
m_rgdhugvk()
func_222213_g()
getUses()
public void
h()
resetUses()
method_19275()
resetUses()
m_ddwttpmu()
func_222203_h()
resetUses()
public int
i()
getMaxUses()
method_8248()
getMaxUses()
m_msgntumj()
func_222214_i()
getMaxUses()
public void
j()
increaseUses()
method_8244()
use()
m_rfcgwqwz()
func_222219_j()
increaseUses()
public int
k()
getDemand()
method_21725()
getDemandBonus()
m_maentgjr()
func_225482_k()
getDemand()
public void
a(int arg0)
addToSpecialPriceDiff(int arg0)
method_8245(int arg0)
increaseSpecialPrice(int arg0)
m_lkwfnfah(int arg0)
func_222207_a(int arg0)
increaseSpecialPrice(int add)
public void
l()
resetSpecialPriceDiff()
method_19276()
clearSpecialPrice()
m_ghuhjdhg()
func_222220_k()
resetSpecialPrice()
public int
m()
getSpecialPriceDiff()
method_19277()
getSpecialPrice()
m_rvsrmyip()
func_222212_l()
getSpecialPrice()
public void
b(int arg0)
setSpecialPriceDiff(int arg0)
method_19273(int arg0)
setSpecialPrice(int arg0)
m_rnlvoxvy(int arg0)
func_222209_b(int arg0)
setSpecialPrice(int price)
public float
n()
getPriceMultiplier()
method_19278()
getPriceMultiplier()
m_fmnignmw()
func_222211_m()
getPriceMultiplier()
public int
o()
getXp()
method_19279()
getMerchantExperience()
m_akycaqxo()
func_222210_n()
getGivenExp()
public boolean
p()
isOutOfStock()
method_8255()
isDisabled()
m_vavbplgu()
func_222217_o()
hasNoUsesLeft()
public void
q()
setToOutOfStock()
method_8254()
clearUses()
m_zcwmrswy()
func_222216_p()
makeUnavailable()
public boolean
r()
needsRestock()
method_21834()
method_21834()
m_udvmsagx()
func_226654_r_()
hasBeenUsed()
public boolean
s()
shouldRewardExp()
method_8256()
shouldRewardPlayerExperience()
m_asyggsbs()
func_222221_q()
getDoesRewardExp()
public CompoundTag
t()
createTag()
method_8251()
toTag()
m_bdlmtqte()
func_222208_r()
write()
public boolean
a(bmb arg0, bmb arg1)
satisfiedBy(ItemStack arg0, ItemStack arg1)
method_16952(class_1799 arg0, class_1799 arg1)
matchesBuyItems(ItemStack first, ItemStack second)
m_rpshssao(C_sddaxwyk arg0, C_sddaxwyk arg1)
func_222204_a(ItemStack arg0, ItemStack arg1)
matches(ItemStack arg0, ItemStack arg1)
private boolean
c(bmb arg0, bmb arg1)
isRequiredItem(ItemStack arg0, ItemStack arg1)
method_16954(class_1799 arg0, class_1799 arg1)
acceptsBuy(ItemStack given, ItemStack sample)
m_netdstkk(C_sddaxwyk arg0, C_sddaxwyk arg1)
func_222201_c(ItemStack arg0, ItemStack arg1)
equalIgnoringDamage(ItemStack left, ItemStack right)
public boolean
b(bmb arg0, bmb arg1)
take(ItemStack arg0, ItemStack arg1)
method_16953(class_1799 arg0, class_1799 arg1)
depleteBuyItems(ItemStack arg0, ItemStack arg1)
m_jrpzwrcp(C_sddaxwyk arg0, C_sddaxwyk arg1)
func_222215_b(ItemStack arg0, ItemStack arg1)
doTransaction(ItemStack arg0, ItemStack arg1)