add utils to Integration and IntegrationManager to make them more powerful #60
No reviewers
Labels
No labels
Area-Assets
Area-Backend
Area-Conduits
Area-Datapacks
Area-Lang
Area-Mod Compat
Area-Parity
Area-Rendering
Good first issue
MC-1.19.2
MC-1.20.1
MC-1.20.4
MC-1.20.6
MC-1.21
MC-1.21.1
Modtoberfest
P-0-High
P-1-Medium
P-2-Low
Status-Awaiting Response
Status-Behind-Flag
Status-Blocked
Status-Cannot Reproduce
Status-Duplicate
Status-Help Wanted
Status-Incomplete Report
Status-Invalid
Status-Needs LTS Backport
Status-Needs Updating
Status-Stale
Status-To Implement
Status-Triage
Status-Wontfix
Status-Wontmerge
Type-Backport
Type-Bug
Type-Documentation
Type-Enhancement
Type-Question
Type-RFC
Type-Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Team-EnderIO/EnderIO#60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/powerful_integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It's something I did for Tinkers Integration, but wanted to get feedback on this, as tinkers is on hold, during 1.19 port and this shouldn't cause any conflicts
Description
Utils to IntegrationManager:
noneMatch: can be used for denylisting things
anyMatch: for allowlisting, like if the direct glm should apply on an itemstack for specific tinkers tools
allMatch: I don't have an idea for that rn, but it might get a use and is just there to complete the set
forAll: Do something on all integrations: Like sending the GatherDataEvent or other things
Utils to Integration
addEventListener: with reference to relevant EventBuses
createData: has the GatherDataEvent, so not every Integration needs it's own EventListener
Checklist:
This is closed due to #61 for 1.19 being available
Pull request closed