Setter/Getter/MethodMethod NamesNamesInput/Output
Setter/Getter/Method
Getter
Method Names
getTargetX();
Names
targetX();
Input/Output
Returns an Double
Setter/Getter/Method
Setter
Method Names
setTargetX(double targetX);
Names
targetX(double targetX);
Input/Output
Takes an Double
Setter/Getter/Method
Getter
Method Names
getTargetY();
Names
targetY();
Input/Output
Returns an Double
Setter/Getter/Method
Setter
Method Names
setTargetY(double targetY);
Names
targetY(double targetY);
Input/Output
Takes an Double
Setter/Getter/Method
Getter
Method Names
getTargetZ();
Names
targetZ();
Input/Output
Returns an Double
Setter/Getter/Method
Setter
Method Names
setTargetZ(double targetZ));
Names
targetZ(double targetZ);
Input/Output
Takes an Double
Setter/Getter/Method
Getter
Method Names
getAttackDamage();
Names
attackDamage();
Input/Output
Returns an Float
Setter/Getter/Method
Setter
Method Names
setAttackDamage(float attackDamage);
Names
attackDamage(float attackDamage);
Input/Output
Takes an Float
Copy
var test = mods.compatskills.TraitCreator.createTrait("test", 2, 3, "compatskills:banana", 1, "compatskills:banana|5");

test.onEnderTeleport = function(event as crafttweaker.api.event.EnderTeleportEvent) {
    ...
};