Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Explanation

Agrrox edited this page Feb 14, 2021 · 15 revisions

Options Explanation

"block": "block_id" - block you want to your object be drawn with. You can use letters (strings) or numbers (numerical id).

"restrict": true/false - restricts all drawing to your worldedit selection.

"height": 1 sets wall height.

"onGround": true/false - if set true, it will draw objects on the ground, if set false it will use player height as height origin.

"offset": sets distance in blocks from the ground.

"ignoreBuildings": option to ignore existing buildings.

"ignoreVegetation:" option to ignore vegetation.

"ignoredBlocks": ["explained below"]

allowedBlocks ["explained below"]

Usage

To put it together, you first take command you want to use, e.g. /cs rails then you add supported options that are divided by commas '.

For example:

/cs rails {``"block":"iron_block","offset":0,"height":1,"onGround":true,"restrict":true``}

This example will draw rails using iron blocks, with 0 offset from ground, with a block height of 1, and restricts generation to worldedit selection.

Default allowed & ignored allowedBlocks

"ignoredBlocks": ["see below"]

The blocks ignored by default are used to not draw a path on the vegetation. Use can use your own list to override this list.

[
  'air',
  'tallgrass',
  'sapling',
  'log',
  'log2',
  'leaves',
  'leaves2',
  'deadbush',
  'red_flower',
  'yellow_flower',
  'red_mushroom',
  'brown_mushroom',
  'vine',
  'waterlily',
  'cactus',
  'reeds',
  'pumpkin',
  'melon_block',
  'snow_layer',
  'double_plant'
]

The blocks allowed by default are used to not draw a path on existing buildings. Use can use your own list to override this list.

command: "allowedBlocks": ["see below"]

[
  'air',
  'grass',
  'dirt',
  'stone',
  'sand',
  'grass_path',
  'concrete',
  'gravel',
  'water',
  'lava'
]
Clone this wiki locally