Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers
ContentTweaker Commands WalkThrough

Map

The Map Package allows you to set a waypoint using BASE’s waypoint event handler.

Importing the package

You can import the package so that you don’t have to retype it everytime.

script.zs
import mods.contenttweaker.Map;

Adding Waypoints

This is the only method exposed by the Map package and it allows you to set a waypoint at the given location.
It is a void method with the parameters:

script.zs
Map.setWaypoint(String name, IWorld world, IBlockPos pos, CTColor color)