程序包的使用
org.bukkit.event.inventory
程序包
说明
Bukkit API的顶级程序包, 包含通用的API类和接口.
参与操作玩家物品栏和物品交互的类.
-
-
-
类说明点击类型.在物品栏中拖动物品的拖动类型.用于判断点击物品栏的动作结果.当玩家点击物品栏中的格子时触发事件事件.
译注:事实上打开任意容器的物品栏(包括玩家的背包)后点击任何一个地方都会触发这个事件。代表与玩家相关的物品栏事件An abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory.Represents the different kinds of inventories available in Bukkit.Called when an item is put in a slot and the result is calculated. -
类说明Represents the different kinds of inventories available in Bukkit.