net.minecraft.server.v1_14_R1

public class MerchantRecipe

bgp
net.minecraft.class_1914
net.minecraft.village.TradeOffer
net.minecraft.item.MerchantOffer
net.minecraft.server.v1_14_R1.MerchantRecipe

Field summary

Modifier and TypeField
private final ItemStack
a
field_9146
firstBuyItem
field_222223_a
buyingItem1
private final ItemStack
b
field_9143
secondBuyItem
field_222224_b
buyingItem2
private final ItemStack
c
field_9148
sellItem
field_222225_c
sellingItem
private int
d
field_9147
uses
field_222226_d
uses
private final int
e
field_9144
maxUses
field_222227_e
maxUses
private boolean
f
field_9145
rewardingPlayerExperience
field_222228_f
rewardExp
private int
g
field_18676
specialPrice
field_222229_g
specialPrice
private int
h
field_18677
demandBonus
field_222230_h
demand
private float
i
field_18678
priceMultiplier
field_222231_i
priceMultiplier
private int
j
field_18679
traderExperience
field_222232_j
xp

Constructor summary

ModifierConstructor
public (NBTTagCompound arg0)
public (ItemStack arg0, ItemStack arg1, int arg2, int arg3, float arg4)
public (ItemStack arg0, ItemStack arg1, ItemStack arg2, int arg3, int arg4, float arg5)
public (ItemStack arg0, ItemStack arg1, ItemStack arg2, int arg3, int arg4, int arg5, float arg6)

Method summary

Modifier and TypeMethod
public ItemStack
a()
method_8246()
getOriginalFirstBuyItem()
func_222218_a()
public ItemStack
b()
method_19272()
getAdjustedFirstBuyItem()
func_222205_b()
getBuyItem1()
public ItemStack
c()
method_8247()
getSecondBuyItem()
func_222202_c()
getBuyItem2()
public ItemStack
d()
method_8250()
getMutableSellItem()
func_222200_d()
getSellingItem()
public void
e()
method_19274()
updatePriceOnDemand()
func_222222_e()
public ItemStack
f()
method_18019()
getSellItem()
func_222206_f()
public int
g()
method_8249()
getUses()
func_222213_g()
getUses()
public void
h()
method_19275()
resetUses()
func_222203_h()
resetUses()
public int
i()
method_8248()
getMaxUses()
func_222214_i()
getMaxUses()
public void
j()
method_8244()
use()
func_222219_j()
increaseUses()
public void
a(int arg0)
method_8245(int arg0)
increaseSpecialPrice(int arg0)
func_222207_a(int arg0)
increaseSpecialPrice(int arg0)
public void
k()
method_19276()
clearSpecialPrice()
func_222220_k()
setSpecialPrice()
public int
l()
method_19277()
getSpecialPrice()
func_222212_l()
getSpecialPrice()
public void
b(int arg0)
method_19273(int arg0)
setSpecialPrice(int arg0)
func_222209_b(int arg0)
setSpecialPrice(int arg0)
public float
m()
method_19278()
getPriceMultiplier()
func_222211_m()
getPriceMultiplier()
public int
n()
method_19279()
getTraderExperience()
func_222210_n()
getXp()
public boolean
o()
method_8255()
isDisabled()
func_222217_o()
isFullyUsed()
public void
p()
method_8254()
clearUses()
func_222216_p()
public boolean
q()
method_8256()
shouldRewardPlayerExperience()
func_222221_q()
isRewardExp()
public NBTTagCompound
r()
method_8251()
toTag()
func_222208_r()
public boolean
a(bce arg0, bce arg1)
method_16952(class_1799 arg0, class_1799 arg1)
matchesBuyItems(ItemStack arg0, ItemStack arg1)
func_222204_a(ItemStack arg0, ItemStack arg1)
private boolean
c(bce arg0, bce arg1)
method_16954(class_1799 arg0, class_1799 arg1)
acceptsBuy(ItemStack arg0, ItemStack arg1)
func_222201_c(ItemStack arg0, ItemStack arg1)
public boolean
b(bce arg0, bce arg1)
method_16953(class_1799 arg0, class_1799 arg1)
depleteBuyItems(ItemStack arg0, ItemStack arg1)
func_222215_b(ItemStack arg0, ItemStack arg1)