Package com.sk89q.worldedit.command
Class NavigationCommands
java.lang.Object
com.sk89q.worldedit.command.NavigationCommands
Commands for moving the player around.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
-
Constructor Details
-
NavigationCommands
Create a new instance.- Parameters:
worldEdit
- reference to WorldEdit
-
-
Method Details
-
unstuck
- Throws:
WorldEditException
-
ascend
public void ascend(Player player, @Arg(desc="# of levels to ascend",def="1") int levels) throws WorldEditException - Throws:
WorldEditException
-
descend
public void descend(Player player, @Arg(desc="# of levels to descend",def="1") int levels) throws WorldEditException - Throws:
WorldEditException
-
ceiling
public void ceiling(Player player, @Arg(desc="# of blocks to leave above you",def="0") int clearance, @Switch(name='f',desc="Force using flight to keep you still") boolean forceFlight, @Switch(name='g',desc="Force using glass to keep you still") boolean forceGlass) throws WorldEditException - Throws:
WorldEditException
-
thru
- Throws:
WorldEditException
-
jumpTo
public void jumpTo(Player player, @Arg(desc="Location to jump to",def="") Location pos, @Switch(name='f',desc="force teleport") boolean force) throws WorldEditException - Throws:
WorldEditException
-
up
public void up(Player player, @Arg(desc="Distance to go upwards") int distance, @Switch(name='f',desc="Force using flight to keep you still") boolean forceFlight, @Switch(name='g',desc="Force using glass to keep you still") boolean forceGlass) throws WorldEditException - Throws:
WorldEditException
-