Importing the class

Link to 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.

ZenScript
Copy
import crafttweaker.api.entity.type.player.Abilities;

Link to g-

Name: getFlyingSpeed

Return Type: float

ZenScript
Copy
// Abilities.getFlyingSpeed() as float

myAbilities.getFlyingSpeed();

Link to g--1

Name: getWalkingSpeed

Return Type: float

ZenScript
Copy
// Abilities.getWalkingSpeed() as float

myAbilities.getWalkingSpeed();

Link to g--2

Name: setFlyingSpeed

Return Type: void

ZenScript
Copy
Abilities.setFlyingSpeed(param0 as float) as void
ParameterTypeDescription
Parameter
param0
Type
float
Description
No Description Provided

Link to g--3

Name: setWalkingSpeed

Return Type: void

ZenScript
Copy
Abilities.setWalkingSpeed(param0 as float) as void
ParameterTypeDescription
Parameter
param0
Type
float
Description
No Description Provided
NombreTypeHas GetterHas SetterDescription
Nombre
flyingSpeed
Type
float
Has Getter
true
Has Setter
true
Description
No Description Provided
Nombre
walkingSpeed
Type
float
Has Getter
true
Has Setter
true
Description
No Description Provided