Use the amulet.api.selection package
2.0The amulet.api.selection package provides classes for managing selection boxes and groups of selection boxes.
Key Characteristics:
- Immutability: Both selection box classes and selection group classes are immutable. Any operation that modifies a selection will return a new instance rather than modifying the existing one.