--- title: "Actions API - Charted wiki" description: "Charted's quick actions, for shortcut wheels and command palettes." url: https://voxelsprout.com/charted/wiki/actions-api --- [Charted](https://voxelsprout.com/charted) [Wiki](https://voxelsprout.com/charted/wiki)Actions API # Actions API Charted's quick actions, for shortcut wheels and command palettes. `ChartedActions` offers Charted's quick actions to shortcut wheels and command palettes: the world map, the minimap, zoom, a new waypoint and the list. Ids are never renamed; the list may grow. From Charted **0.1.0**. ## Show them on a wheel ```java for (String id : ChartedActions.ids()) { // label(id) for the text, icon(id) for the picture, // isOn(id) to draw a switch as on or off. wheel.add(ChartedActions.label(id), ChartedActions.icon(id), () -> ChartedActions.run(id)); } ``` ## The actions | Id | What it does | Switch | | ------------------------------------------------------ | ---------------------------------------------------- | ------ | | charted:world\_map | Opens the world map | no | | charted:minimap | Shows or hides the minimap | yes | | charted:minimap\_zoom\_out / charted:minimap\_zoom\_in | Zooms the minimap | no | | charted:minimap\_rotate | Turns the minimap with the player, or keeps north up | yes | | charted:add\_waypoint | Opens a new waypoint where the player stands | no | | charted:waypoints | Opens the waypoint list | no | | charted:waypoints\_in\_world | Shows or hides waypoints in the world | yes | | charted:waypoints\_on\_minimap | Shows or hides waypoints on the minimap | yes | ## Reference | ChartedActions | What it does | | -------------- | ----------------------------------- | | ids() | Every action id. | | label(id) | Its name, to show. | | icon(id) | Its icon. | | isOn(id) | For a switch: whether it is on now. | | run(id) | Does it. | [Previous Map API](https://voxelsprout.com/charted/wiki/map-api) [Next Waypoints in a modpack](https://voxelsprout.com/charted/wiki/modpack-waypoints) Something missing or wrong on this page? Say so on [Discord](https://discord.gg/CvdkGbEW4y).