SkBee icon indicating copy to clipboard operation
SkBee copied to clipboard

Bound & ExprBoundBlocks - Support Getting Specific Blocks

Open NotSoDelayed opened this issue 1 year ago • 1 comments

This PR enhances the Bound class to:

  • support getting specific type of blocks (also carried along to ExprBoundBlocks.class)
  • minor API change to Bound#getBlocks() where it returns an empty List instead of null in case if the associated world is not loaded

NotSoDelayed avatar Jul 23 '24 07:07 NotSoDelayed

At this time I would rather not implement this. Bukkit is planning to move away from the Material class. They're hoping to get that change out soon with implementing their new BlockType/ItemType. That change alone is going to break so much of Skript/SkBee, that I'd rather not add another thing to that list.

ShaneBeee avatar Jul 23 '24 07:07 ShaneBeee