{
  "format_version": "1.16.0",
  "minecraft:block": {
    "description": {
      "identifier": "loled:setup_table_blue_left",
      "properties": {
        "loled:face": [
          1,
          2,
          3,
          4,
          5,
          6
        ]
      }
    },
    "components": {
      "minecraft:material_instances": {
        "*": {
          "texture": "table_blue",
          "render_method": "opaque"
        }
      },
      "minecraft:pick_collision": {
        "origin": [
          -8,
          0,
          -8
        ],
        "size": [
          16,
          16,
          16
        ]
      },
      "minecraft:creative_category": {
        "group": "itemGroup.name.setup_tables",
        "category": "construction"
      },
      "minecraft:loot": "loot_tables/tables/setup_table_blue_left.json",
      "minecraft:geometry": "geometry.table_left",
      "minecraft:destroy_time": 1,
      "minecraft:block_light_absorption": 2,
      "minecraft:entity_collision": {
        "origin": [
          -8,
          0,
          -8
        ],
        "size": [
          16,
          16,
          16
        ]
      },
      "minecraft:on_player_placing": {
        "event": "loled:place"
      },
      "minecraft:friction": 0.6,
      "minecraft:map_color": "#00ff00",
      "minecraft:flammable": {
        "flame_odds": 0,
        "burn_odds": 0
      },
      "minecraft:block_light_emission": 0
    },
    "events": {
      "loled:place": {
        "set_block_property": {
          "loled:face": "(query.cardinal_player_facing)"
        }
      }
    },
    "permutations": [
      {
        "condition": "query.block_property('loled:face') == 2",
        "components": {
          "minecraft:block_light_emission": 0
        }
      },
      {
        "condition": "query.block_property('loled:face') == 3",
        "components": {
          "minecraft:rotation": [
            0,
            180,
            0
          ]
        }
      },
      {
        "condition": "query.block_property('loled:face') == 4",
        "components": {
          "minecraft:rotation": [
            0,
            90,
            0
          ]
        }
      },
      {
        "condition": "query.block_property('loled:face') == 5",
        "components": {
          "minecraft:rotation": [
            0,
            270,
            0
          ]
        }
      }
    ]
  }
}