Events
All events published by the Items plugin through SparkEventBus.
Event
Properties
Description
ItemAddedEvent
Inventory, Item, Quantity, Slot, TargetEntity, Context
Item added to an inventory
ItemRemovedEvent
Inventory, Item, Quantity, Slot, TargetEntity
Item removed from an inventory
ItemEquippedEvent
EquipmentEntity, EquipmentSlot, Item, TargetEntity
Item equipped to a slot
ItemUnequippedEvent
EquipmentEntity, EquipmentSlot, Item, TargetEntity
Item removed from equipment
LootTableRolledEvent
LootTableId, RolledItems, TargetEntityId, DropPosition, TotalItemCount
Loot table rolled and items distributed
See Event System for full details on subscribing, publishing, and handling events.
Last updated
Was this helpful?
