Interface IDegradationEffect
- All Known Implementing Classes:
BiomeDegradation,KnockbackDistortDegradation,MobSpawnDegradation,NauseateDegradation,PalingDegradation,ParticleDegradation,SoundDegradation,StochasticDegradationEffect,TerraformDegradation
public interface IDegradationEffect
A set of actions that can apply to
IDegradable.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanRun(IDegradable degradable) If this effect can occur.voidrunClientSide(IDegradable degradable) Run the effect client side.voidrunServerSide(IDegradable degradable) Run the effect server side.
-
Method Details
-
canRun
If this effect can occur.- Parameters:
degradable- The degradable instance where the effect should apply.- Returns:
- If it can occur.
-
runClientSide
Run the effect client side.- Parameters:
degradable- The degradable instance where the effect should apply.
-
runServerSide
Run the effect server side.- Parameters:
degradable- The degradable instance where the effect should apply.
-