Abilities
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
import crafttweaker.api.entity.type.player.Abilities;
Methods
Return Type: float
// Abilities.getFlyingSpeed() as float
myAbilities.getFlyingSpeed();
Return Type: float
// Abilities.getWalkingSpeed() as float
myAbilities.getWalkingSpeed();
Return Type: void
Abilities.setFlyingSpeed(param0 as float) as void
Parameter | Type | Description |
---|---|---|
Parameter param0 | Type float | Description No Description Provided |
Return Type: void
Abilities.setWalkingSpeed(param0 as float) as void
Parameter | Type | Description |
---|---|---|
Parameter param0 | Type float | Description No Description Provided |
Properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name flyingSpeed | Type float | Has Getter true | Has Setter true | Description No Description Provided |
Name walkingSpeed | Type float | Has Getter true | Has Setter true | Description No Description Provided |