ModsJava
Menu API
Java mod listed for Minecraft 1.7–1.17. Download on the author's site.
⬇ Download on SpigotDocumentation and Installation
- Please visit the project repository ( https://github.com/cjcameron92/Menu)
Example Usage
- 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);
}
}
@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
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.