接口 MerchantInventoryViewBuilder<V extends InventoryView>
- 类型参数:
V- the type of InventoryView created by this builder
- 所有超级接口:
InventoryViewBuilder<V>
@Experimental
public interface MerchantInventoryViewBuilder<V extends InventoryView>
extends InventoryViewBuilder<V>
An InventoryViewBuilder for creating merchant views
-
方法概要
修饰符和类型方法说明checkReachable(boolean checkReachable) Determines whether or not the server should check if the player can reach the location.copy()Makes a copy of this builderAdds a merchant to this builderSets the title of the builder从接口继承的方法 org.bukkit.inventory.view.builder.InventoryViewBuilder
build
-
方法详细资料
-
copy
从接口复制的说明:InventoryViewBuilderMakes a copy of this builder- 指定者:
copy在接口中InventoryViewBuilder<V extends InventoryView>- 返回:
- a copy of this builder
-
title
从接口复制的说明:InventoryViewBuilderSets the title of the builder- 指定者:
title在接口中InventoryViewBuilder<V extends InventoryView>- 参数:
title- the title- 返回:
- this builder
-
merchant
Adds a merchant to this builder- 参数:
merchant- the merchant- 返回:
- this builder
-
checkReachable
Determines whether or not the server should check if the player can reach the location.Given checkReachable is provided and a virtual merchant is provided to the builder from
Server.createMerchant(String)this method will have no effect on the actual menu status.- 参数:
checkReachable- whether or not to check if the view is "reachable"- 返回:
- this builder
-