public class EnvironmentCommand extends AbstractPlayerCommand
Command for environmen operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > EnvironmentCommand
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
envName
final
String
envName
Field envName.
environment
final
Environment
environment
Field environment.
key
final
String
key
Field key.
index
final
int
index
Field index.
Method Detail
EnvironmentCommand
public
public
EnvironmentCommand
()
Method EnvironmentCommand.
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