类 | 说明 |
---|---|
BrewEvent |
当酿造完成时触发这个事件.
|
BrewingStandFuelEvent |
Called when an ItemStack is about to increase the fuel level of a brewing
stand.
|
CraftItemEvent |
当一个物品被合成的时候触发这个事件.
|
FurnaceBurnEvent |
当一个物品作为燃料被燃烧的时候触发这个事件.
|
FurnaceExtractEvent |
当玩家从熔炉取出产物时触发这个事件.
|
FurnaceSmeltEvent |
当一个物品被熔炼完毕时触发这个事件.
|
InventoryClickEvent |
当玩家点击物品栏中的格子时触发事件事件.
|
InventoryCloseEvent |
当玩家关闭背包时触发本事件
|
InventoryCreativeEvent |
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.
|
InventoryDragEvent |
This event is called when the player drags an item in their cursor across
the inventory.
|
InventoryEvent |
代表与玩家相关的物品栏事件
|
InventoryInteractEvent |
An abstract base class for events that describe an interaction between a
HumanEntity and the contents of an Inventory.
|
InventoryMoveItemEvent |
Called when some entity or block (e.g. hopper) tries to move items directly
from one inventory to another.
|
InventoryOpenEvent |
当玩家打开物品栏时触发本事件
|
InventoryPickupItemEvent |
当漏斗/漏斗矿车收起掉落的物品时触发本事件.
|
PrepareAnvilEvent |
当物品放入铁砧内,并且可以合成出物品的时候触发该事件
|
PrepareItemCraftEvent |
枚举 | 说明 |
---|---|
ClickType |
点击类型.
|
DragType |
在物品栏中拖动物品的拖动类型.
|
InventoryAction |
用于判断点击物品栏的动作结果.
|
InventoryType | |
InventoryType.SlotType |