Anon10W1z Posted August 8, 2015 Posted August 8, 2015 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? Quote Maker of the Craft++ mod.
Anon10W1z Posted August 8, 2015 Author Posted August 8, 2015 Thanks, the value of potion.moveSpeed is what I am looking for, right? Quote Maker of the Craft++ mod.
Anon10W1z Posted August 8, 2015 Author Posted August 8, 2015 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); Quote Maker of the Craft++ mod.
Anon10W1z Posted August 8, 2015 Author Posted August 8, 2015 Thanks for all your help. Quote Maker of the Craft++ mod.
Recommended Posts
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.