Search
Preparing search index...
The search index is not available
voxelservercore
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"src/lib/registry"
Registry
Class Registry
Hierarchy
Registry
Implements
ICoreRegistry
Index
Constructors
constructor
Properties
_block
Registry
Object
_freeIDs
_item
Registry
Object
_lastID
_server
blockIDmap
block
Palette
blocks
commands
finalized
items
Methods
_finalize
_load
Palette
add
Block
add
Command
add
Item
Constructors
constructor
new
Registry
(
server
:
Server
)
:
Registry
Parameters
server:
Server
Returns
Registry
Properties
_block
Registry
Object
_block
Registry
Object
:
{}
Type declaration
[
index:
string
]:
object
_freeIDs
_freeIDs
:
number
[]
= []
_item
Registry
Object
_item
Registry
Object
:
{}
Type declaration
[
index:
string
]:
object
_lastID
_lastID
:
number
= 0
_server
_server
:
Server
= null
blockIDmap
blockIDmap
:
{}
Type declaration
[
index:
number
]:
string
block
Palette
block
Palette
:
{}
Type declaration
[
index:
string
]:
number
blocks
blocks
:
{}
Type declaration
[
index:
string
]:
any
commands
commands
:
{}
Type declaration
[
index:
string
]:
any
finalized
finalized
:
boolean
= false
items
items
:
{}
Type declaration
[
index:
string
]:
any
Methods
_finalize
_finalize
(
force
?:
boolean
)
:
void
Parameters
Default value
force:
boolean
= false
Returns
void
_load
Palette
_load
Palette
(
)
:
void
Returns
void
add
Block
add
Block
(
block
:
Block
)
:
void
Parameters
block:
Block
Returns
void
add
Command
add
Command
(
command
:
Command
)
:
void
Parameters
command:
Command
Returns
void
add
Item
add
Item
(
item
:
Item
)
:
void
Parameters
item:
Item
Returns
void
Globals
"src/lib/registry"
Block
Command
Item
Item
Armor
Item
Block
Item
Stack
Item
Tool
Registry
constructor
_block
Registry
Object
_freeIDs
_item
Registry
Object
_lastID
_server
blockIDmap
block
Palette
blocks
commands
finalized
items
_finalize
_load
Palette
add
Block
add
Command
add
Item
IItem
Stack
Generated using
TypeDoc