Sueta
MA

MapAPI

2021-06-15

Its an api for customs maps

·Plugin

Heyho,

I just started with the development of the MapAPI.
With this API you have the ability to create your own customized maps.
With this api its really easy to develop you own customized clickable maps.

This is only for developers!
The API only works on 1.16.X

Create your own map
MapCreator.create()
                .addText(new SimpleText("example", 0, 0))
                .applyBackground(MapPalette.LIGHT_GREEN)
                .drawRect(0, 0, 10, 10, MapPalette.DARK_GRAY)
                .addCenteredText(10, "Example")
                .addButton(new MapButton("Test", 2, 2, map -> {
                    // Code of the button function
                }))
                .addCenteredButton(1, "Example", map -> {
                    // Code of the button function
                });

Here you can see an example

Similar projects

Plugin →