Skip to content

Conversation

4everTheOne
Copy link

This PR introduces a new method to the org.bukkit.block.data.Bisected interface:

default boolean isSingleBlock() {
    return false;
}

Purpose

The method allows plugins and internal logic to differentiate between bisected blocks that occupy a single block space (e.g., trapdoors, stairs) and those that span two vertical blocks (e.g., doors, tall plants).

Behavior

  • Returns true for trapdoor and stairs blocks
  • Returns false for other blocks like doors and double-height plants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

1 participant