SystemCore
Toggle table of contents
1.7.4
jvm
Platform filter
jvm
Switch theme
Search in API
SystemCore
SystemCore
/
com.system32.systemCore.managers.usableItems
/
UsableItemsManager
/
UsableItem
Usable
Item
data
class
UsableItem
(
val
item
:
ItemStack
,
val
validate
:
(
PlayerInteractEvent
)
->
Boolean
=
{ true }
,
val
onUse
:
(
PlayerInteractEvent
)
->
Unit
)
Members
Constructors
Usable
Item
Link copied to clipboard
constructor
(
item
:
ItemStack
,
validate
:
(
PlayerInteractEvent
)
->
Boolean
=
{ true }
,
onUse
:
(
PlayerInteractEvent
)
->
Unit
)
Properties
item
Link copied to clipboard
val
item
:
ItemStack
on
Use
Link copied to clipboard
val
onUse
:
(
PlayerInteractEvent
)
->
Unit
validate
Link copied to clipboard
val
validate
:
(
PlayerInteractEvent
)
->
Boolean