// BlockEvents.rightClicked('minecraft:bedrock', (event) => {
//     event.player.swing("MAIN_HAND", true)
//     createui(event, event.player)
// })

// let createui = (event, player) => {
//     player.openChestGUI(Text.of(Text.red('Chemical Composer')), 3, gui => {
//         gui.playerSlots = false
//         gui.slot(1, 2, slot => {
//             slot.item = 'minecraft:diamond'
//             slot.leftClicked = e => {
//                 event.player.sendSystemMessage('§ayummers')
//             }
//         })
//         gui.slot(7, 1, slot => {
//             slot.item = 'minecraft:dead_bush'
//             slot.leftClicked = e => {
//                 event.player.sendSystemMessage('§4yuckers')
//             }
//         })
//     })
// }