Interface InventoryTitleUpdater

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface InventoryTitleUpdater
NMS-backed contract for updating the title of a player's currently open inventory. Each per-version module ships an implementation selected at runtime by tech.guilhermekaua.spigotboot.inventoryapi.nms.InventoryApiNMS.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    update(org.bukkit.entity.Player player, String title)
    Replaces the title shown on the inventory the player has open.
  • Method Details

    • update

      void update(org.bukkit.entity.Player player, String title)
      Replaces the title shown on the inventory the player has open.
      Parameters:
      player - the viewer whose open inventory should be retitled
      title - the new title text