{
  "format_version": "1.16.100",
  "minecraft:block": {
    "description": {
      "identifier": "darkgato:glazed_layer"
    },
    "components": {
      "minecraft:material_instances": {
        "top": {
          "texture": "glazed_layer",
          "render_method": "opaque"
        },
        "side": {
          "texture": "glazed_layer_side",
          "render_method": "alpha_test"
        }
      },
      "minecraft:geometry": "geometry.glazed_layer",
      "minecraft:loot": "loot_tables/air",
      "minecraft:block_light_absorption": 0,
      "minecraft:destroy_time": 0.2,
      "minecraft:explosion_resistance": 0,
      "minecraft:pick_collision": {
        "size": [ 16, 2, 16 ],
        "origin": [ -8, 0, -8 ]
      },
      "minecraft:entity_collision": false,
      "minecraft:on_interact": {
        "condition": "query.get_equipped_item_name == 'bucket'",
        "event": "pick_up"
      }
    },
    "events": {
      "pick_up": {
        "set_block": {
          "block_type": "minecraft:air"
        },
        "run_command": {
          "command": [
            "playsound bucket.powder.snow @a[r=8]"
          ]
        },
        "spawn_loot": {
          "table": "loot_tables/blocks/bucket_glazed"
        }
      }
    }
  }
}