Interface MapDecorations
Holds a list of markers to be placed on a Filled Map (used for Explorer Maps).
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Builder forMapDecorations
.static interface
Decoration present on the map. -
Method Summary
Modifier and TypeMethodDescriptiondecoration
(String id) Gets the decoration entry with the given id.decorationEntry
(MapCursor.Type type, double x, double z, float rotation) Gets the decoration entries.static MapDecorations.Builder
static MapDecorations
-
Method Details
-
mapDecorations
@Contract(value="_ -> new", pure=true) static MapDecorations mapDecorations(Map<String, MapDecorations.DecorationEntry> entries) -
mapDecorations
-
decorationEntry
@Contract(value="_, _, _, _ -> new", pure=true) static MapDecorations.DecorationEntry decorationEntry(MapCursor.Type type, double x, double z, float rotation) -
decoration
Gets the decoration entry with the given id.- Parameters:
id
- id- Returns:
- decoration entry, or
null
if not present
-
decorations
Gets the decoration entries.- Returns:
- the decoration entries
-