Skip to content

Command argument: blocks

XenialDan edited this page Jan 7, 2018 · 2 revisions

Command argument: blocks

This argument is a parameter containing a list of blocks

Multiple blocks are seperated via ,

If multiple blocks are given, the blocks will be randomized

Possible values are:

  • ID's - The ID of a block
  • :Meta/Damage value - The damage value of a block
  • block name - the name of a block, or even a placeable item

Example

<1,log:2,carrot,95>

  • 1: parsed as ID of stone
  • log:2: parsed as wood block with damage value of 2 (Birch log)
  • carrot: parsed as item "Carrot", but a block was found for it (Carrot block)
  • 95: parsed as "Invisible Bedrock", which is a block that is not coded into the source of PocketMine-MP (yet), but will be placed anyways. It will send you a message "Block 95 is an unknown block"
Clone this wiki locally