Class SpigotRegistry

java.lang.Object
com.guflimc.brick.gui.spigot.menu.SpigotRegistry

public class SpigotRegistry extends Object
  • Constructor Details

    • SpigotRegistry

      public SpigotRegistry()
  • Method Details

    • register

      public void register(org.bukkit.entity.HumanEntity entity, SpigotMenu menu)
    • unregister

      public void unregister(org.bukkit.entity.HumanEntity entity)
    • findMenu

      public Optional<SpigotMenu> findMenu(org.bukkit.entity.HumanEntity entity)
    • register

      public void register(org.bukkit.entity.Player player, SpigotHotbar hotbar)
    • unregister

      public void unregister(org.bukkit.entity.Player player)
    • findHotbar

      public Optional<SpigotHotbar> findHotbar(org.bukkit.entity.Player player)
    • closeAll

      public void closeAll()