public class KnockbackDistortDegradation extends ConfigurableDegradationEffect
eConfig| Modifier and Type | Method and Description |
|---|---|
boolean |
canRun(IDegradable degradable)
If this effect can occur.
|
static KnockbackDistortDegradation |
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.
|
getConfigpublic static void initInstance(ExtendedConfig<DegradationEffectConfig> eConfig)
eConfig - The config.public static KnockbackDistortDegradation getInstance()
public boolean canRun(IDegradable degradable)
IDegradationEffectdegradable - The degradable instance where the effect should apply.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.