public class AbilitiesConstructors
public Abilities()Methods
Abilities fromNbt(NbtCompound)float getFlySpeed()Returns the flySpeed value.float getWalkSpeed()Returns the walkSpeed value.boolean isFlying()Returns the flying value.boolean isInstabuild()Returns the instabuild value.boolean isInvulnerable()Returns the invulnerable value.boolean isMayBuild()Returns the mayBuild value.boolean isMayfly()Returns the mayfly value.void setFlySpeed(float)Sets the flySpeed value.void setFlying(boolean)Sets the flying value.void setInstabuild(boolean)Sets the instabuild value.void setInvulnerable(boolean)Sets the invulnerable value.void setMayBuild(boolean)Sets the mayBuild value.void setMayfly(boolean)Sets the mayfly value.void setWalkSpeed(float)Sets the walkSpeed value.NbtCompound toNbt()public static Abilities fromNbt(NbtCompound nbt)| Parameters | ||
|---|---|---|
nbt | NbtCompound | |
| Returns | ||
Abilities | ||
getFlySpeed()
public float getFlySpeed()Returns the flySpeed value.
| Returns | ||
|---|---|---|
float | ||
Generated by Lombok's @Getter for the field flySpeed
getWalkSpeed()
public float getWalkSpeed()Returns the walkSpeed value.
| Returns | ||
|---|---|---|
float | ||
Generated by Lombok's @Getter for the field walkSpeed
isFlying()
public boolean isFlying()Returns the flying value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field flying
isInstabuild()
public boolean isInstabuild()Returns the instabuild value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field instabuild
isInvulnerable()
public boolean isInvulnerable()Returns the invulnerable value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field invulnerable
isMayBuild()
public boolean isMayBuild()Returns the mayBuild value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field mayBuild
isMayfly()
public boolean isMayfly()Returns the mayfly value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field mayfly
setFlySpeed(float)
public void setFlySpeed(float flySpeed)Sets the flySpeed value.
| Parameters | ||
|---|---|---|
flySpeed | float | |
Generated by Lombok's @Setter for the field flySpeed
setFlying(boolean)
public void setFlying(boolean flying)Sets the flying value.
| Parameters | ||
|---|---|---|
flying | boolean | |
Generated by Lombok's @Setter for the field flying
public void setInstabuild(boolean instabuild)Sets the instabuild value.
| Parameters | ||
|---|---|---|
instabuild | boolean | |
Generated by Lombok's @Setter for the field instabuild
public void setInvulnerable(boolean invulnerable)Sets the invulnerable value.
| Parameters | ||
|---|---|---|
invulnerable | boolean | |
Generated by Lombok's @Setter for the field invulnerable
public void setMayBuild(boolean mayBuild)Sets the mayBuild value.
| Parameters | ||
|---|---|---|
mayBuild | boolean | |
Generated by Lombok's @Setter for the field mayBuild
setMayfly(boolean)
public void setMayfly(boolean mayfly)Sets the mayfly value.
| Parameters | ||
|---|---|---|
mayfly | boolean | |
Generated by Lombok's @Setter for the field mayfly
public void setWalkSpeed(float walkSpeed)Sets the walkSpeed value.
| Parameters | ||
|---|---|---|
walkSpeed | float | |
Generated by Lombok's @Setter for the field walkSpeed
public NbtCompound toNbt()| Returns | ||
|---|---|---|
NbtCompound | ||