Appends object to group to use in iterator and filtering functions like TagRegistry.getAllWith, etc.
primary tags to be added for object
Tag factory determines additional tags, which should be added for specific object in group.
Appends primary tags for object in group; regardless of whether object is in group or not, tags will be added.
primary tags to be added for object
do not append object to group
Iterates over existing common objects in group added via TagGroup.addCommonObject and collects objects matched predicate to list.
Gets or creates a new tag group to append tags for any objects.
Gets or creates a new tag group to append tags for any objects with generic type.
Fetches object tags in fixed order: primary tags added via
TagRegistry.addTagsFor, serialized tags from object _tags
property, tags added from TagRegistry.addTagFactory.
Removes object from group, so it no longer can be fetched via TagRegistry.getAllWith, etc.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Tag system allows you to assign tags to objects and put them into groups for further object search.
Since
2.0.4b38
Example
Use constant to define group in global scope to reuse/export it:
Example
Obtain tag group automatically via registry: