类的使用
org.bukkit.event.inventory.InventoryInteractEvent
-
org.bukkit.event.inventory中InventoryInteractEvent的使用
修饰符和类型类说明class
当一个物品被合成的时候触发这个事件.class
当玩家点击物品栏中的格子时触发事件事件.
译注:事实上打开任意容器的物品栏(包括玩家的背包)后点击任何一个地方都会触发这个事件。class
This event is called when a player in creative mode puts down or picks up an item in their inventory / hotbar and when they drop items from their Inventory while in creative mode.class
This event is called when the player drags an item in their cursor across the inventory.