Interface MapDecorations
Holds a list of markers to be placed on a Filled Map (used for Explorer Maps).
- Since:
- 1.21.3
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder forMapDecorations.static interfaceDecoration 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.Builderstatic MapDecorationsmapDecorations(Map<String, MapDecorations.DecorationEntry> entries)
-
Method Details
-
mapDecorations
@Contract(value="_ -> new", pure=true) static MapDecorations mapDecorations(Map<String, MapDecorations.DecorationEntry> entries) - Since:
- 1.21.3
-
mapDecorations
- Since:
- 1.21.3
-
decorationEntry
@Contract(value="_, _, _, _ -> new", pure=true) static MapDecorations.DecorationEntry decorationEntry(MapCursor.Type type, double x, double z, float rotation) - Since:
- 1.21.3
-
decoration
Gets the decoration entry with the given id.- Parameters:
id- id- Returns:
- decoration entry, or
nullif not present - Since:
- 1.21.3
-
decorations
Gets the decoration entries.- Returns:
- the decoration entries
- Since:
- 1.21.3
-