Add-On Documentation
Preparing search index...
The search index is not available
8Crafter's Debug Sticks API
8Crafter's Debug Sticks API
Globals
modules
uis
itemSelector
Function itemSelector
itemSelector
<
FuncType
extends
(
...
args
:
any
)
=>
FuncReturnType
,
FuncReturnType
extends
unknown
,
>
(
sourceEntitya
:
|
Entity
|
Player
|
Globals
.
modules
.
cmds
.
executeCommandPlayerW
,
targetPlayer
:
Entity
|
Player
,
backFunction
?:
FuncType
,
...
functionargs
:
any
,
)
:
Promise
<
{
item
:
ContainerSlot
;
slot
:
number
|
EquipmentSlot
}
>
Type Parameters
FuncType
extends
(
...
args
:
any
)
=>
FuncReturnType
FuncReturnType
extends
unknown
Parameters
sourceEntitya
:
Entity
|
Player
|
Globals
.
modules
.
cmds
.
executeCommandPlayerW
targetPlayer
:
Entity
|
Player
Optional
backFunction
:
FuncType
...
functionargs
:
any
Returns
Promise
<
{
item
:
ContainerSlot
;
slot
:
number
|
EquipmentSlot
}
>
Version
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Add-On Documentation
8Crafter's Debug Sticks API
Loading...