Skip to content

Make it possible to define multiple selectionRules for a block#2987

Draft
DellieDelta wants to merge 2 commits intoPixelGuys:masterfrom
DellieDelta:selection-rule-to-selection-rules
Draft

Make it possible to define multiple selectionRules for a block#2987
DellieDelta wants to merge 2 commits intoPixelGuys:masterfrom
DellieDelta:selection-rule-to-selection-rules

Conversation

@DellieDelta
Copy link
Copy Markdown
Contributor

@DellieDelta DellieDelta commented Apr 27, 2026

Related: #2983

To make both the selectionRules .toolEffective and .placeable possible on the same block, in preparation for adding buckets (#627)

Also rename it to selectionCapabilities, because it's clearer that any being true will lead to the block being selected

zon.get() needs to be able to convert to the type ?[]SelectionCapability (array of enums) which it currently can't do, so that'll need to be implemented in another PR before this can undrafted :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant