{
  "format_version": "1.21.80",
  "minecraft:block": {
    "description": {
      "identifier": "mnp_ci:palm_stairs",
      "menu_category": {
        "category": "none"
      },
      "traits": {
        "minecraft:placement_position": {
          "enabled_states": ["minecraft:vertical_half"]
        },
        "minecraft:placement_direction": {
          "enabled_states": ["minecraft:cardinal_direction"]
        }
      },
      "states": {
        "mnp_ci:type": [1, 2, 3, 4, 5]
      }
    },
    "components": {
      "minecraft:liquid_detection": {
        "detection_rules": [
          {
            "liquid_type": "water",
            "can_contain_liquid": true, // Waterloggable
            "on_liquid_touches": "no_reaction" // Water flows through the block like air
          }
        ]
      },
      "minecraft:custom_components": ["mnp_ci:stairs"],
      "minecraft:item_visual": {
        "geometry": {
          "identifier": "geometry.mnp_ci.stair",
          "bone_visibility": {
            "bot_ne": true,
            "bot_nw": true,
            "bot_se": true,
            "bot_sw": true,
            "top_ne": true,
            "top_nw": true,
            "top_se": false,
            "top_sw": false
          }
        },
        "material_instances": {
          "*": { "texture": "mnp_ci:palm_tree_planks" }
        }
      },
      "minecraft:material_instances": {
        "*": {
          "texture": "mnp_ci:palm_tree_planks",
          "render_method": "opaque"
        }
      },
      "minecraft:loot": "loot_tables/mnp_ci/palm_tree/palm_stairs.json",
      "minecraft:geometry": {
        "identifier": "geometry.mnp_ci.stair",
        "bone_visibility": {
          "bot_ne": true,
          "bot_nw": true,
          "bot_se": true,
          "bot_sw": true,
          "top_ne": true,
          "top_nw": true,
          "top_se": false,
          "top_sw": false
        }
      },
      "minecraft:flammable": {
        "destroy_chance_modifier": 20,
        "catch_chance_modifier": 5
      },
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 3,
        "item_specific_speeds": [
          {
            "destroy_speed": 1.5,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:wooden_tier')"
            }
          },
          {
            "destroy_speed": 0.75,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:stone_tier')"
            }
          },
          {
            "destroy_speed": 0.5,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:iron_tier')"
            }
          },
          {
            "destroy_speed": 0.25,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:golden_tier')"
            }
          },
          {
            "destroy_speed": 0.4,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:diamond_tier')"
            }
          },
          {
            "destroy_speed": 0.35,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:netherite_tier')"
            }
          }
        ]
      },
      "tag:mnp_ci:stairs": {},
      "tag:minecraft:is_pickaxe_item_destructible": {},
      "tag:stone": {},
      "minecraft:map_color": "#bfbb94"
    },
    "permutations": [
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom'",
        "components": {
          "minecraft:collision_box": {
            "origin": [-8, 0, -8],
            "size": [16, 8, 16]
          },
          "minecraft:selection_box": true
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top'",
        "components": {
          "minecraft:collision_box": {
            "origin": [-8, 8, -8],
            "size": [16, 8, 16]
          },
          "minecraft:selection_box": true
        }
      },

      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'north' && q.block_state('mnp_ci:type') == 1",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": false,
              "top_sw": false
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "north"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'south' && q.block_state('mnp_ci:type') == 1",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": false,
              "top_nw": false,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "south"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'east' && q.block_state('mnp_ci:type') == 1",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": false,
              "top_se": true,
              "top_sw": false
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "east"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'west' && q.block_state('mnp_ci:type') == 1",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": false,
              "top_nw": true,
              "top_se": false,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "west"]
              }
            ]
          }
        }
      },

      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'north' && q.block_state('mnp_ci:type') == 2",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": false,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "north", "west"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'south' && q.block_state('mnp_ci:type') == 2",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": false,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "south", "east"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'east' && q.block_state('mnp_ci:type') == 2",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": false
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "north", "east"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'west' && q.block_state('mnp_ci:type') == 2",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": false,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "south", "west"]
              }
            ]
          }
        }
      },

      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'north' && q.block_state('mnp_ci:type') == 3",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": false
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "north", "east"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'south' && q.block_state('mnp_ci:type') == 3",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": false,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "south", "west"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'east' && q.block_state('mnp_ci:type') == 3",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": false,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "south", "east"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'west' && q.block_state('mnp_ci:type') == 3",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": false,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down", "north", "west"]
              }
            ]
          }
        }
      },

      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'north' && q.block_state('mnp_ci:type') == 4",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": false,
              "top_nw": true,
              "top_se": false,
              "top_sw": false
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'south' && q.block_state('mnp_ci:type') == 4",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": false,
              "top_nw": false,
              "top_se": false,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'east' && q.block_state('mnp_ci:type') == 4",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": false,
              "top_nw": false,
              "top_se": true,
              "top_sw": false
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'west' && q.block_state('mnp_ci:type') == 4",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": false,
              "top_nw": false,
              "top_se": false,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down"]
              }
            ]
          }
        }
      },

      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'north' && q.block_state('mnp_ci:type') == 5",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": false,
              "top_se": false,
              "top_sw": false
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'south' && q.block_state('mnp_ci:type') == 5",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": false,
              "top_nw": false,
              "top_se": true,
              "top_sw": false
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'east' && q.block_state('mnp_ci:type') == 5",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": false,
              "top_se": false,
              "top_sw": false
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'bottom' && q.block_state('minecraft:cardinal_direction') == 'west' && q.block_state('mnp_ci:type') == 5",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": false,
              "top_nw": true,
              "top_se": false,
              "top_sw": false
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["down"]
              }
            ]
          }
        }
      },

      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'north' && q.block_state('mnp_ci:type') == 1",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": false,
              "bot_sw": false,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "north"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'south' && q.block_state('mnp_ci:type') == 1",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": false,
              "bot_nw": false,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "south"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'east' && q.block_state('mnp_ci:type') == 1",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": false,
              "bot_se": true,
              "bot_sw": false,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "east"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'west' && q.block_state('mnp_ci:type') == 1",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": false,
              "bot_nw": true,
              "bot_se": false,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "west"]
              }
            ]
          }
        }
      },

      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'north' && q.block_state('mnp_ci:type') == 2",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": false,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "north", "west"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'south' && q.block_state('mnp_ci:type') == 2",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": false,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "south", "east"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'east' && q.block_state('mnp_ci:type') == 2",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": false,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "south", "west"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'west' && q.block_state('mnp_ci:type') == 2",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": false,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "north", "east"]
              }
            ]
          }
        }
      },

      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'north' && q.block_state('mnp_ci:type') == 3",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": false,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "north", "east"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'south' && q.block_state('mnp_ci:type') == 3",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": false,
              "bot_nw": true,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "south", "west"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'east' && q.block_state('mnp_ci:type') == 3",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": false,
              "bot_se": true,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "south", "east"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'west' && q.block_state('mnp_ci:type') == 3",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": true,
              "bot_se": false,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up", "north", "west"]
              }
            ]
          }
        }
      },

      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'north' && q.block_state('mnp_ci:type') == 4",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": false,
              "bot_nw": true,
              "bot_se": false,
              "bot_sw": false,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'south' && q.block_state('mnp_ci:type') == 4",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": false,
              "bot_nw": false,
              "bot_se": false,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'east' && q.block_state('mnp_ci:type') == 4",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": false,
              "bot_nw": false,
              "bot_se": true,
              "bot_sw": false,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'west' && q.block_state('mnp_ci:type') == 4",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": false,
              "bot_nw": false,
              "bot_se": false,
              "bot_sw": true,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up"]
              }
            ]
          }
        }
      },

      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'north' && q.block_state('mnp_ci:type') == 5",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": false,
              "bot_se": false,
              "bot_sw": false,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'south' && q.block_state('mnp_ci:type') == 5",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": false,
              "bot_nw": false,
              "bot_se": true,
              "bot_sw": false,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'east' && q.block_state('mnp_ci:type') == 5",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": true,
              "bot_nw": false,
              "bot_se": false,
              "bot_sw": false,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up"]
              }
            ]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:vertical_half') == 'top' && q.block_state('minecraft:cardinal_direction') == 'west' && q.block_state('mnp_ci:type') == 5",
        "components": {
          "minecraft:geometry": {
            "identifier": "geometry.mnp_ci.stair",
            "bone_visibility": {
              "bot_ne": false,
              "bot_nw": true,
              "bot_se": false,
              "bot_sw": false,
              "top_ne": true,
              "top_nw": true,
              "top_se": true,
              "top_sw": true
            }
          },
          "minecraft:liquid_detection": {
            "detection_rules": [
              {
                "liquid_type": "water",
                "can_contain_liquid": true,
                "stops_liquid_flowing_from_direction": ["up"]
              }
            ]
          }
        }
      }
    ]
  }
}
