public class WorldPathBuilderCommand extends AbstractCommandCollection
Command for worldpathbuilde operations. Registered with the command system and callable by players.
java.lang.Object > AbstractCommandCollection > WorldPathBuilderCommand
Field Summary
uuidComponent
Field uuidComponent.
name
Field name.
builder
Field builder.
worldPath
Field worldPath.
waypoints
Field waypoints.
future
Field future.
scheduledFuture
Field scheduledFuture.
transformComponent
Field transformComponent.
transform
Field transform.
index
Field index.
path
Field path.
worldPathConfig
Field worldPathConfig.
Method Detail
WorldPathBuilderCommand
public
WorldPathBuilderCommand
()
Method WorldPathBuilderCommand.
WorldPathBuilderStopCommand
new
WorldPathBuilderStopCommand
()
Method WorldPathBuilderStopCommand.
WorldPathBuilderLoadCommand
new
WorldPathBuilderLoadCommand
()
Method WorldPathBuilderLoadCommand.
WorldPathBuilderSimulateCommand
new
WorldPathBuilderSimulateCommand
()
Method WorldPathBuilderSimulateCommand.
WorldPathBuilderClearCommand
new
WorldPathBuilderClearCommand
()
Method WorldPathBuilderClearCommand.
WorldPathBuilderAddCommand
new
WorldPathBuilderAddCommand
()
Method WorldPathBuilderAddCommand.
WorldPathBuilderSetCommand
new
WorldPathBuilderSetCommand
()
Method WorldPathBuilderSetCommand.
WorldPathBuilderGotoCommand
new
WorldPathBuilderGotoCommand
()
Method WorldPathBuilderGotoCommand.
WorldPathBuilderRemoveCommand
new
WorldPathBuilderRemoveCommand
()
Method WorldPathBuilderRemoveCommand.
WorldPathBuilderSaveCommand
new
WorldPathBuilderSaveCommand
()
Method WorldPathBuilderSaveCommand.
createBuilder
WorldPathBuilder
createBuilder
(@Nonnull final Ref ref, @Nonnull final Store store, @Nullable final WorldPath existing)
Method createBuilder.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nullable final WorldPathexisting
WorldPath
new
WorldPath
(name, new ObjectArrayListMethod WorldPath.
- Parameters:
namenamenewObjectArrayList(
getOrCreateBuilder
Method getOrCreateBuilder.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore
putBuilder
return
putBuilder
(ref, store, createBuilder(ref, store, null)
Method putBuilder.
- Parameters:
refrefstorestorecreateBuilder(refcreateBuilder(refnullnull
execute
void
execute
(@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
Teleport
new
Teleport
(null, transform)
Method Teleport.
- Parameters:
nullnulltransformtransform