Package net.minecraft.world.entity.npc
Class ClientSideMerchant
java.lang.Object
net.minecraft.world.entity.npc.ClientSideMerchant
- All Implemented Interfaces:
 Merchant
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintbooleanvoidnotifyTrade(MerchantOffer p_35346_) voidnotifyTradeUpdated(ItemStack p_35358_) voidoverrideOffers(MerchantOffers p_35348_) voidoverrideXp(int p_35360_) voidsetTradingPlayer(Player p_35356_) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.trading.Merchant
canRestock, openTradingScreen 
- 
Field Details
- 
source
 - 
offers
 - 
xp
private int xp 
 - 
 - 
Constructor Details
- 
ClientSideMerchant
 
 - 
 - 
Method Details
- 
getTradingPlayer
- Specified by:
 getTradingPlayerin interfaceMerchant
 - 
setTradingPlayer
- Specified by:
 setTradingPlayerin interfaceMerchant
 - 
getOffers
 - 
overrideOffers
- Specified by:
 overrideOffersin interfaceMerchant
 - 
notifyTrade
- Specified by:
 notifyTradein interfaceMerchant
 - 
notifyTradeUpdated
- Specified by:
 notifyTradeUpdatedin interfaceMerchant
 - 
isClientSide
public boolean isClientSide()- Specified by:
 isClientSidein interfaceMerchant
 - 
getVillagerXp
public int getVillagerXp()- Specified by:
 getVillagerXpin interfaceMerchant
 - 
overrideXp
public void overrideXp(int p_35360_) - Specified by:
 overrideXpin interfaceMerchant
 - 
showProgressBar
public boolean showProgressBar()- Specified by:
 showProgressBarin interfaceMerchant
 - 
getNotifyTradeSound
- Specified by:
 getNotifyTradeSoundin interfaceMerchant
 
 -