Search in sources :

Example 1 with BlockClimatiser

use of forestry.greenhouse.blocks.BlockClimatiser in project ForestryMC by ForestryMC.

the class TileClimatiser method getUnlocalizedTitle.

@Override
public String getUnlocalizedTitle() {
    Block block = getBlockType();
    String blockUnlocalizedName = block.getUnlocalizedName();
    if (block instanceof BlockClimatiser) {
        blockUnlocalizedName += '.' + ((BlockClimatiser) block).getNameFromMeta(getBlockMetadata());
    }
    return blockUnlocalizedName + ".name";
}
Also used : BlockClimatiser(forestry.greenhouse.blocks.BlockClimatiser) Block(net.minecraft.block.Block)

Aggregations

BlockClimatiser (forestry.greenhouse.blocks.BlockClimatiser)1 Block (net.minecraft.block.Block)1