Blockbench Reference Docs
Preparing search index...
generated/modes
Mode
Class Mode
Hierarchy (
View Summary
)
KeybindItem
Mode
Index
Constructors
constructor
Properties
category?
condition?
default_
keybind?
default_
tool?
description
hidden_
node_
types
hide_
sidebars
hide_
status_
bar
hide_
toolbars
icon
id
keybind
name
on
Select?
on
Unselect?
selected
select
Elements
tool
type
variations?
vue?
selected
Methods
delete
select
trigger
unselect
Constructors
constructor
new
Mode
(
id
:
string
,
data
:
ModeOptions
)
:
Mode
Parameters
id
:
string
data
:
ModeOptions
Returns
Mode
Properties
Optional
category
category
?:
string
Optional
condition
condition
?:
ConditionResolvable
Optional
default_
keybind
default_keybind
?:
Keybind
Optional
default_
tool
default_tool
?:
string
description
description
:
string
hidden_
node_
types
hidden_node_types
:
string
[]
hide_
sidebars
hide_sidebars
:
boolean
hide_
status_
bar
hide_status_bar
:
boolean
hide_
toolbars
hide_toolbars
:
boolean
icon
icon
:
string
id
id
:
string
keybind
keybind
:
Keybind
name
name
:
string
Optional
on
Select
onSelect
?:
()
=>
void
Optional
on
Unselect
onUnselect
?:
()
=>
void
selected
selected
:
boolean
select
Elements
selectElements
:
boolean
tool
tool
:
string
type
type
:
string
Optional
variations
variations
?:
{
[
key
:
string
]:
{
description
?:
string
;
name
:
string
}
}
Optional
vue
vue
?:
Vue
Static
selected
selected
:
any
Methods
delete
delete
()
:
void
Returns
void
select
select
()
:
void
Selects the mode
Returns
void
trigger
trigger
()
:
void
Activates the mode
Returns
void
unselect
unselect
()
:
void
Unselects the mode
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
category
condition
default_
keybind
default_
tool
description
hidden_
node_
types
hide_
sidebars
hide_
status_
bar
hide_
toolbars
icon
id
keybind
name
on
Select
on
Unselect
selected
select
Elements
tool
type
variations
vue
selected
Methods
delete
select
trigger
unselect
Blockbench Reference Docs
Loading...
Selects the mode