Fabric API

Fabric API

152M Downloads

Dynamic Dependent ItemStack Attributes

PepperCode1 opened this issue ยท 0 comments

commented

Someone has a use case that involves adding an attribute only if another component passes a check, for a different mod's item. An equivalent scenario that we could make a test case for would be making a bundle deal more damage only if it is not empty. Enchantments already work in a very similar way, so we could add an event to where enchantments are resolved to attributes to cover this use case.