net.minecraft.world.item.trading

public interface Merchant

duc
net.minecraft.world.item.trading.Merchant
net.minecraft.class_1915
net.minecraft.village.Merchant

Method summary

Modifier and TypeMethod
void
g(dcm arg0)
setTradingPlayer(Player arg0)
method_8259(class_1657 arg0)
setCustomer(PlayerEntity customer)
Player
gQ()
getTradingPlayer()
method_8257()
getCustomer()
MerchantOffers
gS()
getOffers()
method_8264()
getOffers()
void
a(due arg0)
overrideOffers(MerchantOffers arg0)
method_8261(class_1916 arg0)
setOffersFromServer(TradeOfferList offers)
void
a(dud arg0)
notifyTrade(MerchantOffer arg0)
method_8262(class_1914 arg0)
trade(TradeOffer offer)
void
i(dkm arg0)
notifyTradeUpdated(ItemStack arg0)
method_8258(class_1799 arg0)
onSellingItem(ItemStack stack)
int
s()
getVillagerXp()
method_19269()
getExperience()
void
s(int arg0)
overrideXp(int arg0)
method_19271(int arg0)
setExperienceFromServer(int experience)
boolean
gT()
showProgressBar()
method_19270()
isLeveledMerchant()
SoundEvent
gU()
getNotifyTradeSound()
method_18010()
getYesSound()
default boolean
hb()
canRestock()
method_20708()
canRefreshTrades()
default void
a(dcm arg0, yh 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
gX()
isClientSide()
method_38069()
isClient()
boolean
h(dcm arg0)
stillValid(Player arg0)
method_65125(class_1657 arg0)
canInteract(PlayerEntity player)