Class TerraformDegradation
java.lang.Object
org.cyclops.evilcraft.core.degradation.StochasticDegradationEffect
org.cyclops.evilcraft.core.degradation.effect.TerraformDegradation
- All Implemented Interfaces:
IDegradationEffect
Degradation effect that will terraform certain blocks into the area to
other blockState.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.world.level.block.state.BlockStategetReplacement(net.minecraft.world.level.block.Block block) voidrunClientSide(IDegradable degradable) Run the effect client side.voidrunServerSide(IDegradable degradable) Run the effect server side.Methods inherited from class org.cyclops.evilcraft.core.degradation.StochasticDegradationEffect
canRun, getChance
-
Constructor Details
-
TerraformDegradation
-
-
Method Details
-
runClientSide
Description copied from interface:IDegradationEffectRun the effect client side.- Parameters:
degradable- The degradable instance where the effect should apply.
-
getReplacement
protected net.minecraft.world.level.block.state.BlockState getReplacement(net.minecraft.world.level.block.Block block) -
runServerSide
Description copied from interface:IDegradationEffectRun the effect server side.- Parameters:
degradable- The degradable instance where the effect should apply.
-