if(player.fireLevel >= 0 && player.isAlive()) {
        if(inv.getCurrentItem() != null && inv.getCurrentItem().itemID == 466 || inv.getOffhandItem() != null && inv.getOffhandItem().itemID == 466) {
            var Bomb = world.spawnEntity("Bomb",pos.x,pos.y,pos.z)
            Bomb.setFireLevel(100)
            inv.consumeItem(466)
        }
}
