Package net.minecraft.world.entity.npc
Class ClientSideMerchant
java.lang.Object
net.minecraft.world.entity.npc.ClientSideMerchant
- All Implemented Interfaces:
- Merchant
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.trading.MerchantcanRestock, openTradingScreen
- 
Field Details- 
source
- 
offers
- 
xpprivate int xp
 
- 
- 
Constructor Details- 
ClientSideMerchant
 
- 
- 
Method Details- 
getTradingPlayer- Specified by:
- getTradingPlayerin interface- Merchant
 
- 
setTradingPlayer- Specified by:
- setTradingPlayerin interface- Merchant
 
- 
getOffers
- 
overrideOffers- Specified by:
- overrideOffersin interface- Merchant
 
- 
notifyTrade- Specified by:
- notifyTradein interface- Merchant
 
- 
notifyTradeUpdated- Specified by:
- notifyTradeUpdatedin interface- Merchant
 
- 
isClientSidepublic boolean isClientSide()- Specified by:
- isClientSidein interface- Merchant
 
- 
getVillagerXppublic int getVillagerXp()- Specified by:
- getVillagerXpin interface- Merchant
 
- 
overrideXppublic void overrideXp(int p_35360_) - Specified by:
- overrideXpin interface- Merchant
 
- 
showProgressBarpublic boolean showProgressBar()- Specified by:
- showProgressBarin interface- Merchant
 
- 
getNotifyTradeSound- Specified by:
- getNotifyTradeSoundin interface- Merchant
 
 
-