Class EndermanTrait

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

public class EndermanTrait extends Trait
Persists Enderman metadata.
  • Constructor Details

    • EndermanTrait

      public EndermanTrait()
  • Method Details

    • isAngry

      public boolean isAngry()
    • 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
    • toggleAngry

      public boolean toggleAngry()