Class AbstractBoxFeature

java.lang.Object
net.okocraft.box.api.feature.AbstractBoxFeature
All Implemented Interfaces:
BoxFeature
Direct Known Subclasses:
AutoStoreFeature, StickFeature

public abstract class AbstractBoxFeature extends Object implements BoxFeature
An abstract implementation of BoxFeature.
  • Constructor Details

    • AbstractBoxFeature

      protected AbstractBoxFeature(@NotNull @NotNull String name)
      The constructor of AbstractBoxFeature.
      Parameters:
      name - the feature name
  • Method Details

    • getName

      @NotNull public @NotNull String getName()
      Description copied from interface: BoxFeature
      Gets the name of this feature.
      Specified by:
      getName in interface BoxFeature
      Returns:
      the name of this feature