Interface DecorationMaterial
public interface DecorationMaterial
Provides some context about the block being decorated.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DecorationMaterial
A material without any special properties.static final DecorationMaterial
A material for metal blocks that adds aBlockSetType
.static final DecorationMaterial
A material for stone blocks that adds aBlockSetType
.static final DecorationMaterial
A material for wood blocks that adds aBlockSetType
and aWoodType
. -
Method Summary
-
Field Details
-
GENERIC
A material without any special properties. -
WOOD
A material for wood blocks that adds aBlockSetType
and aWoodType
. -
STONE
A material for stone blocks that adds aBlockSetType
. -
METAL
A material for metal blocks that adds aBlockSetType
.
-
-
Method Details
-
isWood
boolean isWood()Gets whether the block is a wood block. -
isStone
boolean isStone()Gets whether the block is a stone block. -
isMetal
boolean isMetal()Gets whether the block is a metal block. -
init
Initialises some material properties.- Parameters:
id
- The id of theDecoratedBlock
.
-