-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
No, not really. They are motivated, though:
Your documentation implies that you want to encourage data-driven integration where possible. Attachments are a (or perhaps the) way for NeoForge devs to save synchronized data to arbitrary entities. Data components are their rough equivalents for item stacks.
If these providers were available by default, I wouldn't have needed to write my plugin.
Describe the solution you'd like
Create 4 new default providers:
- An entity provider that accepts a Boolean attachment and a light level and returns the light level when the attached value is true
- An item provider that accepts a Boolean data component and a light level and returns the light level when the component's value is true
- An entity provider that accepts a Byte attachment and returns the attached value
- An item provider that accepts a Byte attachment and returns its value
Describe alternatives you've considered
These are trivial to implement, so I went ahead and did so (the one I needed, anyway).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request