Class PalingDegradation

java.lang.Object
org.cyclops.evilcraft.core.degradation.effect.PalingDegradation
All Implemented Interfaces:
IDegradationEffect

public class PalingDegradation extends Object implements IDegradationEffect
Degradation effect that will apply paling to entities in the degradation area.
  • Constructor Details

  • Method Details

    • canRun

      public boolean canRun(IDegradable degradable)
      Description copied from interface: IDegradationEffect
      If this effect can occur.
      Specified by:
      canRun in interface IDegradationEffect
      Parameters:
      degradable - The degradable instance where the effect should apply.
      Returns:
      If it can occur.
    • runClientSide

      public void runClientSide(IDegradable degradable)
      Description copied from interface: IDegradationEffect
      Run the effect client side.
      Specified by:
      runClientSide in interface IDegradationEffect
      Parameters:
      degradable - The degradable instance where the effect should apply.
    • runServerSide

      public void runServerSide(IDegradable degradable)
      Description copied from interface: IDegradationEffect
      Run the effect server side.
      Specified by:
      runServerSide in interface IDegradationEffect
      Parameters:
      degradable - The degradable instance where the effect should apply.