If you make a weapon say cannon cannon explosive. Put 10 blocks on cannon, 10 blocks on the second cannon and 10 on the explosive. If you remove all the 10 blocks from the main cannon, the amount of blocks on the support and effect will not be visible in the weapons menu.