{
  "format_version": "1.20.50",
  "minecraft:block": {
    "description": {
      "identifier": "nicothekid:mossy_leaves",
      "menu_category": {
				"category": "nature",
				"group": "itemGroup.name.leaves"
			}
    },
    "components": {
      "minecraft:material_instances": {
        "*": {
          "texture": "nicothekid_mossy_leaves",
          "render_method": "blend",
          "ambient_occlusion": true,
          "face_dimming": true
        }
      },
      "minecraft:unit_cube": {},
      "minecraft:map_color": "#70922D",
      "minecraft:breathability": "air",
      "minecraft:light_dampening": 15,
      "minecraft:light_emission": 0,
      "minecraft:friction": 0.4,
      "minecraft:flammable": {
        "catch_chance_modifier": 5,
        "destroy_chance_modifier": 20
      },
      "minecraft:destructible_by_explosion": true,
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 0.1
      },
      "minecraft:loot": "loot_tables/empty.json",
      "minecraft:on_player_destroyed": {
        "event": "nicothekid:mossy_leaves_destroyed"
      },
      
      "tag:mossy_leaves": {},
      "tag:custom_leaves": {},
      "tag:leaves": {},
      "tag:plant": {}
    },
    "events": {
      "nicothekid:mossy_leaves_destroyed": {
				"sequence": [
					{
						"condition": "query.get_equipped_item_name == 'shears'",
						"spawn_loot": {
							"table": "loot_tables/mythical_biomes/blocks/nicothekid_mossy_leaves_sheared.json"
						}
					},
					{
						"condition": "query.get_equipped_item_name != 'shears'",
						"randomize": [
							{
								"weight": 10,
								"spawn_loot": {
									"table": "loot_tables/mythical_biomes/blocks/nicothekid_mossy_leaves.json"
								}
							},
							{
								"weight": 10
							}
						]
					}
				]
			}
    }
  }
}
