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"
Block
Class Block
Hierarchy
Block
Implements
ICoreBasicBlock
Index
Constructors
constructor
Properties
hardness
id
miningtime
name
num
Id
options
registry
texture
tool
type
unbreakable
Methods
_finalize
get
Item
Stack
get
Object
Constructors
constructor
new
Block
(
id
:
string
, type
:
number
, texture
:
string
|
string
[]
, options
:
object
, hardness
:
number
, miningtime
:
number
, tool
:
string
|
string
[]
)
:
Block
Parameters
id:
string
type:
number
texture:
string
|
string
[]
options:
object
hardness:
number
miningtime:
number
tool:
string
|
string
[]
Returns
Block
Properties
hardness
hardness
:
number
id
id
:
string
miningtime
miningtime
:
number
name
name
:
string
num
Id
num
Id
:
number
= -1
options
options
:
object
registry
registry
:
Registry
= null
texture
texture
:
string
|
Array
<
string
>
tool
tool
:
string
|
string
[]
type
type
:
number
unbreakable
unbreakable
:
boolean
Methods
_finalize
_finalize
(
registry
:
Registry
)
:
void
Parameters
registry:
Registry
Returns
void
get
Item
Stack
get
Item
Stack
(
count
?:
number
)
:
ItemStack
Parameters
Optional
count:
number
Returns
ItemStack
get
Object
get
Object
(
)
:
object
Returns
object
Globals
"src/lib/registry"
Block
constructor
hardness
id
miningtime
name
num
Id
options
registry
texture
tool
type
unbreakable
_finalize
get
Item
Stack
get
Object
Command
Item
Item
Armor
Item
Block
Item
Stack
Item
Tool
Registry
IItem
Stack
Generated using
TypeDoc