Abilities
Link to abilities
Diese Klasse importieren
Link to diese-klasse-importieren
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 Copyimport crafttweaker.api.entity.type.player.Abilities;
Methoden
Link to methoden
Name: getFlyingSpeed
Return Type: float
ZenScript Copy// Abilities.getFlyingSpeed() as float
myAbilities.getFlyingSpeed();
Name: getWalkingSpeed
Return Type: float
ZenScript Copy// Abilities.getWalkingSpeed() as float
myAbilities.getWalkingSpeed();
Name: setFlyingSpeed
Return Type: void
ZenScript CopyAbilities.setFlyingSpeed(param0 as float) as void
Parameter | Type | Beschreibung |
---|---|---|
Parameter param0 | Type float | Beschreibung No Description Provided |
Name: setWalkingSpeed
Return Type: void
ZenScript CopyAbilities.setWalkingSpeed(param0 as float) as void
Parameter | Type | Beschreibung |
---|---|---|
Parameter param0 | Type float | Beschreibung No Description Provided |
Properties
Link to properties
Name | Type | Has Getter | Has Setter | Beschreibung |
---|---|---|---|---|
Name flyingSpeed | Type float | Has Getter true | Has Setter true | Beschreibung No Description Provided |
Name walkingSpeed | Type float | Has Getter true | Has Setter true | Beschreibung No Description Provided |