{
  "format_version": "1.21.0",
  "minecraft:block": {
    "description": {
      "identifier": "silverlabs:tent_panel_l",
      "traits": {
        "minecraft:placement_direction": {
          "enabled_states": ["minecraft:cardinal_direction"]
        }
      }
    },
    "components": {
      "minecraft:destructible_by_mining": { "seconds_to_destroy": 0.4 },
      "minecraft:destructible_by_explosion": { "explosion_resistance": 1.0 },
      "minecraft:map_color": "#547A4E",
      "minecraft:material_instances": {
        "*": {
          "texture": "tent_canvas",
          "render_method": "alpha_test"
        }
      },
      "minecraft:light_dampening": 1,
      "minecraft:geometry": "geometry.silverlabs.tent_panel_l"
    },
    "permutations": [
      {
        "condition": "query.block_state('minecraft:cardinal_direction') == 'south'",
        "components": {
          "minecraft:transformation": { "rotation": [0, 180, 0] }
        }
      },
      {
        "condition": "query.block_state('minecraft:cardinal_direction') == 'east'",
        "components": {
          "minecraft:transformation": { "rotation": [0, 90, 0] }
        }
      },
      {
        "condition": "query.block_state('minecraft:cardinal_direction') == 'west'",
        "components": {
          "minecraft:transformation": { "rotation": [0, 270, 0] }
        }
      }
    ]
  }
}
