Class SpreadSettings
java.lang.Object
ke.ric.gardening.data.SpreadSettings
Configuration for vine/spreading plant behavior.
-
Constructor Summary
ConstructorsConstructorDescriptionSpreadSettings(boolean enabled, double chancePerCheck, org.bukkit.block.BlockFace direction, int maxChainLength) -
Method Summary
Modifier and TypeMethodDescriptionstatic SpreadSettingsdisabled()Create disabled spread settings.doubleorg.bukkit.block.BlockFaceintboolean
-
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
Create disabled spread settings.
-