setType

public abstract void setType(Material type)

Sets the type of this block

Parameters

type

Material to change this block to


public abstract void setType(Material type, boolean applyPhysics)

Sets the type of this block

Parameters

type

Material to change this block to

applyPhysics

False to cancel physics on the changed block.