Class ForcefieldTrait

java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.ForcefieldTrait
All Implemented Interfaces:
Runnable, Listener

public class ForcefieldTrait extends Trait
  • 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.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Trait
    • setHeight

      public void setHeight(Double height)
    • setStrength

      public void setStrength(Double strength)
    • setVerticalStrength

      public void setVerticalStrength(Double verticalStrength)
    • setWidth

      public void setWidth(Double width)