public class SelectChunkCommand extends AbstractPlayerCommand
Command for selectchun operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > SelectChunkCommand
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
position
final
Vector3d
position
Field position.
chunkX
final
int
chunkX
Field chunkX.
chunkZ
final
int
chunkZ
Field chunkZ.
min
final
Vector3i
min
Field min.
max
final
Vector3i
max
Field max.
Method Detail
SelectChunkCommand
public
public
SelectChunkCommand
()
Method SelectChunkCommand.
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