setDisplayBlock

public abstract void setDisplayBlock(MaterialData material)

Sets the display block for this minecart. Passing getClassById null value will set the minecart to have no display block.

Parameters

material

the material to set as display block.