minuit

MapComponent

A Minecraft map in a box, with its markers and the paper it is drawn on.

Java

Inside a PanelComponent constructor. The same call draws in every family and chroma.

Java
MapComponent map = add(new MapComponent(at(new Box("map", 10, 10, 140, 140)))
        .source(VanillaMaps.INSTANCE).mapId(heldMapId)
        .paper(true).coordinates(true)
        .onMarker(m -> say(m.name())));

Paper

MapComponent, paper