Package net.citizensnpcs.trait
Class ForcefieldTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.ForcefieldTrait
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
double
double
double
getWidth()
void
run()
Called every tick if overridden.void
void
setStrength
(Double strength) void
setVerticalStrength
(Double verticalStrength) void
-
Constructor Details
-
ForcefieldTrait
public ForcefieldTrait()
-
-
Method Details
-
getHeight
public double getHeight() -
getStrength
public double getStrength() -
getVerticalStrength
public double getVerticalStrength() -
getWidth
public double getWidth() -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setHeight
-
setStrength
-
setVerticalStrength
-
setWidth
-