程序包的使用
org.bukkit.inventory
使用org.bukkit.inventory的程序包
程序包
说明
Bukkit API的顶级程序包, 包含通用的API类和接口.
与进度有关的接口.
与属性有关的类 (Minecraft Wiki - 属性).
用于操作在
世界
内的三位像素(方块),包括一些特定的状态.各种方块的 BlockData 类.
Classes relevant to mob spawners.
专门用于处理插件运行时配置的类.
为在
世界
内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等.Interfaces for various
Boat
types.为不同种类的
矿车
提供的接口.参与操作玩家物品栏和物品交互的类.
用于操作可以存储在
物品堆
的额外数据的接口.Isolated components which may form part of item meta.
Package for
InventoryView
child interfaces that
house further usability for InventoryView
.A Package that contains builders for building InventoryViews.
与战利品表产生与操作有关的类 (Minecraft Wiki - 战利品表).
代表每种体素(意义可参考维基百科或百度百科相关条目,即物品被抽象为体素)的种类和状态.
Classes dedicated to handling data pack information.
-
类说明Represents a category in the creative inventory.各种物品栏的接口。Container class containing the results of a Crafting event.ItemFactory的一个实例可以通过
Server.getItemFactory()
来获得.代表物品堆.While this API is in a public interface, it is not intended for use by plugins until further notice.Represents different kinds of views, also known as menus, which can be created and viewed by the player.代表一个商人.商人是一种特殊类型的库存,是一种以物换物的自定义交易.代表某种类型的制作配方. -
-
-
类说明Represents a block inventory holder - either a BlockState, or a regular Block.酿造台的用户界面接口.Interface to the inventory of a chiseled bookshelf.Represents a cooking recipe.Interface to the inventory of a DecoratedPot.大箱子的用户界面接口.熔炉用户界面接口各种物品栏的接口。代表物品堆.While this API is in a public interface, it is not intended for use by plugins until further notice.Interface to the inventory of a Jukebox.
-
-
-
-
-
类说明马(抽象概念的)(
AbstractHorse
)的物品栏界面接口.生物的背包界面接口马(抽象)的界面接口.各种物品栏的接口。代表连接两个物品栏(从UI上理解即为上下各一个)与单个玩家 (其物品栏可能也可能不是视图代表的两个物品栏之一)的背包视图.已过时, 待删除: 此 API 元素将从以后的版本中删除。代表物品堆.羊驼的用户界面接口代表玩家的主手。代表一个商人.商人是一种特殊类型的库存,是一种以物换物的自定义交易.玩家背包. -
-
-
类说明Represents a campfire recipe.Represents a shaped or shapeless crafting recipe.代表物品堆.
-
-
-
-
类说明铁毡的背包界面接口酿造台的用户界面接口.Represents a cooking recipe.合成台的用户界面接口.Interface to the inventory of a Grindstone.各种物品栏的接口。代表连接两个物品栏(从UI上理解即为上下各一个)与单个玩家 (其物品栏可能也可能不是视图代表的两个物品栏之一)的背包视图.代表物品堆.Represents different kinds of views, also known as menus, which can be created and viewed by the player.代表一个商人.商人是一种特殊类型的库存,是一种以物换物的自定义交易.代表玩家和商人之间的用户界面接口.代表某种类型的制作配方.Interface to the inventory of a Smithing table.
-
-
-
类说明马(抽象概念的)(
AbstractHorse
)的物品栏界面接口.Represents a complex recipe which has imperative server-defined behavior, eg armor dyeing.Represents a cooking recipe.Represents a shaped or shapeless crafting recipe.Represents a category in the creative inventory.Represents a group ofEquipmentSlot
.熔炉冶炼配方.各种物品栏的接口。代表连接两个物品栏(从UI上理解即为上下各一个)与单个玩家 (其物品栏可能也可能不是视图代表的两个物品栏之一)的背包视图.已过时, 待删除: 此 API 元素将从以后的版本中删除。请使用InventoryView
及其子类隐藏ItemStacks的某些属性.A item's rarity determines the default color of its name.代表物品堆.While this API is in a public interface, it is not intended for use by plugins until further notice.Typed represents a subtype ofItemType
s that have a known item meta type at compile time.代表玩家的主手。Represents different kinds of views, also known as menus, which can be created and viewed by the player.Typed represents a subtype ofMenuType
s that have a knownInventoryView
type at compile time.代表一个商人.商人是一种特殊类型的库存,是一种以物换物的自定义交易.Represents a merchant's trade.代表某种类型的制作配方.Represents a potential item match within a recipe.Represents a choice that will be valid only if one of the stacks is exactly matched (aside from stack size).Represents a choice of multiple matching Materials.Represents a shaped (ie normal) crafting recipe.Represents a shapeless recipe, where the arrangement of the ingredients on the crafting grid does not matter.Represents a smithing recipe.Represents a Stonecutting recipe. -
类说明隐藏ItemStacks的某些属性.A item's rarity determines the default color of its name.代表物品堆.
-
-
类说明铁毡的背包界面接口信标的背包界面接口酿造台的用户界面接口.Interface to the inventory of a Crafter.附魔界面接口熔炉用户界面接口代表连接两个物品栏(从UI上理解即为上下各一个)与单个玩家 (其物品栏可能也可能不是视图代表的两个物品栏之一)的背包视图.Interface to the inventory of a Lectern.Interface to the inventory of a Loom.代表一个商人.商人是一种特殊类型的库存,是一种以物换物的自定义交易.代表玩家和商人之间的用户界面接口.Interface to the inventory of a Stonecutter.Represents a Stonecutting recipe.
-
类说明代表连接两个物品栏(从UI上理解即为上下各一个)与单个玩家 (其物品栏可能也可能不是视图代表的两个物品栏之一)的背包视图.代表一个商人.商人是一种特殊类型的库存,是一种以物换物的自定义交易.
-
-
-
类说明While this API is in a public interface, it is not intended for use by plugins until further notice.
InventoryView
及其子类