-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.21] AttributeModifier
with the Same ResourceLocation
are deduplicated even across Attribute
s
#93
Comments
For problem 1, it's because |
|
@Dragon-Seeker The problem is having several The method provides a |
Ah, that is really odd and frankly concerning as the
|
AttributeModifier
with the Same ResourceLocation
are deduplicated even across Attribute
s
The tooltip modification part is there to help with the missing Attribute tooltip customization from Forge/NeoForge. I think there is a PR regarding this in NeoForge currently? |
If this PR is completed, I wouldn't need to use the odd attribute tooltip method |
The accidental deduplication of modifiers has been fixed and the tooltip issue can be fixed by using mixin within Minecraft itemstack method to adjust the tooltip component yourself. Overall this issue is being closed as fixed as best can be. |
2 Bugs found for Accessories / CC layer:
HashMap<ResourceLocation, ...>
somewhere)getAttributesTooltip
should receive the original attribute tooltips so that it can modify those generated with default rules. For example, change+0.5
to+50%
, change+50%
tox1.5
, or change tooltip colors. Currently it receives an empty input and only allows appending new linesThe text was updated successfully, but these errors were encountered: