类 ClientSideMerchant
java.lang.Object
net.minecraft.world.entity.npc.ClientSideMerchant
- 所有已实现的接口:
Merchant
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
boolean
void
notifyTrade
(MerchantOffer pOffer) void
notifyTradeUpdated
(ItemStack pStack) void
overrideOffers
(MerchantOffers pOffers) void
overrideXp
(int pXp) void
setTradingPlayer
(Player pPlayer) boolean
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.item.trading.Merchant
canRestock, openTradingScreen
-
字段详细资料
-
source
-
offers
-
xp
private int xp
-
-
构造器详细资料
-
ClientSideMerchant
-
-
方法详细资料
-
getTradingPlayer
- 指定者:
getTradingPlayer
在接口中Merchant
-
setTradingPlayer
- 指定者:
setTradingPlayer
在接口中Merchant
-
getOffers
-
overrideOffers
- 指定者:
overrideOffers
在接口中Merchant
-
notifyTrade
- 指定者:
notifyTrade
在接口中Merchant
-
notifyTradeUpdated
- 指定者:
notifyTradeUpdated
在接口中Merchant
-
isClientSide
public boolean isClientSide()- 指定者:
isClientSide
在接口中Merchant
-
getVillagerXp
public int getVillagerXp()- 指定者:
getVillagerXp
在接口中Merchant
-
overrideXp
public void overrideXp(int pXp) - 指定者:
overrideXp
在接口中Merchant
-
showProgressBar
public boolean showProgressBar()- 指定者:
showProgressBar
在接口中Merchant
-
getNotifyTradeSound
- 指定者:
getNotifyTradeSound
在接口中Merchant
-