#Attribute Modifier Not Working

9 messages · Page 1 of 1 (latest)

undone nova
#

So here's my problem, I try to edit some item's attributes, but it seams to not work correctly with Aquaculture neptunium fillet knife.
Here's a part of my code, my tests in logs and the result in game:

silver parcelBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

mental island
#

The modification is based on a mixin, so if the item has a custom implementation (so they overriden the methods), mixin will not apply

#

A workaround is to make the item crafted with your attributes, like attaching them via NBT

undone nova
#

If I add attackDamage or Speed bonus NBT, it will not show in the JEI, right ?

mental island
#

I think it should show in the JEI

#

because your recipe now outputs the item with NBT

undone nova
#

Do you know how to add an NBT to edit these ?

mental island