Package net.okocraft.box.api.feature
Class AbstractBoxFeature
java.lang.Object
net.okocraft.box.api.feature.AbstractBoxFeature
- All Implemented Interfaces:
BoxFeature
- Direct Known Subclasses:
AutoStoreFeature
,StickFeature
An abstract implementation of
BoxFeature
.-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractBoxFeature
(@NotNull String name) The constructor ofAbstractBoxFeature
. -
Method Summary
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
disable, enable, getDependencies
-
Constructor Details
-
AbstractBoxFeature
The constructor ofAbstractBoxFeature
.- Parameters:
name
- the feature name
-
-
Method Details
-
getName
Description copied from interface:BoxFeature
Gets the name of this feature.- Specified by:
getName
in interfaceBoxFeature
- Returns:
- the name of this feature
-