setBaseBlock

fun setBaseBlock(type: Material, calledAsync: Boolean = false)

Sets base block with given material.

If a given material is not a block type, throws IllegalArgumentException.

Since

5.0.9

Parameters

type

base block type

calledAsync

Called from async processing or not. (Default = false)

Throws

when specified not a block type