{
  "format_version": "1.21.20",
  "minecraft:block": {
    "description": {
      "identifier": "lv_te:ore_generator",
      "menu_category": {
        "category": "construction"
      },
      "traits": {
        "minecraft:placement_direction": {
          "enabled_states": [
            "minecraft:cardinal_direction"
          ]

        }
      }
    },
    "components": {
      "minecraft:destructible_by_mining": false,
      "minecraft:collision_box": true,
      "minecraft:selection_box": true,
      "minecraft:geometry": "geometry.lv_te.ore_generator",
      "minecraft:material_instances": {
        "*": {
          "texture": "lv_te:ore_generator",
          "render_method": "alpha_test"
        }
      }
    },
    "permutations": [
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'north'",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							180,
							0
						]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'south' ",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							90,
							0
						]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'east' ",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							90,
							0
						]
					}
				}
			},
			{
				"condition": "q.block_state('minecraft:cardinal_direction') == 'west' ",
				"components": {
					"minecraft:transformation": {
						"rotation": [
							0,
							-90,
							0
						]
					}
				}
			}
		]
  }
}