net.minecraft.world.entity.npc

public class ClientSideMerchant

implements Merchant

bxw
net.minecraft.world.entity.npc.ClientSideMerchant
net.minecraft.class_1645
net.minecraft.village.SimpleMerchant
net.minecraft.src.C_1116_
net.minecraft.world.entity.npc.MerchantWrapper

Field summary

Modifier and TypeField
private final Player
a
source
field_7441
player
f_35340_
private MerchantOffers
b
offers
field_7442
offers
f_35341_
private int
c
xp
field_18525
experience
f_35342_

Constructor summary

ModifierConstructor
public (Player player)

Method summary

Modifier and TypeMethod
public Player
fS()
getTradingPlayer()
method_8257()
getCustomer()
m_7962_()
public void
e(bym arg0)
setTradingPlayer(Player arg0)
method_8259(class_1657 arg0)
setCustomer(PlayerEntity arg0)
m_7189_(C_1141_ arg0)
public MerchantOffers
fU()
getOffers()
method_8264()
getOffers()
m_6616_()
public void
a(clh arg0)
overrideOffers(MerchantOffers arg0)
method_8261(class_1916 arg0)
setOffersFromServer(TradeOfferList arg0)
m_6255_(C_1552_ arg0)
public void
a(clg arg0)
notifyTrade(MerchantOffer arg0)
method_8262(class_1914 arg0)
trade(TradeOffer arg0)
m_6996_(C_1551_ arg0)
public void
l(cfv arg0)
notifyTradeUpdated(ItemStack arg0)
method_8258(class_1799 arg0)
onSellingItem(ItemStack arg0)
m_7713_(C_1391_ arg0)
public boolean
ga()
isClientSide()
method_38069()
isClient()
m_183595_()
public int
r()
getVillagerXp()
method_19269()
getExperience()
m_7809_()
public void
s(int arg0)
overrideXp(int arg0)
method_19271(int arg0)
setExperienceFromServer(int arg0)
m_6621_(int arg0)
public boolean
fV()
showProgressBar()
method_19270()
isLeveledMerchant()
m_7826_()
public SoundEvent
fW()
getNotifyTradeSound()
method_18010()
getYesSound()
m_7596_()