Cocoknights are coconut enemies gotten from the word "coconut" and "knight" that appear in Mario & Luigi: Dream Team. They have green appendages, a green plant on their head and black eyes shaped much like the eye holes of a Shy Guy's mask. Cocoknights slightly resemble Coconutters from Mario & Luigi: Partners in Time. In the field, Cocoknights wander around aimlessly until they spot Mario and Dreamy Luigi, they will then begin throwing spears at them while they remain in place. Making contact with the spears results in the Bros. engaging battle with the Cocoknight who threw it.
In battle, Cocoknights appear in large hordes. They may attack by making a ring formation and advancing towards Mario while holding it, who will either end up surrounded by them in the middle of the ring or stuck outside the ring. The Cocoknights will then raise their spears into the air and start spinning, the ring formation moving towards the foreground and background erratically. Eventually, the spinning Cocoknights will stop spinning and lower their spears, the ring formation moving off-screen via Mario's side of the screen and reappearing on their side, the attack ending. At the start and end of the attack, Mario must jump over or on the Cocoknights as they encircle him or the area near him in order to avoid taking damage, and during the spinning phase of the attack, Mario must move away from the edges of the formation for the duration of this phase in order to avoid taking damage.
The Cocoknights may also surround Mario in a ring and have up to two of them one by one hold up their spears upwards as they briefly flash. The Cocoknights will then spin and rotate the ring formation in an attempt to make the player lose track of the Cocoknights who rose their spears. Eventually, the Cocoknights will stop and form up to four groups, one positioned at each of Mario's four main sides. The groups that have a Cocoknight who rose their spear will have that Cocoknight chuck theirs at Mario in the order their spears flashed at the start of the attack. Mario must face the group about to throw spears at him and hammer the spears back at them in order to avoid taking damage.
If less than four Cocoknights remain, the few remaining will throw their spears at Mario before fleeing, which can be dodged by jumping over them.
Names in other languages