Posted June 20, 201411 yr What does the operation integer in AttributeModifier represent? I'm guessing that it's a mathematical operation done to a number, but what integers represent what operation? Kain
June 20, 201411 yr the integer param represents the operation type 0==additive 1==additive multiplicative 2==direct multiplicative orignal value = x; modifier value = y; modified value = z; additive: z = x+y; additive multiplicative: z = x + x*y; direct multiplicative z= x * (1+y) -- http://minecraft.gamepedia.com/Attribute
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.