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
ConstructorsModifierConstructorDescriptionprotectedAbstractBoxFeature(@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, waitMethods 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:BoxFeatureGets the name of this feature.- Specified by:
getNamein interfaceBoxFeature- Returns:
- the name of this feature
-