{
   "format_version":"1.20.80",
   "minecraft:block":{
      "description":{
         "identifier":"sgs_farm:ivy",
         "menu_category":{
            "category":"construction",
            "group":"itemGroup.name.planks"
         },
         "traits":{
            "minecraft:placement_direction":{
               "enabled_states":[
                  "minecraft:cardinal_direction"
               ]
            }
         },
         "states":{
            "sgs_farm:variant":[
               0,
               1,
               2,
               3
            ]
         }
      },
      "components":{
         "minecraft:collision_box":false,
		 "minecraft:geometry":{
            "identifier":"geometry.sgs_farm_ivy"
         },
         "minecraft:custom_components":[
            "sgs_farm:variant"
         ],
         "minecraft:display_name":"Decorative Ivy\n§o§2Crops & Farms§r",
         "minecraft:destructible_by_mining":{
            "seconds_to_destroy":0.1
         },
         "minecraft:material_instances":{
            "*":{
               "texture":"sgs_farm_ivy_1",
               "render_method":"alpha_test"
            }
         }
      },
      "permutations":[
         {
            "condition":"q.block_state('sgs_farm:variant') == 0 ",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "texture":"sgs_farm_ivy_1",
                     "render_method":"alpha_test"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:variant') == 1 ",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "texture":"sgs_farm_ivy_2",
                     "render_method":"alpha_test"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:variant') == 2 ",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "texture":"sgs_farm_ivy_3",
                     "render_method":"alpha_test"
                  }
               }
            }
         },
		 {
            "condition":"q.block_state('sgs_farm:variant') == 3 ",
            "components":{
               "minecraft:material_instances":{
                  "*":{
                     "texture":"sgs_farm_ivy_4",
                     "render_method":"alpha_test"
                  }
               }
            }
         },
         {
            "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
                  ]
               }
            }
         }
      ]
   }
}