Minecraft Wiki
This article is about the joke item. For the golem, see Key Golem. For in-game control keys, see Controls.
Information icon.svg
This feature is exclusive to Java Edition. 
Red Key.gif
This article documents an April Fools' joke. 
This feature was exclusively part of a joke version and is not currently planned for addition to regular Minecraft.
It is documented here on the wiki due to being officially-released content by Mojang Studios, even if not present in a final version.
Red Key.gifYellow Key.gifBlue Key.gif
Red KeyYellow KeyBlue Key
Rarity color



Blue: No
Red, Yellow: Yes



Keys were a joke item from Java Edition 3D Shareware v1.34. There are three different keys: red, yellow, and blue.



The red key was dropped by the wither, the yellow key was dropped by ravagers, and the blue key was dropped by the elder guardian.

Cheat codes[]

These keys are also obtainable by using the cheat code "IDKFA" when typing in chat.

Natural generation[]

Item Structure Container Quantity Chance
Java Edition
Red Key Bonus barrel Chest 1 20.8%
Yellow Key Bonus barrel Chest 1 8.3%
Blue Key Bonus barrel Chest 1 4.2%

Data values[]


NameIdentifierFormTranslation key
Red Keyred_keyItemitem.minecraft.red_key
Blue Keyblue_keyItemitem.minecraft.blue_key
Yellow Keyyellow_keyItemitem.minecraft.yellow_key


Java Edition
3D Shareware v1.34Red Key.gif Yellow Key.gif Blue Key.gif Added red, yellow, and blue keys.