ObjectiveLocationMarkerCommand

public class ObjectiveLocationMarkerCommand extends AbstractCommandCollection

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

java.lang.Object > AbstractCommandCollection > ObjectiveLocationMarkerCommand

Field Summary

playerReference

final Ref playerReference

Field playerReference.

playerTransformComponent

final TransformComponent playerTransformComponent

Field playerTransformComponent.

objectiveLocationMarkerId

final String objectiveLocationMarkerId

Field objectiveLocationMarkerId.

holder

final Holder holder

Field holder.

model

final Model model

Field model.

transform

final TransformComponent transform

Field transform.

worldConfig

final WorldConfig worldConfig

Field worldConfig.

Method Detail

ObjectiveLocationMarkerCommand

public public ObjectiveLocationMarkerCommand ()

Method ObjectiveLocationMarkerCommand.

AddLocationMarkerCommand

public new AddLocationMarkerCommand ()

Method AddLocationMarkerCommand.

EnableLocationMarkerCommand

public new EnableLocationMarkerCommand ()

Method EnableLocationMarkerCommand.

DisableLocationMarkerCommand

public new DisableLocationMarkerCommand ()

Method DisableLocationMarkerCommand.

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

ObjectiveLocationMarker

public new ObjectiveLocationMarker (objectiveLocationMarkerId)

Method ObjectiveLocationMarker.

Parameters:
objectiveLocationMarkerId objectiveLocationMarkerId

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 (objectiveLocationMarkerId)

Method Nameplate.

Parameters:
objectiveLocationMarkerId objectiveLocationMarkerId

TransformComponent

public new TransformComponent (playerTransformComponent.getPosition()

Method TransformComponent.

Parameters:
playerTransformComponent.getPosition( playerTransformComponent.getPosition(