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 CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
ParkourCheckpoint
public
new
ParkourCheckpoint
(index)
Method ParkourCheckpoint.
- Parameters:
indexindex
ModelComponent
public
new
ModelComponent
(model)
Method ModelComponent.
- Parameters:
modelmodel
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(indexInteger.toString(index