

Generic.followRange (Operation 1 all mobs), Knockback Resistance (Operation 0 Villagers and Zombies only) For Zombie Knockback Resistance, another value between 0.0 and 0.05* is also generated. Generated upon spawning a random number from a Gaussian distribution ranging from 0.0 to 0.05*. Do not add UUIDs to this table for modifiers where they are not listed - if a UUID is not listed, this means that it is different every time the modifier is created!
#Tinkertool 2 modifiers minecraft code#
Note that some UUIDs are generated on-the-fly, while others are represented as fixed strings in the code - these have been listed as well.

The following are only known modifier names and values used in vanilla minecraft (do not add modifiers to this table if you find them in custom maps, as map makers may create their own custom modifiers). The game first sets X = Base, then executes all Operation 0 modifiers, then sets Y = X, then executes all Operation 1 modifiers, and finally executes all Operation 2 modifiers.Īs stated before, a modifier's name can be anything, and this will not affect its behavior. The mathematical behavior is as follows: Operation 0: Increment X by Amount, Operation 1: Increment Y by X * Amount, Operation 2: Y = Y * (1 + Amount) (equivalent to Increment Y by Y * Amount). give diamond_sword 1 0 with a Base of 3 results in 45 (3 * (1 + 2) * (1 + 4) = 45). If you change the operation from 0 to 1 it will MULTIPLY the attack damage instead. The following command will give the closest player a diamond sword which does 20 ( ) extra damage.

#Tinkertool 2 modifiers minecraft software#
Attributes/modifiers can be added to items or mobs without the use of third-party NBT editing software by adding data tags to the give and summon commands. When applied to an item, a modifier will adjust the corresponding attribute if the item is held or worn. 2.1 Attributes available on all living entities.
