public class MobSpawnDegradation extends StochasticDegradationEffect
eConfig| Modifier and Type | Method and Description |
|---|---|
static MobSpawnDegradation |
getInstance()
Get the unique instance.
|
static void |
initInstance(ExtendedConfig<DegradationEffectConfig> eConfig)
Initialise the configurable.
|
void |
runClientSide(IDegradable degradable)
Run the effect client side.
|
void |
runServerSide(IDegradable degradable)
Run the effect server side.
|
canRun, getChancegetConfigpublic static void initInstance(ExtendedConfig<DegradationEffectConfig> eConfig)
eConfig - The config.public static MobSpawnDegradation getInstance()
public void runClientSide(IDegradable degradable)
IDegradationEffectdegradable - The degradable instance where the effect should apply.public void runServerSide(IDegradable degradable)
IDegradationEffectdegradable - The degradable instance where the effect should apply.