LiquidBounce
Toggle table of contents
0.37.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
LiquidBounce
LiquidBounce
/
net.ccbluex.liquidbounce.utils.inventory
/
InventoryAction
/
UseItem
Use
Item
@
JvmRecord
data
class
UseItem
@
JvmOverloads
constructor
(
val
hotbarItemSlot
:
HotbarItemSlot
,
val
requester
:
Any
?
=
null
)
:
InventoryAction
,
Record
Members
Constructors
Use
Item
Link copied to clipboard
@
JvmOverloads
constructor
(
hotbarItemSlot
:
HotbarItemSlot
,
requester
:
Any
?
=
null
)
Properties
hotbar
Item
Slot
Link copied to clipboard
val
hotbarItemSlot
:
HotbarItemSlot
requester
Link copied to clipboard
val
requester
:
Any
?
Functions
can
Perform
Action
Link copied to clipboard
open
override
fun
canPerformAction
(
inventoryConstraints
:
InventoryConstraints
)
:
Boolean
perform
Action
Link copied to clipboard
open
override
fun
performAction
(
)
:
Boolean
requires
Player
Inventory
Open
Link copied to clipboard
open
override
fun
requiresPlayerInventoryOpen
(
)
:
Boolean