{
   "format_version":"1.20.80",
   "minecraft:block":{
      "description":{
         "identifier":"sgs_farm:flower_meadow_oxeye_daisy",
         "menu_category":{
            "category":"none",
            "group":"none",
            "is_hidden_in_commands":false
         },
         "traits":{
            "minecraft:placement_direction":{
               "enabled_states":[
                  "minecraft:cardinal_direction"
               ]
            }
         },
         "states":{
            "sgs_farm:flower_sections":[
               0,
               1,
               2,
               3
            ]
         }
      },
      "components": {
			"minecraft:map_color": "#007c00",
			"minecraft:loot": "loot_tables/empty.json",
			"minecraft:collision_box": false,
         "minecraft:custom_components":[
            "sgs_farm:meadowflower"
         ],
		 "minecraft:display_name":"Oxeye Daisy Meadow Flower Block\n§dCreative§r\n§o§2Crops & Farms§r",
         "minecraft:geometry":{
            "identifier":"geometry.sgs_farm_dec_flower_meadow_m",
            "bone_visibility":{
               "flowers_section_northwest":"q.block_state('sgs_farm:flower_sections') >= 0",
               "flowers_section_northeast":"q.block_state('sgs_farm:flower_sections') > 0",
               "flowers_section_southeast":"q.block_state('sgs_farm:flower_sections') > 1",
               "flowers_section_southwest":"q.block_state('sgs_farm:flower_sections') > 2"
            }
         },
         "minecraft:light_dampening":0,
         "minecraft:placement_filter":{
            "conditions":[
               {
                  "allowed_faces":[
                     "up"
                  ],
                  "block_filter":[
                     {
                        "tags":"query.any_tag('grass','dirt')"
                     }
                  ]
               }
            ]
         },
         "minecraft:material_instances":{
            "*":{
               "face_dimming":true,
               "ambient_occlusion":false,
               "render_method":"alpha_test",
               "texture":"sgs_farm_flower_meadow_oxeye_daisy"
            }
         },
         "minecraft:selection_box":{
            "origin":[
               -8,
               0,
               -8
            ],
            "size":[
               16,
               16,
               16
            ]
         }
      },
      "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,
                     0,
                     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,
                     270,
                     0
                  ]
               }
            }
         }
      ]
   }
}