Appearance
spool / SocketSlot
Interface: SocketSlot โ
Defined in: plugins/gui/types.ts:5
A slot the player puts items into; anything accepts doesn't match is pushed back out.
Properties โ
accepts โ
readonlyaccepts:ItemValue
Defined in: plugins/gui/types.ts:7
at โ
readonlyat:number
Defined in: plugins/gui/types.ts:6
ghost? โ
readonlyoptionalghost?:string|false
Defined in: plugins/gui/types.ts:13
The faded icon behind the empty slot, as a vanilla texture like minecraft:item/arrow. Defaults to the icon of accepts's item model or id; false draws none. Baked from the client jar when the resource pack is written.
open? โ
readonlyoptionalopen?:Condition
Defined in: plugins/gui/types.ts:20
While this fails, the socket holds the GUI's locked item and pushes anything else out. Checked every tick as the GUI's marker, at the barrel, so a score on @s is cheap.
single? โ
readonlyoptionalsingle?:boolean
Defined in: plugins/gui/types.ts:15
Holds one item: the rest of a stack put in goes back out.