Group Updates - 1.2.3
📦 PacketBlocks — v1.2.3 Group Updates
📌 What’s New
This release enhances the PacketBlocks API by adding support for adding and removing blocks from existing PacketBlockGroup instances. These new methods make it significantly easier to modify block groups after creation.
✅ Highlights
- Added methods in
PacketBlockManagerto:- Add multiple blocks to a group (
addBlocksToGroup(...)) - Add single blocks to a group (
addBlockToGroup(...)) - Remove multiple blocks from a group (
removeBlocksFromGroup(...)) - Remove single blocks from a group (
removeBlockFromGroup(...))
- Add multiple blocks to a group (
🧠 Why This Matters
Previously, block groups were static after creation. With this update, developers can dynamically modify groups at runtime!