public class ObjectiveStartCommand extends AbstractCommandCollection
Command for objectivestar operations. Registered with the command system and callable by players.
java.lang.Object > AbstractCommandCollection > ObjectiveStartCommand
Field Summary
objectiveId
final
String
objectiveId
Field objectiveId.
asset
final
ObjectiveAsset
asset
Field asset.
playerSet
final
HashSet
playerSet
Field playerSet.
objective
final
Objective
objective
Field objective.
objectiveLineId
final
String
objectiveLineId
Field objectiveLineId.
Method Detail
ObjectiveStartCommand
public
public
ObjectiveStartCommand
()
Method ObjectiveStartCommand.
StartObjectiveCommand
public
new
StartObjectiveCommand
()
Method StartObjectiveCommand.
StartObjectiveLineCommand
public
new
StartObjectiveLineCommand
()
Method StartObjectiveLineCommand.
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