public interface BlockMaterial
Modifier and Type | Method and Description |
---|---|
float |
getHardness()
Get the hardness factor for this block.
|
int |
getLightValue()
Get the light value for this block.
|
float |
getResistance()
Get the resistance factor for this block.
|
float |
getSlipperiness()
Get the slipperiness factor for this block.
|
boolean |
hasContainer()
Gets whether the block has a container (Item container).
|
boolean |
isAir()
Gets if this block is a type of air.
|
boolean |
isBurnable()
Get whether this block will burn.
|
boolean |
isFragileWhenPushed()
Get whether this block breaks when it is pushed by a piston.
|
boolean |
isFullCube()
Get whether this block is a full sized cube.
|
boolean |
isLiquid()
Get whether this block is a liquid.
|
boolean |
isMovementBlocker()
Get whether this block prevents movement.
|
boolean |
isOpaque()
Get whether this block is opaque.
|
boolean |
isPowerSource()
Get whether this block emits a Redstone signal.
|
boolean |
isReplacedDuringPlacement()
Get whether this block is replaced when a block is placed over it
(for example, tall grass).
|
boolean |
isSolid()
Get whether this block is a solid.
|
boolean |
isTicksRandomly()
Get whether this block is ticked randomly.
|
boolean |
isToolRequired()
Get whether this block needs to be broken by a tool for maximum
speed.
|
boolean |
isTranslucent()
Get whether this block is translucent.
|
boolean |
isUnpushable()
Get whether this block can be pushed by a piston.
|
boolean isAir()
boolean isFullCube()
boolean isOpaque()
boolean isPowerSource()
boolean isLiquid()
boolean isSolid()
float getHardness()
float getResistance()
float getSlipperiness()
int getLightValue()
boolean isFragileWhenPushed()
boolean isUnpushable()
boolean isTicksRandomly()
boolean isMovementBlocker()
boolean isBurnable()
boolean isToolRequired()
boolean isReplacedDuringPlacement()
boolean isTranslucent()
boolean hasContainer()