Interface DecorationMaterial
public interface DecorationMaterial
Provides some context about the block being decorated.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DecorationMaterial
A material for copper blocks that adds aBlockSetType
.static 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 nether wood blocks that adds aBlockSetType
and aWoodType
.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
. -
NETHER_WOOD
A material for nether wood blocks that adds aBlockSetType
and aWoodType
. -
STONE
A material for stone blocks that adds aBlockSetType
. -
IRON
A material for metal blocks that adds aBlockSetType
. -
COPPER
A material for copper 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
.
-