net.minecraft.world.item.trading

public interface Merchant

dff
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(coy arg0)
setTradingPlayer(Player arg0)
method_8259(class_1657 arg0)
setCustomer(PlayerEntity customer)
Player
gs()
getTradingPlayer()
method_8257()
getCustomer()
MerchantOffers
gu()
getOffers()
method_8264()
getOffers()
void
a(dfh arg0)
overrideOffers(MerchantOffers arg0)
method_8261(class_1916 arg0)
setOffersFromServer(TradeOfferList offers)
void
a(dfg arg0)
notifyTrade(MerchantOffer arg0)
method_8262(class_1914 arg0)
trade(TradeOffer offer)
void
i(cwq 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
gv()
showProgressBar()
method_19270()
isLeveledMerchant()
SoundEvent
gw()
getNotifyTradeSound()
method_18010()
getYesSound()
default boolean
gE()
canRestock()
method_20708()
canRefreshTrades()
default void
a(coy arg0, wp 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
gA()
isClientSide()
method_38069()
isClient()
boolean
f(coy arg0)
stillValid(Player arg0)
method_65125(class_1657 arg0)
canInteract(PlayerEntity player)