{
  "format_version": "1.20.50",
  "minecraft:block": {
    "description": {
      "identifier": "nicothekid:clump_of_crimson_fungus",
      "menu_category": {
				"category": "nature",
        "group": "itemGroup.name.mushroom"
			},
			"states": {
				"nicothekid:block_rotation": [
				  0,
				  1,
					2,
					3,
					4,
					5
				]
			}
    },
    "components": {
      "minecraft:material_instances": {
        "*": {
          "texture": "nicothekid_clump_of_crimson_fungus",
          "render_method": "alpha_test",
          "ambient_occlusion": true,
          "face_dimming": true
        }
      },
      "minecraft:geometry": "geometry.block.nicothekid_clump_of_crimson_fungus",
      "minecraft:map_color": "#A42429",
      "minecraft:breathability": "air",
      "minecraft:placement_filter": {
        "conditions": [
          {
            "block_filter": [
              {
                "tags": "query.any_tag('custom_netherrack')"
              },
              {
                "tags": "query.any_tag('crimsoned_stones')"
              },
              {
                "tags": "query.any_tag('crimsoned_woods')"
              },
              {
                "tags": "query.any_tag('netherrack')"
              },
              {
                "tags": "query.any_tag('warped_stones')"
              },
              {
                "tags": "query.any_tag('warped_woods')"
              },
              "minecraft:crimson_hyphae",
              "minecraft:crimson_nylium",
              "minecraft:crimson_stem",
              "minecraft:nether_wart_block",
              "minecraft:netherrack",
              "minecraft:shroomlight",
              "minecraft:stripped_crimson_hyphae",
              "minecraft:stripped_crimson_stem",
              "minecraft:stripped_warped_hyphae",
              "minecraft:stripped_warped_stem",
              "minecraft:warped_hyphae",
              "minecraft:warped_nylium",
              "minecraft:warped_stem",
              "minecraft:warped_wart_block"
            ],
            "allowed_faces": [
              "up"
            ]
          }
        ]
      },
      "minecraft:collision_box": {
        "origin": [ -8, 0, -8 ],
        "size": [ 16, 12, 16 ]
      },
      "minecraft:selection_box": {
        "origin": [ -8, 0, -8 ],
        "size": [ 16, 12, 16 ]
      },
      "minecraft:light_dampening": 0,
      "minecraft:light_emission": 0,
      "minecraft:friction": 0.4,
      "minecraft:flammable": false,
      "minecraft:destructible_by_explosion": true,
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 0.1
      },
      "minecraft:loot": "loot_tables/nicos_plant_expansion/blocks/nicothekid_clump_of_crimson_fungus.json",
      "minecraft:on_player_placing": {
				"event": "nicothekid:placing_rotation"
			},
      "minecraft:transformation": {
        "rotation": [ 0, 0, 0 ]
      },
      
      "tag:clump_of_crimson_fungus": {},
      "tag:clump_of_mushrooms": {},
      "tag:custom_plant": {},
      "tag:custom_fungus": {},
      "tag:plant": {}
    },
    "permutations": [
      {
        "condition": "query.block_state('nicothekid:block_rotation') == 0",
        "components": {
          "minecraft:transformation": {
            "rotation": [ 0, 0, 0 ]
          }
        }
      },
      {
        "condition": "query.block_state('nicothekid:block_rotation') == 1",
        "components": {
          "minecraft:transformation": {
            "rotation": [ 0, 0, 0 ]
          }
        }
      },
      {
        "condition": "query.block_state('nicothekid:block_rotation') == 2",
        "components": {
          "minecraft:transformation": {
            "rotation": [ 0, 180, 0 ]
          }
        }
      },
      {
        "condition": "query.block_state('nicothekid:block_rotation') == 3",
        "components": {
          "minecraft:transformation": {
            "rotation": [ 0, 0, 0 ]
          }
        }
      },
      {
        "condition": "query.block_state('nicothekid:block_rotation') == 4",
        "components": {
          "minecraft:transformation": {
            "rotation": [ 0, 270, 0 ]
          }
        }
      },
      {
        "condition": "query.block_state('nicothekid:block_rotation') == 5",
        "components": {
          "minecraft:transformation": {
            "rotation": [ 0, 90, 0 ]
          }
        }
      }
    ],
    "events": {
      "nicothekid:placing_rotation": {
				"set_block_state": {
					"nicothekid:block_rotation": "query.cardinal_facing_2d"
				}
			}
    }
  }
}
