Class BiomeDegradation

java.lang.Object
org.cyclops.evilcraft.core.degradation.effect.BiomeDegradation
All Implemented Interfaces:
IDegradationEffect, OrganicSpread.IOrganicSpreadable

public class BiomeDegradation extends Object implements IDegradationEffect, OrganicSpread.IOrganicSpreadable
Makes biomes darker.
  • Constructor Details

  • Method Details

    • canRun

      public boolean canRun(IDegradable degradable)
      Description copied from interface: IDegradationEffect
      If this effect can occur.
      Specified by:
      canRun in interface IDegradationEffect
      Parameters:
      degradable - The degradable instance where the effect should apply.
      Returns:
      If it can occur.
    • runClientSide

      public void runClientSide(IDegradable degradable)
      Description copied from interface: IDegradationEffect
      Run the effect client side.
      Specified by:
      runClientSide in interface IDegradationEffect
      Parameters:
      degradable - The degradable instance where the effect should apply.
    • runServerSide

      public void runServerSide(IDegradable degradable)
      Description copied from interface: IDegradationEffect
      Run the effect server side.
      Specified by:
      runServerSide in interface IDegradationEffect
      Parameters:
      degradable - The degradable instance where the effect should apply.
    • isDone

      public boolean isDone(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos location)
      Description copied from interface: OrganicSpread.IOrganicSpreadable
      Check if a certain location is already spread to.
      Specified by:
      isDone in interface OrganicSpread.IOrganicSpreadable
      Parameters:
      world - The world.
      location - The location.
      Returns:
      If it is spread to.
    • spreadTo

      public void spreadTo(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos location)
      Description copied from interface: OrganicSpread.IOrganicSpreadable
      Spread to a given location.
      Specified by:
      spreadTo in interface OrganicSpread.IOrganicSpreadable
      Parameters:
      world - The world.
      location - The location.