public class TerraformDegradation extends StochasticDegradationEffect
eConfig| Modifier and Type | Method and Description |
|---|---|
static TerraformDegradation |
getInstance()
Get the unique instance.
|
protected BlockTypeHolder |
getReplacement(net.minecraft.block.Block block) |
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 TerraformDegradation getInstance()
public void runClientSide(IDegradable degradable)
IDegradationEffectdegradable - The degradable instance where the effect should apply.protected BlockTypeHolder getReplacement(net.minecraft.block.Block block)
public void runServerSide(IDegradable degradable)
IDegradationEffectdegradable - The degradable instance where the effect should apply.