Custom Marker Definition
The Custom Marker Definition allows you to create reusable marker templates. Define icon paths, colors, and behaviors once and reference them by ID in marker actions.
Configuration
markerId — String
Unique ID for this marker type.
displayName — String
Name shown when hovering over the marker on the map.
iconPath — String
Path to texture in resource pack.
color — Color
Tint color for the icon.
iconSize — Integer
Size of the marker in pixels/map units.
showLabel — Boolean
Whether to show the name label.
rotateWithMap — Boolean
If true, icon rotates with the map. If false, it stays upright (usually preferred for icons).
clampToEdge — Boolean
If true, marker sticks to the edge of the map when the target is out of range.
pulseAnimation — Boolean
Enable a pulsing size animation for visibility.
Usage
Reference this definition in a Minimap Marker Action using the customDefinition field.
config:
type: custom_marker
markerId: "quest_primary"
iconPath: "minimap/quest_yellow.png"
clampToEdge: true
pulseAnimation: true