Interface Placeholder

All Superinterfaces:
Composable, ComposableLike, ProviderRendered

public interface Placeholder extends ProviderRendered
A placeholder is a slot that can not be interacted with.
See more in Flare docs: Placeholder
  • Method Details

    • of

      @Contract("_ -> new") @NotNull static @NotNull Placeholder of(ItemProvider provider)
      Constructs a new placeholder for an item provider
      Parameters:
      provider - The item provider
      Returns:
      A new placeholder with item provider
    • of

      @Contract("_ -> new") @NotNull static @NotNull Placeholder of(org.bukkit.inventory.ItemStack still)
      Constructs a new placeholder with a still item provider of this item
      Parameters:
      still - Item to be used
      Returns:
      A new placeholder with item