mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Add extra attachable presets
This commit is contained in:
parent
22d2f23e69
commit
a88d2b4c74
@ -654,11 +654,39 @@ BARS.defineActions(function() {
|
||||
showPresetMenu(event) {
|
||||
new Menu([
|
||||
{
|
||||
name: 'Item',
|
||||
name: 'Main Hand',
|
||||
icon: 'build',
|
||||
click: () => {
|
||||
this.binding = 'q.item_slot_to_bone_name(c.item_slot)';
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'Right Hand',
|
||||
icon: 'build',
|
||||
click: () => {
|
||||
this.binding = '\'rightitem\'';
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'Left Hand',
|
||||
icon: 'build',
|
||||
click: () => {
|
||||
this.binding = '\'leftitem\'';
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'Body',
|
||||
icon: 'build',
|
||||
click: () => {
|
||||
this.binding = '\'body\'';
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'Head',
|
||||
icon: 'build',
|
||||
click: () => {
|
||||
this.binding = '\'head\'';
|
||||
}
|
||||
}
|
||||
]).show(event.target);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user