Package net.okocraft.box.feature.stick
Class StickFeature
java.lang.Object
net.okocraft.box.api.feature.AbstractBoxFeature
net.okocraft.box.feature.stick.StickFeature
- All Implemented Interfaces:
BoxFeature
A
BoxFeature that provides Box Stick.-
Constructor Summary
ConstructorsConstructorDescriptionStickFeature(FeatureContext.Registration context) The constructor ofStickFeature. -
Method Summary
Modifier and TypeMethodDescriptionvoiddisable(FeatureContext.Disabling context) Disables thisBoxFeature.voidenable(FeatureContext.Enabling context) Enables thisBoxFeature.@NotNull BoxStickItemGets theBoxStickItem.Methods inherited from class net.okocraft.box.api.feature.AbstractBoxFeature
getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.okocraft.box.api.feature.BoxFeature
getDependencies
-
Constructor Details
-
StickFeature
The constructor ofStickFeature.- Parameters:
context- aFeatureContext.Registrationcontext
-
-
Method Details
-
enable
Description copied from interface:BoxFeatureEnables thisBoxFeature.- Parameters:
context- theFeatureContext.Enablingcontext
-
disable
Description copied from interface:BoxFeatureDisables thisBoxFeature.- Parameters:
context- theFeatureContext.Disablingcontext
-
getBoxStickItem
Gets theBoxStickItem.- Returns:
- the
BoxStickItem
-