public class PrefabPathUpdatePauseCommand extends AbstractWorldCommand
Command for prefabpathupdatepaus operations. Registered with the command system and callable by players.
java.lang.Object > AbstractWorldCommand > PrefabPathUpdatePauseCommand
Field Summary
pauseTime
final
Double
pauseTime
Field pauseTime.
playerRef
final
Ref
playerRef
Field playerRef.
entityRef
final
Ref
entityRef
Field entityRef.
patrolPathMarkerComponent
final
PatrolPathMarkerEntity
patrolPathMarkerComponent
Field patrolPathMarkerComponent.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
Method Detail
PrefabPathUpdatePauseCommand
public
public
PrefabPathUpdatePauseCommand
()
Method PrefabPathUpdatePauseCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final World world, @Nonnull final Store store)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Worldworld@Nonnull final Storestore
GeneralCommandException
public
new
GeneralCommandException
(Message.translation("server.commands.errors.playerOrArg")
Method GeneralCommandException.
- Parameters:
Message.translation("server.commands.errors.playerOrArg"Message.translation("server.commands.errors.playerOrArg"