public class ObjectiveReachLocationMarkerCommand extends AbstractCommandCollection
Command for objectivereachlocationmarke operations. Registered with the command system and callable by players.
java.lang.Object > AbstractCommandCollection > ObjectiveReachLocationMarkerCommand
Field Summary
reachLocationMarkerId
final
String
reachLocationMarkerId
Field reachLocationMarkerId.
holder
final
Holder
holder
Field holder.
model
final
Model
model
Field model.
playerTransformComponent
final
TransformComponent
playerTransformComponent
Field playerTransformComponent.
transform
final
TransformComponent
transform
Field transform.
Method Detail
ObjectiveReachLocationMarkerCommand
public
public
ObjectiveReachLocationMarkerCommand
()
Method ObjectiveReachLocationMarkerCommand.
AddReachLocationMarkerCommand
public
new
AddReachLocationMarkerCommand
()
Method AddReachLocationMarkerCommand.
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
ReachLocationMarker
public
new
ReachLocationMarker
(reachLocationMarkerId)
Method ReachLocationMarker.
- Parameters:
reachLocationMarkerIdreachLocationMarkerId
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
(reachLocationMarkerId)
Method Nameplate.
- Parameters:
reachLocationMarkerIdreachLocationMarkerId
TransformComponent
public
new
TransformComponent
(playerTransformComponent.getPosition()
Method TransformComponent.
- Parameters:
playerTransformComponent.getPosition(playerTransformComponent.getPosition(