{
  "format_version": "1.16.0",
  "minecraft:block": {
    "description": {
      "identifier": "exocraft:test_block",
      "register_to_creative_menu": true
    },
    "components": {
      "minecraft:material_instances": {
        "top": {
          "texture": "test_block_top",
          "render_method": "alpha_test"
        },
        "side": {
          "texture": "test_block_side",
          "render_method": "alpha_test"
        },
        "down": {
          "texture": "test_block_top",
          "render_method": "alpha_test"
        }
      },
      "minecraft:entity_collision": {
        "origin": [-8.0, 0.0, -8.0],
        "size": [16, 16, 16]
      },
      "minecraft:pick_collision": {
        "origin": [-8.0, 0.0, -8.0],
        "size": [16, 16, 16]
      },
      "minecraft:loot": "loot_tables/blocks/test_block.json",
      "minecraft:destroy_time": 0.1,
      "minecraft:immovable": false,
      "minecraft:explosion_resistance": 1,
      "minecraft:rotation": [0, 0, 0],
      "minecraft:block_light_absorption": 0,
      "minecraft:block_light_emission": 0.0,
	  "minecraft:on_interact": {
	    "condition": "(query.get_equipped_item_name('main_hand') == 'flint_and_steel') || (query.get_equipped_item_name('main_hand') == 'fire_charge')",
		"event": "exocraft:event_test"
	  },
      "minecraft:map_color": "#000000"
    },
    "events": {
	  "exocraft:event_ignition": {
	    "set_block": { "block_type": "minecraft:air" },
		"run_command": {
	      "command": [
	        "playsound random.fuse @a",
	        "summon exocraft:test_block ~~~"
          ],
	      "target": "self"
	    }
	  }
    }
  }
}