public class PasteCommand extends AbstractPlayerCommand
Command for past operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > PasteCommand
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.
x
final
int
x
Field x.
y
final
int
y
Field y.
z
final
int
z
Field z.
relativePos
final
RelativeIntPosition
relativePos
Field relativePos.
blockPos
final
Vector3i
blockPos
Field blockPos.
Method Detail
PasteCommand
public
public
PasteCommand
()
Method PasteCommand.
PasteAtPositionCommand
public
new
PasteAtPositionCommand
()
Method PasteAtPositionCommand.
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