Class SpreadSettings

java.lang.Object
ke.ric.gardening.data.SpreadSettings

public class SpreadSettings extends Object
Configuration for vine/spreading plant behavior.
  • Constructor Details

    • SpreadSettings

      public SpreadSettings(boolean enabled, double chancePerCheck, org.bukkit.block.BlockFace direction, int maxChainLength)
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • getChancePerCheck

      public double getChancePerCheck()
    • getDirection

      public org.bukkit.block.BlockFace getDirection()
    • getMaxChainLength

      public int getMaxChainLength()
    • disabled

      public static SpreadSettings disabled()
      Create disabled spread settings.