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 10, 2021 · 15 revisions

Options

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

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

"height": 1 sets wall height.

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

"offset": option to set offset from the ground.

"ignoreBuildings": option to ignore existing buildings.

"ignoreVegetation:" option to ignore vegetation.

"ignoredBlocks": ["explained below"]

allowedBlocks ["explained below"]

How to use

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, with iron block, with offset from ground 0, with block height of 1, and draw restriction 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