public class ClearBlocksCommand extends AbstractPlayerCommand
Command for clearblock operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > ClearBlocksCommand
Field Summary
chunkStore
final
ChunkStore
chunkStore
Field chunkStore.
playerComponent
final
Player
playerComponent
Field playerComponent.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
position
final
Vector3d
position
Field position.
relativeIntPositionOne
final
RelativeIntPosition
relativeIntPositionOne
Field relativeIntPositionOne.
relativeIntPositionTwo
final
RelativeIntPosition
relativeIntPositionTwo
Field relativeIntPositionTwo.
posOne
final
Vector3i
posOne
Field posOne.
posTwo
final
Vector3i
posTwo
Field posTwo.
min
final
Vector3i
min
Field min.
max
final
Vector3i
max
Field max.
builderState
final
BuilderToolsPlugin.BuilderState
builderState
Field builderState.
Method Detail
ClearBlocksCommand
public
public
ClearBlocksCommand
()
Method ClearBlocksCommand.
AbstractPlayerCommand
public
new
AbstractPlayerCommand
(this, "server.commands.clear.desc")
Method AbstractPlayerCommand.
- Parameters:
thisthis"server.commands.clear.desc""server.commands.clear.desc"
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