net.minecraft.world.item.trading

public interface Merchant

dge
net.minecraft.world.item.trading.Merchant
net.minecraft.class_1915
net.minecraft.village.Merchant
net.minecraft.world.item.trading.IMerchant

Method summary

Modifier and TypeMethod
void
a(cpx arg0)
setTradingPlayer(Player arg0)
method_8259(class_1657 arg0)
setCustomer(PlayerEntity customer)
Player
go()
getTradingPlayer()
method_8257()
getCustomer()
MerchantOffers
gq()
getOffers()
method_8264()
getOffers()
void
a(dgg arg0)
overrideOffers(MerchantOffers arg0)
method_8261(class_1916 arg0)
setOffersFromServer(TradeOfferList offers)
void
a(dgf arg0)
notifyTrade(MerchantOffer arg0)
method_8262(class_1914 arg0)
trade(TradeOffer offer)
void
i(cxp arg0)
notifyTradeUpdated(ItemStack arg0)
method_8258(class_1799 arg0)
onSellingItem(ItemStack stack)
int
x()
getVillagerXp()
method_19269()
getExperience()
void
s(int arg0)
overrideXp(int arg0)
method_19271(int arg0)
setExperienceFromServer(int experience)
boolean
gr()
showProgressBar()
method_19270()
isLeveledMerchant()
SoundEvent
gs()
getNotifyTradeSound()
method_18010()
getYesSound()
default boolean
gA()
canRestock()
method_20708()
canRefreshTrades()
default void
a(cpx arg0, xv arg1, int arg2)
openTradingScreen(Player arg0, Component arg1, int arg2)
method_17449(class_1657 arg0, class_2561 arg1, int arg2)
sendOffers(PlayerEntity player, Text name, int levelProgress)
boolean
gw()
isClientSide()
method_38069()
isClient()