net.minecraft.world.village.trade

public class TradeOffer

bgl
net.minecraft.class_1914
net.minecraft.world.village.trade.TradeOffer
net.minecraft.item.MerchantOffer
net.minecraft.item.MerchantOffer

Field summary

Modifier and TypeField
private final ItemStack
a
field_9146
primaryPayment
field_222223_a
field_222223_a
private final ItemStack
b
field_9143
secondaryPayment
field_222224_b
field_222224_b
private final ItemStack
c
field_9148
result
field_222225_c
field_222225_c
private int
d
field_9147
uses
field_222226_d
field_222226_d
private final int
e
field_9144
maxUses
field_222227_e
field_222227_e
private boolean
f
field_9145
rewardXp
field_222228_f
field_222228_f
private int
g
field_18676
specialPrice
field_222229_g
field_222229_g
private int
h
field_18677
demand
field_222230_h
field_222230_h
private float
i
field_18678
priceMultiplier
field_222231_i
field_222231_i
private int
j
field_18679
xp
field_222232_j
field_222232_j

Constructor summary

ModifierConstructor
public (NbtCompound nbt)
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 xp, float priceMultiplier)

Method summary

Modifier and TypeMethod
public ItemStack
a()
method_8246()
getPrimaryPayment()
func_222218_a()
func_222218_a()
public ItemStack
b()
method_19272()
m_41068099()
func_222205_b()
func_222205_b()
public ItemStack
c()
method_8247()
getSecondaryPayment()
func_222202_c()
func_222202_c()
public ItemStack
d()
method_8250()
getResult()
func_222200_d()
func_222200_d()
public void
e()
method_19274()
m_64086097()
func_222222_e()
func_222222_e()
public ItemStack
f()
method_18019()
getResultCopy()
func_222206_f()
func_222206_f()
public int
g()
method_8249()
getUses()
func_222213_g()
func_222213_g()
public void
h()
method_19275()
resetUses()
func_222203_h()
func_222203_h()
public int
i()
method_8248()
getMaxUses()
func_222214_i()
func_222214_i()
public void
j()
method_8244()
use()
func_222219_j()
func_222219_j()
public void
a(int arg0)
method_8245(int arg0)
increaseMaxUses(int uses)
func_222207_a(int arg0)
func_222207_a(int arg0)
public void
k()
method_19276()
resetSpecialPrice()
func_222220_k()
func_222220_k()
public int
l()
method_19277()
getSpecialPrice()
func_222212_l()
func_222212_l()
public void
b(int arg0)
method_19273(int arg0)
setSpecialPrice(int value)
func_222209_b(int arg0)
func_222209_b(int arg0)
public float
m()
method_19278()
getPriceMultiplier()
func_222211_m()
func_222211_m()
public int
n()
method_19279()
getXp()
func_222210_n()
func_222210_n()
public boolean
o()
method_8255()
isDisabled()
func_222217_o()
func_222217_o()
public void
p()
method_8254()
clearUses()
func_222216_p()
func_222216_p()
public boolean
q()
method_8256()
rewardXp()
func_222221_q()
func_222221_q()
public NbtCompound
r()
method_8251()
toNbt()
func_222208_r()
func_222208_r()
public boolean
a(bcb arg0, bcb arg1)
method_16952(class_1799 arg0, class_1799 arg1)
m_50372240(ItemStack arg0, ItemStack arg1)
func_222204_a(ItemStack arg0, ItemStack arg1)
func_222204_a(ItemStack arg0, ItemStack arg1)
private boolean
c(bcb arg0, bcb arg1)
method_16954(class_1799 arg0, class_1799 arg1)
m_90666336(ItemStack arg0, ItemStack arg1)
func_222201_c(ItemStack arg0, ItemStack arg1)
func_222201_c(ItemStack arg0, ItemStack arg1)
public boolean
b(bcb arg0, bcb arg1)
method_16953(class_1799 arg0, class_1799 arg1)
m_09649776(ItemStack arg0, ItemStack arg1)
func_222215_b(ItemStack arg0, ItemStack arg1)
func_222215_b(ItemStack arg0, ItemStack arg1)