setBuildable

public void setBuildable(boolean cancel)

Sets whether the block can be built here or not.

Parameters

cancel

true if you want to allow the block to be built here despite Minecraft's default behaviour