{
   "format_version":"1.21.60",
   "minecraft:block":{
      "description":{
         "identifier":"sgs_farm:keg_bamboo_mb",
                  "menu_category":{
            "category":"none",
            "is_hidden_in_commands":false
         },
         "traits":{
            "minecraft:placement_direction":{
               "enabled_states":[
                  "minecraft:cardinal_direction"
               ]
            }
         },
         "states":{
            "sgs_farm:multiblock_sections":[
               "none",
               "bottom_northwest",
               "bottom_northeast",
               "bottom_southeast",
               "bottom_southwest",
               "top_northwest",
               "top_northeast",
               "top_southeast",
               "top_southwest"
            ]
         }
      },
      "components":{
         "minecraft:map_color": "#e5e533",
         "minecraft:loot": "loot_tables/sgs/farm/blocks/mb/keg_bamboo.json",
		 "minecraft:geometry":{
            "identifier":"geometry.sgs_farm_fun_vat",
            "bone_visibility":{
               "bottom_northwest":"q.block_state('sgs_farm:multiblock_sections') == 'bottom_northwest'",
			   "bottom_northwest_tap":"q.block_state('sgs_farm:multiblock_sections') == 'bottom_northwest'",
			   "bottom_northwest_tap_handle":"q.block_state('sgs_farm:multiblock_sections') == 'bottom_northwest'",
			   
               "bottom_northeast":"q.block_state('sgs_farm:multiblock_sections') == 'bottom_northeast'",
               "bottom_southeast":"q.block_state('sgs_farm:multiblock_sections') == 'bottom_southeast'",
               "bottom_southwest":"q.block_state('sgs_farm:multiblock_sections') == 'bottom_southwest'",
               "top_northwest":"q.block_state('sgs_farm:multiblock_sections') == 'top_northwest'",
               "top_northeast":"q.block_state('sgs_farm:multiblock_sections') == 'top_northeast'",
               "top_southeast":"q.block_state('sgs_farm:multiblock_sections') == 'top_southeast'",
               "top_southwest":"q.block_state('sgs_farm:multiblock_sections') == 'top_southwest'"
            }
         },
		 "minecraft:custom_components":[
            "sgs_farm:multiblock"
         ],
         "tag:sgs_farm_multiblock":{
            
         },
         "minecraft:display_name":"Bamboo Vat Block\n§o§2Crops & Farms§r",
         "minecraft:destructible_by_mining":{
                "seconds_to_destroy": 1.5,
                "item_specific_speeds":[
                  {"item":{"tags":"query.all_tags('minecraft:is_axe', 'minecraft:wooden_tier')"},"destroy_speed":0.8},
                  {"item":{"tags":"query.all_tags('minecraft:is_axe', 'minecraft:stone_tier')"},"destroy_speed":0.6},
                  {"item":{"tags":"query.all_tags('minecraft:is_axe', 'minecraft:iron_tier')"},"destroy_speed":0.5},
                  {"item":{"tags":"query.all_tags('minecraft:is_axe', 'minecraft:golden_tier')"},"destroy_speed":0.4},
                  {"item":{"tags":"query.all_tags('minecraft:is_axe', 'minecraft:diamond_tier')"},"destroy_speed":0.4},
                  {"item":{"tags":"query.all_tags('minecraft:is_axe', 'minecraft:netherite_tier')"},"destroy_speed":0.3}
                ]
            },
         "minecraft:material_instances":{
            "*":{
               "texture":"sgs_farm_vat_bamboo",
               "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,
                     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
                  ]
               }
            }
         }
      ]
   }
}