Package fr.fidorial.map
package fr.fidorial.map
Maps: the 128×128 pictures drawn on
filled_map items.
MapManager, fromServer.maps(), creates and findsmaps, saved with the world in the vanilla format, and makes canvases, images, fonts and layers;- a
MapCanvasholds pixels; draw shapes, images and text (MapFont) on it; layerspaint over a map without changing what it stores, once for everyone or once per viewer;iconsare kept as markers or painted by layers;- a map can hang in an item frame that only one player sees;
- a pixel is a
MapColorin aMapShade, seeMapPalette.
- Since:
- 0.1.0
-
ClassDescriptionThe base colors of a map, as the client knows them.An icon drawn over a map: a player arrow, a banner flag, a treasure cross...A bitmap font to write on maps with.Collects the glyphs of a font.The pixels of one character.An item frame holding a map that exists only for one player.A picture already converted to map pixels, ready to be drawn.How colors that maps cannot show are approximated.Something a plugin paints over a
MapView, without touching what the map stores.What a layer paints on.For whom a layer is painted.Creates and finds maps, and makes what plugins draw on them: canvases, images, fonts and layers.The icons aMapViewkeeps and saves, each under a key of your choosing.Map pixels and their colors.How many blocks one pixel of a terrain map covers.The four shades a client can draw eachMapColorin.A map known to the server: the picture behind everyfilled_mapitem with its id.