Class ClimbableSurface
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.ItemSetting<Double>
io.github.thebusybiscuit.slimefun4.api.items.settings.DoubleRangeSetting
io.github.thebusybiscuit.slimefun4.implementation.settings.ClimbableSurface
This is an
ItemSetting
that manages the efficiency of climbing
a certain Material
with the ClimbingPick
.- Author:
- TheBusyBiscuit
- See Also:
-
Constructor Summary
ConstructorDescriptionClimbableSurface
(ClimbingPick climbingPick, Material surface, double defaultValue) This creates a newClimbableSurface
for the givenMaterial
. -
Method Summary
Methods inherited from class io.github.thebusybiscuit.slimefun4.api.items.settings.DoubleRangeSetting
getErrorMessage, getMaximum, getMinimum, validateInput
-
Constructor Details
-
ClimbableSurface
public ClimbableSurface(@Nonnull ClimbingPick climbingPick, @Nonnull Material surface, double defaultValue) This creates a newClimbableSurface
for the givenMaterial
.- Parameters:
climbingPick
- TheClimbingPick
instancesurface
- TheMaterial
of this surfacedefaultValue
- The default launch amount
-
-
Method Details