{
  "format_version": "1.16.100",
  "minecraft:block": {
    "description": {
      "identifier": "ms:lumia950xl",
      "category": "Nature",
      "properties": {
        "block:rotation": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ]
      }
    },
    "components": {
      "minecraft:loot": "loot_tables/blocks/ms_lumia950xl.json",
      "minecraft:destroy_time": 0.3,
      "minecraft:friction": 0.7,
      "minecraft:map_color": "#FFFFFF",
      "minecraft:explosion_resistance": 1.0,
      "minecraft:flammable": {
        "flame_odds": 1,
        "burn_odds": 1
      },
      "minecraft:block_light_absorption": 0.0,
      "minecraft:block_light_emission": 0.0,
      "minecraft:on_player_placing": {
        "event": "update_rotation"
      },
      "minecraft:on_placed": {
        "event": "size:block",
        "target": "self"
      },
      "minecraft:material_instances": {
        "*": {
          "texture": "ms_lumia950xl",
          "render_method": "blend"
        }
      },
      "minecraft:geometry": "geometry.ms_lumia950xl",
      "minecraft:pick_collision": {
        "origin": [
          -8.0,
          0,
          -8.0
        ],
        "size": [
          16,
          16,
          16
        ]
      },
      "minecraft:entity_collision": false,
      "minecraft:on_player_destroyed": {
        "event": "remove:block",
        "target": "self"
      },
      "minecraft:on_step_on": {
        "event": "step:on",
        "target": "self"
      },
      "minecraft:on_step_off": {
        "event": "step:off",
        "target": "self"
      },
      "minecraft:random_ticking": {
        "on_tick": {
          "event": "random:tick",
          "target": "self"
        }
      },
      "minecraft:on_fall_on": {
        "event": "fall:on",
        "target": "self"
      },
      "minecraft:ticking": {
        "looping": true,
        "range": [
          10,
          10
        ],
        "on_tick": {
          "event": "on_tick",
          "target": "self"
        }
      },
      "minecraft:creative_category": {
        "category": "nature"
      }
    },
    "permutations": [
      {
        "condition": "query.block_property('block:rotation') == 2",
        "components": {
          "minecraft:rotation": [
            0,
            0,
            0
          ]
        }
      },
      {
        "condition": "query.block_property('block:rotation') == 3",
        "components": {
          "minecraft:rotation": [
            0,
            -180,
            0
          ]
        }
      },
      {
        "condition": "query.block_property('block:rotation') == 4",
        "components": {
          "minecraft:rotation": [
            0,
            90,
            0
          ]
        }
      },
      {
        "condition": "query.block_property('block:rotation') == 5",
        "components": {
          "minecraft:rotation": [
            0,
            -90,
            0
          ]
        }
      }
    ],
    "events": {
      "update_rotation": {
        "set_block_property": {
          "block:rotation": "query.cardinal_facing_2d"
        }
      },
      "size:block": {
        "run_command": {
          "command": []
        }
      },
      "remove:block": {},
      "step:on": {},
      "step:off": {},
      "random:tick": {},
      "on_tick": {},
      "fall:on": {}
    }
  }
}