Posted August 8, 201510 yr I am currently using an attribute modifier to increase the speed of an entity. Is the amount I give the attribute modifier a multiplier or an addend? Maker of the Craft++ mod.
August 8, 201510 yr Author Thanks, the value of potion.moveSpeed is what I am looking for, right? Maker of the Craft++ mod.
August 8, 201510 yr Author So when creating my modifier I pass the value 2 for operation? Just making sure I'm on the same page as you. AttributeModifier speedModifier = new AttributeModifier(nimbleUUID, "Nimble", (float) enchantmentLevel * 0.20000000298023224, 2); speedAttribute.applyModifier(speedModifier); Maker of the Craft++ mod.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.