type=armor
matchItems=chainmail_helmet golden_helmet iron_helmet diamond_helmet

texture.gold_layer_1=mario_layer_1
texture.iron_layer_1=mario_layer_1
texture.diamond_layer_1=mario_layer_1

nbt.display.Name=ipattern:mario hat