接口 MerchantInventoryViewBuilder<V extends InventoryView>
- 类型参数:
V- 通过此构建器创建的 InventoryView 的类型
- 所有超级接口:
InventoryViewBuilder<V>
@Experimental
public interface MerchantInventoryViewBuilder<V extends InventoryView>
extends InventoryViewBuilder<V>
用于创建商人视图的 InventoryViewBuilder
-
方法概要
修饰符和类型方法说明checkReachable(boolean checkReachable) 确定服务器是否应检查玩家能否到达该位置。copy()创建此构建器的副本向此构建器添加商人设置构建器的标题从接口继承的方法 org.bukkit.inventory.view.builder.InventoryViewBuilder
build
-
方法详细资料
-
copy
从接口复制的说明:InventoryViewBuilder创建此构建器的副本原文:Makes a copy of this builder
- 指定者:
copy在接口中InventoryViewBuilder<V extends InventoryView>- 返回:
- 此构建器的副本
-
title
从接口复制的说明:InventoryViewBuilder设置构建器的标题原文:Sets the title of the builder
- 指定者:
title在接口中InventoryViewBuilder<V extends InventoryView>- 参数:
title- 标题- 返回:
- 此构建器
-
merchant
向此构建器添加商人原文:Adds a merchant to this builder
- 参数:
merchant- 商人- 返回:
- 此构建器
-
checkReachable
确定服务器是否应检查玩家能否到达该位置。如果提供了 checkReachable 且通过
Server.createMerchant(String)向构建器提供了虚拟商人,则此方法对实际菜单状态不会产生影响。原文: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- 是否检查视图是否"可到达"- 返回:
- 此构建器
-