-
-
Notifications
You must be signed in to change notification settings - Fork 9
Trying to add new attributes to passive mobs throws an internal error #46
Comments
Can confirm this happens. Will work on a fix for v1.8.1. |
Marking as completed. Will be officially released along with v1.8.1, but you can manually clone the branch and build the JAR yourself if you want. |
It should be |
It's fine; The parent one will run all of them, which is necessary to build the jar you need. |
@GamerCoder215 Ok I've done that but im getting a ClassNotFound exception when trying to create a EntityBrain like this
Am I maybe doing something wrong in my pom.xml? |
Your plugin isn't shading that JAR into the plugin jar. Try changing your scope to |
nvm i figured it out, ty for being so patient with me :) |
I've just looked at it, and it seems like the I've created a wiki page that is an alternative to that method. It seems all you need to do is to run the |
Bug Type
Console Errors
Description
When trying to add the generic attack damage attribute to a passive mob with the code described on the wiki, an error gets thrown and the attribute isn't applied.
Btw there are also two syntax errors on the wiki:
getAttribteInstance
is misspelt andattack.addModifier(new AttributeModifier(UUID.randomUUID(), "modifier-1", 5.0D, AttributeModifier.Operation.MULTIPLY_SCALAR_1);
doesn't close all brackets.Expected Behavior
The attribute should be applied and visible with
/data get entity <uuid>
Actual Behavior
Console throws following error:
The text was updated successfully, but these errors were encountered: