c0de 0.3.0Diese Seite auf Deutsch

REMOVE_BLOCK ​

Removes the block at a position.

With drop, the block drops as an item like when it is mined. This needs allowBlockChanges or an administrator as owner, otherwise PERMISSION_DENIED is raised.

Parameters and results

  • position STRUCT c0de/minecraft/POSITION: where the block is
  • drop BOOLEAN: true to drop the block as an item (optional, default TRUE)

Example

c0de
CALL c0de/minecraft/REMOVE_BLOCK
    PARAMETER position spot ;
    PARAMETER drop FALSE ;