ModsJava
[API] MiniMapGUI
Get support here: MiniMapGUI An easy-to-use Spigot library that implements a GUI interface within offhand maps. Maven and Gradle dependencies are…
⬇ Download on Spigot
Get support here: https://discord.gg/G8BDgqsuyw
MiniMapGUI
An easy-to-use Spigot library that implements a GUI interface within offhand maps.
Maven and Gradle dependencies are available on the GitHub page!
Spoiler: Example Usage
Code (Java):
[
/SIZE
]
public class WarpGUI extends MiniMapGUI {
private final JavaPlugin plugin ;
public WarpGUI (JavaPlugin plugin, Player player ) {
super (plugin, player ) ;
this. plugin = plugin ;
wraparoundStages = false ;
}
@Override
public void setup ( ) {
try {
addStage (
0,
SimpleStage. newBuilder ( )
. wraparoundOptions ( true )
. addOption (
new ImageOption (
getPlayer ( ). getWorld ( ),
new URL ( "someimgurlink.com/image.png" ),
gui -> {
gui. close ( ) ;
gui. getPlayer ( ). teleport (Bukkit. getWorld ( "world" ). getSpawnLocation ( ) ) ;
} ) )
. addOption (
new ImageOption (
getPlayer ( ). getWorld ( ),
new URL ( "someimgurlink.com/image2.png" ),
gui -> {
gui. close ( ) ;
gui. getPlayer ( )
. teleport (Bukkit. getWorld ( "world_nether" ). getSpawnLocation ( ) ) ;
} ) )
. build ( ) ) ;
} catch ( MalformedURLException e ) {
e. printStackTrace ( ) ;
}
}
@Override
public void onLeftClick ( boolean isSneaking, boolean isClickingBlock ) {
if (getCurrentStage ( ) != null ) {
getCurrentStage ( ). nextOption ( ) ;
render ( ) ;
}
}
@Override
public void onRightClick ( boolean isSneaking, boolean isClickingBlock ) {
selectCurrentOption ( ) ;
}
}
[SIZE = 4 ]
public class WarpGUI extends MiniMapGUI {
private final JavaPlugin plugin ;
public WarpGUI (JavaPlugin plugin, Player player ) {
super (plugin, player ) ;
this. plugin = plugin ;
wraparoundStages = false ;
}
@Override
public void setup ( ) {
try {
addStage (
0,
SimpleStage. newBuilder ( )
. wraparoundOptions ( true )
. addOption (
new ImageOption (
getPlayer ( ). getWorld ( ),
new URL ( "someimgurlink.com/image.png" ),
gui -> {
gui. close ( ) ;
gui. getPlayer ( ). teleport (Bukkit. getWorld ( "world" ). getSpawnLocation ( ) ) ;
} ) )
. addOption (
new ImageOption (
getPlayer ( ). getWorld ( ),
new URL ( "someimgurlink.com/image2.png" ),
gui -> {
gui. close ( ) ;
gui. getPlayer ( )
. teleport (Bukkit. getWorld ( "world_nether" ). getSpawnLocation ( ) ) ;
} ) )
. build ( ) ) ;
} catch ( MalformedURLException e ) {
e. printStackTrace ( ) ;
}
}
@Override
public void onLeftClick ( boolean isSneaking, boolean isClickingBlock ) {
if (getCurrentStage ( ) != null ) {
getCurrentStage ( ). nextOption ( ) ;
render ( ) ;
}
}
@Override
public void onRightClick ( boolean isSneaking, boolean isClickingBlock ) {
selectCurrentOption ( ) ;
}
}
[SIZE = 4 ]
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.13, 1.14, 1.15
- 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.
[API] MiniMapGUI is a free Minecraft Java mod. Compatible with Minecraft 1.13, 1.14, 1.15, 1.16 and newer. Downloaded 456 times (via Spigot). Download it and open it directly in the game.