Home›Java›Mods›Menu API
Menu API
ModsJava

Menu API

Java mod listed for Minecraft 1.7–1.17. Download on the author's site.

⬇ Download on Spigot
Documentation and Installation
- Please visit the project repository ( https://github.com/cjcameron92/Menu)

Example Usage
Code (Text):
public class Main extends JavaPlugin {

  @Override public void onEnable() {
    Menu menu = new MenuBuilder(27, "Example", this)
            .set(13, new ItemStack(Material.PLAYER_HEAD, 1), (player, itemStack) -> player.sendMessage(ChatColor.GREEN + itemStack.getType().name()))
            .fillEmpty(new ItemStack(Material.BLACK_STAINED_GLASS, 1))
            .close(event -> event.getPlayer().sendMessage(ChatColor.GREEN + "You have closed the menu!"))
            .create();

    menu.open(player);
  }
}
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Menu API is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 108 times (via Spigot). Download it and open it directly in the game.

Explore more