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
ConstructorsConstructorDescriptionClimbableSurface(ClimbingPick climbingPick, org.bukkit.Material surface, double defaultValue) This creates a newClimbableSurfacefor the givenMaterial. -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.MaterialgetType()This returns theMaterialof this surface.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 org.bukkit.Material surface, double defaultValue) This creates a newClimbableSurfacefor the givenMaterial.- Parameters:
surface- TheMaterialof this surfacedefaultValue- The default launch amount
-
-
Method Details
-
getType
@Nonnull public org.bukkit.Material getType()This returns theMaterialof this surface.- Returns:
- The
Materialof this surface
-