Cap Block

A Cap Block is a type of block that appears in Super Mario 64 and Super Mario 64 DS. In the original game, Cap Blocks come in three colors, each one containing a different power-up.

Super Mario 64 / Super Mario 64 DS
In Super Mario 64, all Cap Blocks are intangible at the start of the game, reminiscent of the four ! Blocks from Super Mario World. When one of the three Cap Switches is activated, all Cap Blocks of that color solidify and will drop a cap power-up upon being broken open. In Super Mario 64 DS's Adventure mode, the three colored ! Blocks are reduced to one red ? Block, which is simply referred to as such. They contain either Power Flowers, which give different abilities depending on which character obtains them, or Wings in certain levels for Mario. If anyone other than Yoshi hits the red block without their caps, however, a Bob-omb will come out instead. In VS mode, a large, yellow ! Block called a VS Item Block appears in the Sunshine Isles and Battle Fort courses, which provides Yoshi with Wings.
 * Red blocks contain the Wing Cap. The red Wing Cap Switch is on the Tower of the Wing Cap, which is accessed by standing on the sun panel in the Mushroom Castle's lobby and looking at the ceiling after Mario obtains 10 Power Stars.
 * Blue blocks contain the Vanish Cap. The blue Vanish Cap Switch is in Vanish Cap Under the Moat, which becomes accessible after Mario drains the moat in front of the Mushroom Castle.
 * Green blocks contain the Metal Cap. The green Metal Cap Switch is in the Cavern of the Metal Cap, a secret area inside the Hazy Maze Cave accessed through a portal near Dorrie's pond.

Super Smash Bros. series
The green block appears as an item in every installment of the Super Smash Bros. series starting with Super Smash Bros. Melee under the name Metal Box. Much like in Super Mario 64, this item causes characters to become coated in metal for a short period of time. Unlike in Super Mario 64, they have to simply grab the box to become metal, as opposed to jumping under it and causing the Metal Cap to emerge from it. They become heavier and fall faster, making it harder to directly KO them by blasting them away, but making it harder for them get back on the stage. Getting hit will cause the duration of the power-up to shorten. The Final Smash forms Giga Bowser, Wario-Man, Mega Lucario, and Giga Mac are completely unaffected by Metal Boxes. Also, when a character becomes metal, their voice is removed.

From Super Smash Bros. Melee onward until Super Smash Bros. Ultimate, each game of the Super Smash Bros. series has a trophy of the Metal Box. In Super Smash Bros. for Wii U, the trophy erroneously states the Metal Box appears in Super Mario 64 DS, which replaced the colored caps with multiple characters, and their Power Flowers are all found in red blocks.

Super Smash Bros. for Nintendo 3DS / Wii U
Blue indicates exclusive to the Wii U version.