{
 "format_version": "1.20.50",
 "minecraft:block": {
  "description": {
    "identifier": "vatonage:coal_roost",
	  "traits": {
      "minecraft:placement_direction": {
        "enabled_states": ["minecraft:cardinal_direction"],
        "y_rotation_offset": 180
      }
    }
 },
 "components": {
   "tag:minecraft:is_hatchet_item_destructible": {},
"minecraft:display_name": "%roost.roost.block\n§9§oOre Chickens§f",
   "tag:wood": {},
   "minecraft:flammable": true,
   "minecraft:map_color": "#805e36",
   "minecraft:loot": "loot_tables/ore_chickens/roost/roost.json",
   "minecraft:destructible_by_explosion":{
     "explosion_resistance": 2.0
   },
   "minecraft:destructible_by_mining":{
     "seconds_to_destroy": 2.0
   },
   
   "minecraft:geometry": "geometry.vatonage.roost_chicken",
   "minecraft:material_instances": {
      "*": {
        "texture": "vatonage:coal_chicken",
        "render_method": "opaque"
      }
   },
   "minecraft:collision_box": true,
   "minecraft:selection_box": true
 },
 "events": {},
 "permutations": [
   {
     "condition": "q.block_state('minecraft:cardinal_direction') == 'north'",
     "components": {
       "minecraft:transformation":{ 
         "rotation": [ 0, 0, 0]
       }
     }
   },
   {
     "condition": "q.block_state('minecraft:cardinal_direction') == 'south'",
     "components": {
       "minecraft:transformation":{ 
         "rotation": [ 0, 180, 0]
       }
     }
   },
   {
     "condition": "q.block_state('minecraft:cardinal_direction') == 'west'",
     "components": {
       "minecraft:transformation":{ 
         "rotation": [ 0, 90, 0]
       }
     }
   },
   {
     "condition": "q.block_state('minecraft:cardinal_direction') == 'east'",
     "components": {
       "minecraft:transformation":{ 
         "rotation": [ 0, 270, 0]
       }
     }
   }
  ]
 }
}