Interface DecorationMaterial
public interface DecorationMaterial
Provides some context about the block being decorated.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DecorationMaterialA material for copper blocks that adds aBlockSetType.static final DecorationMaterialA material without any special properties.static final DecorationMaterialA material for metal blocks that adds aBlockSetType.static final DecorationMaterialA material for nether wood blocks that adds aBlockSetTypeand aWoodType.static final DecorationMaterialA material for stone blocks that adds aBlockSetType.static final DecorationMaterialA material for wood blocks that adds aBlockSetTypeand aWoodType. -
Method Summary
-
Field Details
-
GENERIC
A material without any special properties. -
WOOD
A material for wood blocks that adds aBlockSetTypeand aWoodType. -
NETHER_WOOD
A material for nether wood blocks that adds aBlockSetTypeand 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.
-