com.skillw.attsystem.api.event.ItemReadEvent.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of AttributeSystem Show documentation
Show all versions of AttributeSystem Show documentation
Bukkit Attribute Engine Plugin.
The newest version!
package com.skillw.attsystem.api.event
import com.skillw.attsystem.api.compiled.sub.ComplexCompiledData
import org.bukkit.entity.LivingEntity
import org.bukkit.inventory.ItemStack
import taboolib.platform.type.BukkitProxyEvent
/**
* 读取物品事件
*
* @constructor Create empty Item read event
* @property entity 实体
* @property itemStack 物品
* @property compiledData 预编译属性数据
*/
class ItemReadEvent(
val entity: LivingEntity?,
val itemStack: ItemStack,
val compiledData: ComplexCompiledData,
val slot: String?,
) : BukkitProxyEvent() {
override val allowCancelled = true
}