Class WeatherTypeRain

java.lang.Object
org.cyclops.evilcraft.core.weather.WeatherType
org.cyclops.evilcraft.core.weather.WeatherTypeRain

public class WeatherTypeRain extends WeatherType
Rain weather type.
  • Constructor Details

    • WeatherTypeRain

      public WeatherTypeRain()
  • Method Details

    • isActive

      public boolean isActive(net.minecraft.world.level.Level world)
      Description copied from class: WeatherType
      Check if this weather is active in the given world.
      Specified by:
      isActive in class WeatherType
      Parameters:
      world - The world.
      Returns:
      If it is active.
    • activate

      public void activate(net.minecraft.server.level.ServerLevel world)
      Description copied from class: WeatherType
      Activate this weather in the given world.
      Specified by:
      activate in class WeatherType
      Parameters:
      world - The world.
    • deactivate

      public void deactivate(net.minecraft.server.level.ServerLevel world)
      Description copied from class: WeatherType
      Deactivate this weather in the given world.
      Specified by:
      deactivate in class WeatherType
      Parameters:
      world - The world.