CheckpointAddCommand

public class CheckpointAddCommand extends AbstractPlayerCommand

Command for checkpointad operations. Registered with the command system and callable by players.

java.lang.Object > AbstractPlayerCommand > CheckpointAddCommand

Field Summary

index

final Integer index

Field index.

checkpointUUIDMap

final Int2ObjectMap checkpointUUIDMap

Field checkpointUUIDMap.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

position

final Vector3d position

Field position.

rotation

final Vector3f rotation

Field rotation.

holder

final Holder holder

Field holder.

model

final Model model

Field model.

transform

final TransformComponent transform

Field transform.

Method Detail

CheckpointAddCommand

public public CheckpointAddCommand ()

Method CheckpointAddCommand.

execute

protected 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 CommandContext context
@Nonnull final Store store
@Nonnull final Ref ref
@Nonnull final PlayerRef playerRef
@Nonnull final World world

ParkourCheckpoint

public new ParkourCheckpoint (index)

Method ParkourCheckpoint.

Parameters:
index index

ModelComponent

public new ModelComponent (model)

Method ModelComponent.

Parameters:
model model

PersistentModel

public new PersistentModel (model.toReference()

Method PersistentModel.

Parameters:
model.toReference( model.toReference(

Nameplate

public new Nameplate (Integer.toString(index)

Method Nameplate.

Parameters:
Integer.toString(index Integer.toString(index