Class SaddleItemValue

All Implemented Interfaces:
ExtensionContent

public final class SaddleItemValue extends ItemEventValue
  • Constructor Details

    • SaddleItemValue

      public SaddleItemValue()
  • Method Details

    • getItem

      @Nullable public @Nullable org.bukkit.inventory.ItemStack getItem(@NotNull @NotNull ActionsHandler handler, @NotNull @NotNull Action action, @Nullable @Nullable org.bukkit.entity.Entity entity)
      Description copied from class: ItemEventValue
      Returns an item stack that can be got from player, event, action, or null.
      Specified by:
      getItem in class ItemEventValue
      Returns:
      item, or null.
    • getExtensionId

      @NotNull public @NotNull String getExtensionId()
      Description copied from interface: ExtensionContent
      Returns lower-cased simple id of extension. Will be used to identify author of content.

      ID "default" is reserved for OpenCreative+ developers.

      Returns:
      id of extension.
    • getDescription

      @NotNull public @NotNull String getDescription()
      Description copied from interface: ExtensionContent
      Returns description of extension content. Describes purpose of new additional content.
      Returns:
      description of content.