UI.UISlotElementProps
Hierarchy
- UIElement
- UISlotElementProps
Index
Properties
optionalbitmap
optionalclicker
optionaldarken
optionaldisablePixelPerfectsince: 2.2.1b96
optionaliconScalesince: 2.2.1b96
optionalisDarkenAtZero
optionalisTransparentBackground
That feature is obsolete
In 2.0.4b43, not needed anymore.
optionalisValid
Type declaration
Parameters
id: number
count: number
data: number
container: Container
item: ItemInstance
Returns boolean
optionalmaxStackSize
optionalneedClean
That feature is obsolete
In 2.0.4b43, not needed anymore.
optionalonItemChanged
Type declaration
Parameters
container: UiAbstractContainer
oldId: number
oldCount: number
oldData: number
Returns void
optionalsize
Since 2.4.0b122o1 can be float, before it was rounded up, which could not indicate much accuracy.
There are 12 types of UI elements given by Inner Core, and you can also create your custom ones. Each element type has it's own specific description object. These description objects are all inherited from this BasicElementDescription. It means that each element must have coords on the GUI by X, Y, and additionally Z axis, and also you can specify how the element will behave when touched, in clicker object (optional).