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 TypeMethodDescriptionvoid
disable
(FeatureContext.Disabling context) Disables thisBoxFeature
.void
enable
(FeatureContext.Enabling context) Enables thisBoxFeature
.@NotNull BoxStickItem
Gets theBoxStickItem
.Methods inherited from class net.okocraft.box.api.feature.AbstractBoxFeature
getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.okocraft.box.api.feature.BoxFeature
getDependencies
-
Constructor Details
-
StickFeature
The constructor ofStickFeature
.- Parameters:
context
- aFeatureContext.Registration
context
-
-
Method Details
-
enable
Description copied from interface:BoxFeature
Enables thisBoxFeature
.- Parameters:
context
- theFeatureContext.Enabling
context
-
disable
Description copied from interface:BoxFeature
Disables thisBoxFeature
.- Parameters:
context
- theFeatureContext.Disabling
context
-
getBoxStickItem
Gets theBoxStickItem
.- Returns:
- the
BoxStickItem
-