use of forestry.arboriculture.blocks.BlockForestrySlab in project ForestryMC by ForestryMC.
the class ItemBlockWoodSlab method getItemStackDisplayName.
@Override
public String getItemStackDisplayName(ItemStack itemstack) {
BlockForestrySlab<?> wood = (BlockForestrySlab) getBlock();
int meta = itemstack.getMetadata();
IWoodType woodType = wood.getWoodType(meta);
return WoodHelper.getDisplayName(wood, woodType);
}
Aggregations