Search
Preparing search index...
The search index is not available
Core Engine v2.1 API
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Core Engine v2.1 API
com
zhekasmirnov
innercore
api
mod
ui
container
UiAbstractContainer
Class UiAbstractContainer
Hierarchy
Object
UiAbstractContainer
Implemented by
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
container
.
Container
ItemContainerUiHandler
Index
Constructors
constructor
Properties
class
Methods
add
Element
Instance
clone
close
equals
finalize
get
Binding
get
Class
get
Element
get
Parent
get
Slot
Visual
Impl
handle
Binding
Dirty
handle
Inventory
To
Slot
Transaction
handle
Slot
To
Inventory
Transaction
handle
Slot
To
Slot
Transaction
hash
Code
notify
notify
All
on
Window
Closed
open
As
set
Binding
to
String
wait
Constructors
constructor
new
Ui
Abstract
Container
(
)
:
UiAbstractContainer
new
Ui
Abstract
Container
(
impl
:
{
addElementInstance
:
any
;
close
:
any
;
getBinding
:
any
;
getElement
:
any
;
getParent
:
any
;
getSlotVisualImpl
:
any
;
handleBindingDirty
:
any
;
handleInventoryToSlotTransaction
:
any
;
handleSlotToInventoryTransaction
:
any
;
handleSlotToSlotTransaction
:
any
;
onWindowClosed
:
any
;
openAs
:
any
;
setBinding
:
any
}
)
:
UiAbstractContainer
Returns
UiAbstractContainer
Parameters
impl:
{
addElementInstance
:
any
;
close
:
any
;
getBinding
:
any
;
getElement
:
any
;
getParent
:
any
;
getSlotVisualImpl
:
any
;
handleBindingDirty
:
any
;
handleInventoryToSlotTransaction
:
any
;
handleSlotToInventoryTransaction
:
any
;
handleSlotToSlotTransaction
:
any
;
onWindowClosed
:
any
;
openAs
:
any
;
setBinding
:
any
}
add
Element
Instance
:
function
add
Element
Instance
(
element
:
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
, name
:
string
)
:
void
Parameters
element:
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
name:
string
Returns
void
close
:
function
close
(
)
:
void
Returns
void
get
Binding
:
function
get
Binding
<
T
>
(
element
:
string
, bindingName
:
string
)
:
Rect
|
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
|
T
Type Parameters
T =
any
Parameters
element:
string
bindingName:
string
Returns
Rect
|
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
|
T
get
Element
:
function
get
Element
(
elementName
:
string
)
:
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
Parameters
elementName:
string
Returns
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
get
Parent
:
function
get
Parent
(
)
:
any
Returns
any
get
Slot
Visual
Impl
:
function
get
Slot
Visual
Impl
(
slotName
:
string
)
:
UiVisualSlotImpl
Parameters
slotName:
string
Returns
UiVisualSlotImpl
handle
Binding
Dirty
:
function
handle
Binding
Dirty
(
element
:
string
, bindingName
:
string
)
:
void
Parameters
element:
string
bindingName:
string
Returns
void
handle
Inventory
To
Slot
Transaction
:
function
handle
Inventory
To
Slot
Transaction
(
invSlot
:
number
, containerSlot
:
string
, count
:
number
)
:
void
Parameters
invSlot:
number
containerSlot:
string
count:
number
Returns
void
handle
Slot
To
Inventory
Transaction
:
function
handle
Slot
To
Inventory
Transaction
(
containerSlot
:
string
, invSlot
:
number
)
:
void
Parameters
containerSlot:
string
invSlot:
number
Returns
void
handle
Slot
To
Slot
Transaction
:
function
handle
Slot
To
Slot
Transaction
(
slot1
:
string
, slot2
:
string
, count
:
number
)
:
void
Parameters
slot1:
string
slot2:
string
count:
number
Returns
void
on
Window
Closed
:
function
on
Window
Closed
(
)
:
void
Returns
void
open
As
:
function
open
As
(
win
:
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
window
.
IWindow
)
:
void
Parameters
win:
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
window
.
IWindow
Returns
void
set
Binding
:
function
set
Binding
<
T
>
(
element
:
string
, bindingName
:
string
, obj
:
T
)
:
void
Type Parameters
T
Parameters
element:
string
bindingName:
string
obj:
T
Returns
void
Returns
UiAbstractContainer
Properties
Static
class
class
:
Class
<
UiAbstractContainer
>
Methods
add
Element
Instance
add
Element
Instance
(
element
:
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
, name
:
string
)
:
void
Parameters
element:
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
name:
string
Returns
void
clone
clone
(
)
:
any
Returns
any
close
close
(
)
:
void
Returns
void
equals
equals
(
param0
:
any
)
:
boolean
Parameters
param0:
any
Returns
boolean
finalize
finalize
(
)
:
void
Returns
void
get
Binding
get
Binding
<
T
>
(
element
:
string
, bindingName
:
string
)
:
Rect
|
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
|
T
Type Parameters
T =
any
Parameters
element:
string
bindingName:
string
Returns
Rect
|
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
|
T
get
Class
get
Class
(
)
:
Class
<
any
>
Returns
Class
<
any
>
get
Element
get
Element
(
elementName
:
string
)
:
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
Parameters
elementName:
string
Returns
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
elements
.
UIElement
get
Parent
get
Parent
(
)
:
any
Returns
any
get
Slot
Visual
Impl
get
Slot
Visual
Impl
(
slotName
:
string
)
:
UiVisualSlotImpl
Parameters
slotName:
string
Returns
UiVisualSlotImpl
handle
Binding
Dirty
handle
Binding
Dirty
(
element
:
string
, bindingName
:
string
)
:
void
Parameters
element:
string
bindingName:
string
Returns
void
handle
Inventory
To
Slot
Transaction
handle
Inventory
To
Slot
Transaction
(
invSlot
:
number
, containerSlot
:
string
, count
:
number
)
:
void
Parameters
invSlot:
number
containerSlot:
string
count:
number
Returns
void
handle
Slot
To
Inventory
Transaction
handle
Slot
To
Inventory
Transaction
(
containerSlot
:
string
, invSlot
:
number
)
:
void
Parameters
containerSlot:
string
invSlot:
number
Returns
void
handle
Slot
To
Slot
Transaction
handle
Slot
To
Slot
Transaction
(
slot1
:
string
, slot2
:
string
, count
:
number
)
:
void
Parameters
slot1:
string
slot2:
string
count:
number
Returns
void
hash
Code
hash
Code
(
)
:
number
Returns
number
notify
notify
(
)
:
void
Returns
void
notify
All
notify
All
(
)
:
void
Returns
void
on
Window
Closed
on
Window
Closed
(
)
:
void
Returns
void
open
As
open
As
(
win
:
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
window
.
IWindow
)
:
void
Parameters
win:
com
.
zhekasmirnov
.
innercore
.
api
.
mod
.
ui
.
window
.
IWindow
Returns
void
set
Binding
set
Binding
<
T
>
(
element
:
string
, bindingName
:
string
, obj
:
T
)
:
void
Type Parameters
T
Parameters
element:
string
bindingName:
string
obj:
T
Returns
void
to
String
to
String
(
)
:
string
Returns
string
wait
wait
(
)
:
void
wait
(
param0
:
number
)
:
void
wait
(
param0
:
number
, param1
:
number
)
:
void
Returns
void
Parameters
param0:
number
Returns
void
Parameters
param0:
number
param1:
number
Returns
void
Exports
Actor
Renderer
Addon
Entity
Registry
Animation
Armor
Block
Block
Renderer
Callback
Commands
Config
Custom
Enchant
Debug
Dimensions
Entity
EntityAI
EntityAIClass
File
Tools
Game
Game
Object
Registry
Generation
Utils
ICRender
IDData
IDRegistry
Item
Item
Model
Liquid
Registry
Logger
Low
Level
Utils
Mob
Registry
Mob
Spawn
Registry
Mod
ModAPI
Mod
Pack
NBT
Native
Network
Particles
Player
Recipes
Render
Render
Mesh
Saver
Threading
Tile
Entity
ToolAPI
Translation
UI
Updatable
World
World
Renderer
com
zhekasmirnov
apparatus
horizon
innercore
api
Native
Render
Mesh
Native
Renderer
mod
recipes
ui
Gui
Block
Model
background
container
Container
elements
icon
memory
types
window
util
unlimited
mod
Ui
Abstract
Container
constructor
class
add
Element
Instance
clone
close
equals
finalize
get
Binding
get
Class
get
Element
get
Parent
get
Slot
Visual
Impl
handle
Binding
Dirty
handle
Inventory
To
Slot
Transaction
handle
Slot
To
Inventory
Transaction
handle
Slot
To
Slot
Transaction
hash
Code
notify
notify
All
on
Window
Closed
open
As
set
Binding
to
String
wait
Generated using
TypeDoc