类 ClientSideMerchant
java.lang.Object
net.minecraft.world.entity.npc.ClientSideMerchant
- 所有已实现的接口:
Merchant
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
boolean
void
notifyTrade
(MerchantOffer p_35346_) void
notifyTradeUpdated
(ItemStack p_35358_) void
overrideOffers
(MerchantOffers p_35348_) void
overrideXp
(int p_35360_) void
setTradingPlayer
(Player p_35356_) boolean
boolean
stillValid
(Player p_383147_) 从类继承的方法 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
-
stillValid
- 指定者:
stillValid
在接口中Merchant
-
getVillagerXp
public int getVillagerXp()- 指定者:
getVillagerXp
在接口中Merchant
-
overrideXp
public void overrideXp(int p_35360_) - 指定者:
overrideXp
在接口中Merchant
-
showProgressBar
public boolean showProgressBar()- 指定者:
showProgressBar
在接口中Merchant
-
getNotifyTradeSound
- 指定者:
getNotifyTradeSound
在接口中Merchant
-