Interface ItemIdentifiable


public interface ItemIdentifiable
Optional interface for a Item to support a customized identifier. By default the Item's class name will be used as identifier.
Since:
5.2.606
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    Returns a unique identifier for the contextual item.
  • Method Details

    • getIdentifier

      @NotNull @NotNull String getIdentifier()
      Returns a unique identifier for the contextual item. The identifier should be unique within the contextual ItemsPlugin.
      Returns:
      The item identifier.
      Since:
      5.2.606