Class GroupKey
java.lang.Object
com.trevlar.menukit.window.GroupKey
A bulk-addressing group: a stable id plus a membership predicate over
Addresses. The per-group level of the cascade — a default declared at a
GroupKey applies to every address the predicate accepts, unless a
per-slot declaration overrides it.
Window-side, not creation-bound (RULED #2 property c)
Membership is evaluated against an address, so a group can bulk-address vanilla slots, created slots, elements, or panels alike — it is NOT a creation construct welded to a slot group. Membership is evaluated per-resolve, so an address that comes to match later (a slot that appears after the group was declared) joins automatically.Identity
Equality is byid alone (a predicate has no useful equality), so a
group is a stable handle you can re-declare against. Two GroupKeys with
the same id are the same group.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GroupKey
-
-
Method Details
-
id
public net.minecraft.resources.Identifier id() -
equals
-
hashCode
-
toString
-