{
  "format_version": "1.26.30",
  "minecraft:block": {
    "description": {
      "identifier": "minecraft:shelf_mushroom",
      "internal_vanilla_data": {
        "block_id": 1452,
        "material": "solid_plant",
        "block_archetype": {
          "wall_foliage_block": {
            "size_count": 2,
            "is_bonemealable": true,
            "bounciness": 0.75,
            "fall_damage_multiplier": 0.5
          }
        }
      },
      "menu_category": {
        "category": "nature"
      }
    },
    "components": {
      "minecraft:collision_box": {
        "origin": [-5, 3, 1],
        "size": [10, 7, 7]
      },
      "minecraft:connection_rule": {
        "accepts_connections_from": "none"
      },
      "minecraft:destructible_by_explosion": {
        "explosion_resistance": 0.0
      },
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 0.0
      },
      "minecraft:destruction_particles": {
        "particle_count": 48
      },
      "minecraft:geometry": {
        "identifier": "minecraft:geometry.shelf_mushroom_small",
        "culling": "minecraft:culling.shelf_mushroom_small"
      },
      "minecraft:liquid_detection": {
        "detection_rules": [
          {
            "liquid_type": "water",
            "can_contain_liquid": false,
            "on_liquid_touches": "popped"
          }
        ]
      },
      "minecraft:loot": "loot_tables/blocks/shelf_mushroom_growth_0.json",
      "minecraft:precipitation_interactions": {
        "precipitation_behavior": "none"
      },
      "minecraft:map_color": "#a17453",
      "minecraft:material_instances": {
        "small": {
          "texture": "shelf_mushroom_small",
          "render_method": "alpha_test_single_sided",
          "ambient_occlusion": 0.0
        }
      },
      "minecraft:movable": {
        "movement_type": "popped"
      },
      "minecraft:selection_box": {
        "origin": [-5, 7, 1],
        "size": [10, 3, 7]
      }
    },
    "permutations": [
      {
        "condition": "query.block_state('growth') == 0",
        "components": {
          "minecraft:loot": "loot_tables/blocks/shelf_mushroom_growth_0.json"
        }
      },
      {
        "condition": "query.block_state('growth') == 1",
        "components": {
          "minecraft:loot": "loot_tables/blocks/shelf_mushroom_growth_1.json"
        }
      },
      {
        "condition": "query.block_state('growth') == 0 && query.block_state('minecraft:cardinal_direction') == 'south'",
        "components": {
          "minecraft:transformation": { "rotation": [0, 180, 0] }
        }
      },
      {
        "condition": "query.block_state('growth') == 0 && query.block_state('minecraft:cardinal_direction') == 'west'",
        "components": {
          "minecraft:transformation": { "rotation": [0, 90, 0] }
        }
      },
      {
        "condition": "query.block_state('growth') == 0 && query.block_state('minecraft:cardinal_direction') == 'east'",
        "components": {
          "minecraft:transformation": { "rotation": [0, 270, 0] }
        }
      },
      {
        "condition": "query.block_state('growth') == 1 && query.block_state('minecraft:cardinal_direction') == 'north'",
        "components": {
          "minecraft:collision_box": {
            "origin": [-7, 4, -2],
            "size": [14, 7, 10]
          },
          "minecraft:selection_box": {
            "origin": [-7, 6, -2],
            "size": [14, 5, 10]
          },
          "minecraft:geometry": {
            "identifier": "minecraft:geometry.shelf_mushroom_large",
            "culling": "minecraft:culling.shelf_mushroom_large"
          },
          "minecraft:material_instances": {
            "large": {
              "texture": "shelf_mushroom_large",
              "render_method": "alpha_test_single_sided",
              "ambient_occlusion": 0.0
            }
          }
        }
      },
      {
        "condition": "query.block_state('growth') == 1 && query.block_state('minecraft:cardinal_direction') == 'south'",
        "components": {
          "minecraft:collision_box": {
            "origin": [-7, 4, -2],
            "size": [14, 7, 10]
          },
          "minecraft:selection_box": {
            "origin": [-7, 6, -2],
            "size": [14, 5, 10]
          },
          "minecraft:transformation": { "rotation": [0, 180, 0] },
          "minecraft:geometry": {
            "identifier": "minecraft:geometry.shelf_mushroom_large",
            "culling": "minecraft:culling.shelf_mushroom_large"
          },
          "minecraft:material_instances": {
            "large": {
              "texture": "shelf_mushroom_large",
              "render_method": "alpha_test_single_sided",
              "ambient_occlusion": 0.0
            }
          }
        }
      },
      {
        "condition": "query.block_state('growth') == 1 && query.block_state('minecraft:cardinal_direction') == 'west'",
        "components": {
          "minecraft:collision_box": {
            "origin": [-7, 4, -2],
            "size": [14, 7, 10]
          },
          "minecraft:selection_box": {
            "origin": [-7, 6, -2],
            "size": [14, 5, 10]
          },
          "minecraft:transformation": { "rotation": [0, 90, 0] },
          "minecraft:geometry": {
            "identifier": "minecraft:geometry.shelf_mushroom_large",
            "culling": "minecraft:culling.shelf_mushroom_large"
          },
          "minecraft:material_instances": {
            "large": {
              "texture": "shelf_mushroom_large",
              "render_method": "alpha_test_single_sided",
              "ambient_occlusion": 0.0
            }
          }
        }
      },
      {
        "condition": "query.block_state('growth') == 1 && query.block_state('minecraft:cardinal_direction') == 'east'",
        "components": {
          "minecraft:collision_box": {
            "origin": [-7, 4, -2],
            "size": [14, 7, 10]
          },
          "minecraft:selection_box": {
            "origin": [-7, 6, -2],
            "size": [14, 5, 10]
          },
          "minecraft:transformation": { "rotation": [0, 270, 0] },
          "minecraft:geometry": {
            "identifier": "minecraft:geometry.shelf_mushroom_large",
            "culling": "minecraft:culling.shelf_mushroom_large"
          },
          "minecraft:material_instances": {
            "large": {
              "texture": "shelf_mushroom_large",
              "render_method": "alpha_test_single_sided",
              "ambient_occlusion": 0.0
            }
          }
        }
      }
    ]
  }
}
