<div class ="mobileonly">{{relevant guide|Bedrock Edition guides/0.4.0}}</div>
{{Infobox version
| title = v0.4.0 alpha
| vernum = 0.4.0
| edition = Pocket Edition
| image = Pocket Edition v0.4.0 alpha in game.png
| image2 = Pocket Edition v0.4.0 alpha.png
| type = 
| date = '''Android, iOS''' - September 6, 2012<ref>https://web.archive.org/web/20120908010754/http://itunes.apple.com:80/us/app/minecraft-pocket-edition/id479516143?mt=8&v0=WWW-NAUS-ITSTOP100&ign-mpt=uo%3D2</ref><ref name=":0"/><br>'''Fire''' - September 13, 2012<ref>http://web.archive.org/web/20120917172634/http://www.amazon.com/Mojang-Minecraft-Pocket-Edition/dp/B00992CF6W</ref>
| clientdl = [https://archive.org/download/MCPEAlpha/PE-a0.4.0.apk Original]

[https://archive.org/download/MCPEAlpha/PE-a0.4.0j.apk J-version]
| prevparent = v0.3.0 alpha
| prev = v0.3.3 alpha
| next = v0.4.0 alpha rev 2
| nextparent = v0.5.0 alpha
}}<onlyinclude>
<div class ="nomobile">{{relevant guide|Bedrock Edition guides/0.4.0}}</div>

'''v0.4.0 alpha''' is a major update to ''[[Minecraft: Pocket Edition]]'' that was released on September 6 and 13, 2012. It adds notable features such as [[bed]]s, [[trapdoor]]s, [[creeper]]s, new [[food]], and [[farming]] items, as well as other changes and fixes.<ref name=":0">{{citation|url=https://www.mojang.com/2012/09/minecraft-pocket-edition-0-4-0-is-out/|title=Minecraft — Pocket Edition 0.4.0 is OUT!|website=Mojang|date=September 6, 2012|archive-url=https://web.archive.org/web/20150925205525/https://www.mojang.com/2012/09/minecraft-pocket-edition-0-4-0-is-out/}}</ref> This update is also the first public release for Amazon's Fire devices.

== Additions ==
{{Additions table
|Red Bed BE
|Oak Trapdoor
|Stone Bricks
|Flint and Steel
|Wooden Hoe
|Stone Hoe
|Iron Hoe
|Golden Hoe
|Diamond Hoe
|Apple
|Bread
|Mushroom Stew
|Raw Beef
|Steak
|Raw Chicken
|Cooked Chicken
|Raw Porkchop
|Cooked Porkchop
|Wheat Seeds
|Egg
}}

=== Blocks ===
;[[File:Red Bed (N) JE1.png|width=32x32]][[Bed]]s
* Used to skip the [[Daylight cycle|night]] and set the player's spawn point.
;[[File:Oak Trapdoor (D) JE1 BE1.png|width=32x32]][[Trapdoor]]s
* Used as a 1×1 barrier that can be opened by hand.
;[[File:Stone Bricks JE1 BE1.png|width=32x32]][[Stone bricks]]
* Only available in Survival mode.
;[[File:Grass BE1.png|width=32x32]][[Grass]]
* Is currently unobtainable.

=== Items ===
;[[File:Flint and Steel JE3 BE1.png|width=32x32]][[Flint and steel]]
* Used to ignite TNT.
;[[File:Wooden Hoe JE1 BE1.png|width=32x32]][[File:Stone Hoe JE1 BE1.png|width=32x32]][[File:Iron Hoe JE1 BE1.png|width=32x32]][[File:Golden Hoe JE1 BE1.png|width=32x32]][[File:Diamond Hoe JE1 BE1.png|width=32x32]][[Hoe]]s
* Used to till dirt and grass blocks into farmland.
;Food-related items
* [[File:Apple JE1 BE1.png|width=32x32]][[Apple]]s
* [[File:Bread JE1 BE1.png|width=32x32]][[Bread]]
* [[File:Mushroom Stew JE1 BE1.png|width=32x32]][[Mushroom stew]]
* [[File:Raw Beef JE1 BE1.png|width=32x32]][[Raw beef]]
* [[File:Steak JE1 BE1.png|width=32x32]][[Steak]]
* [[File:Raw Chicken JE1 BE1.png|width=32x32]][[Raw chicken]] 
* [[File:Cooked Chicken JE1 BE1.png|width=32x32]][[Cooked chicken]]
* [[File:Raw Porkchop JE1 BE1.png|width=32x32]][[Raw porkchop]]
* [[File:Cooked Porkchop JE2 BE1.png|width=32x32]][[Cooked porkchop]]
* [[File:Wheat Seeds JE1 BE1.png|width=32x32]][[Wheat seeds]]
;[[File:Egg JE1 BE1.png|width=32x32]][[Egg]]s
* Used as a throwable entity.
* Is currently unobtainable.

=== Gameplay ===
;[[Difficulty]]
* Peaceful difficulty option for [[Survival]] that has automatic health regeneration and doesn't spawn [[monsters]].

=== General ===
* Added crafting recipes for some blocks:
**[[TNT]]
** [[Chest]]s
** [[Wool]]

== Changes ==

=== Blocks ===
;[[File:Chest (S) BE1.png|width=32x32]][[Chest]]s
* Can now be crafted with eight wooden planks.
* Are now functional in Survival mode, and are able to store other items and blocks in them.
;[[Farmland]]
* Changed texture from [[File:Farmland BE2.png|32px]] to [[File:Farmland JE3 BE3.png|32px]].
;[[Fence gate]]
* Changed texture from [[File:Oak Fence Gate BE1.png|32px]] to [[File:Oak Fence Gate JE2.png|32px]].

=== Items ===
;[[File:Snowball (inventory) BE1.png|width=32x32]][[Snowball]]s
* Can now be thrown.
;[[File:Gunpowder JE1 BE1.png|width=32x32]][[Gunpowder]]
* Can now be used to craft TNT.
;[[File:Wheat JE1 BE1.png|width=32x32]][[Wheat]]
* Now obtainable via [[farming]] 
* Can be used to craft [[bread]].
;[[File:Red Dye JE1 BE1.png|width=32x32]][[Rose red]]
* {{Version exclusive}}: is now obtainable by smelting [[red mushroom]]s.
* Can now be crafted into red [[wool]].
;[[File:Orange Dye (inventory) BE1.png|width=32x32]][[Orange dye]]
* Can now be crafted with rose red and [[dandelion yellow]].
* Can now be crafted into orange wool.
;[[File:Lime Dye JE1 BE1.png|width=32x32]][[Lime dye]]
* Can now be crafted with cactus green and [[bone meal]].
* Can now be crafted into lime wool.
;[[File:Green Dye JE1 BE1.png|width=32x32]][[Cactus green]]
* Can now be crafted into green wool.
;[[File:Cyan Dye JE1 BE1.png|width=32x32]][[Cyan dye]]
* Can now be crafted with cactus green and [[lapis lazuli]].
* Can now be crafted into cyan wool.
;[[File:Light Blue Dye JE1 BE1.png|width=32x32]][[Light blue dye]]
* Can now be crafted with bone meal and lapis lazuli.
* Can now be crafted into light blue wool.
;[[File:Purple Dye JE1 BE1.png|width=32x32]][[Purple dye]]
* Can now be crafted with rose red and lapis lazuli.
* Can now be crafted into purple wool.
;[[File:Magenta Dye JE1 BE1.png|width=32x32]][[Magenta dye]]
* Can now be crafted with two rose red, lapis lazuli, and bone meal.
* Can now be crafted into magenta wool.
;[[File:Pink Dye JE1 BE1.png|width=32x32]][[Pink dye]]
* Can now be crafted with rose red and bone meal.
* Can now be crafted into pink wool.

=== Mobs ===
* Limited the total number of any given [[mob]] type.
* Animal spawning (being worked on){{info needed}}
;[[File:Zombie JE2 BE1.png|width=56x56]][[Zombie]]s
* Now has a chance to drop a [[feather]] on death.
;[[File:Creeper JE3 BE1.png|width=53x53]][[Creeper]]s
* Now spawn naturally.

=== World generation ===
; [[File:Oak BE6.png|width=64x64]][[Oak tree]]s
* Now generate with oak logs instead of spruce logs.

=== Gameplay ===
* Increased the length of the [[daylight cycle]] from 14,400 ticks (12 minutes) to 19,200 ticks (16 minutes).
* When using an item, the player’s movement speed is decreased.
* All targetable blocks are now instantly mineable in Creative mode.
** Bedrock is also breakable, allowing for access to the [[void]] without external editing.
; [[Creative inventory]]
* Additions:
** [[Moss stone]]
** [[Log|Oak wood]]
** [[Redstone ore]]
** [[White wool]]
** [[Trapdoor]]
** [[Bed]]
** [[Chest]]
** [[TNT]] (Android only)<ref name="missing tnt">https://bugs.mojang.com/browse/MCPE-17</ref>
** [[Wheat seeds]]
** [[Bone meal]]
** [[Iron hoe]]
** [[Iron sword]]
* Removals:
** [[Stone shovel]]
** [[Stone pickaxe]]
** [[Stone axe]]
** [[Shears]]
** [[Stone sword]]

=== General ===
* The game no longer attempts to verify the player's license, allowing devices that do not own ''Minecraft'' in their respective app store to play the game.

== Fixes ==

'''15 bugs fixed'''

* Monsters could spawn indoors.
* Added fall damage for clients.
* Players could hit each other far away.
* Incorrect [[bow]] rendering in third person view.
* Missing particles after critical [[arrow]]s
* [[Stairs]] reverted to their basic blocks when destroyed
* Drawing the bow could destroy certain blocks ([[flower]]s, [[torch]]es), or interact with blocks.
* The game crashes if the player is killed while having charging a bow.
* Connecting players could die in Creative mode.
* Spruce leaves sometimes use the [[crafting table]] texture on all sides when dropped as an item or held in the player's hand.
* Wrong crafting table size for Xperia Play
* Bow doesn't take damage when used.
* Non-dark brown [[tree]] trunks are now added back to the game (you may need to start a new world as host).
* Destroying a [[door]] could leave half a door.
* Spider death sound was missing on iOS.</onlyinclude>

== Internal version ==
The internal version is 0.4.0(4005), and has a size of 5.32 MB.

== J-version ==
[[File:Pocket Edition v0.4.0j alpha.png|thumb|The title screen of ''Pocket Edition'' a0.4.0j]]
v0.4.0j alpha<ref>{{bug|MCPE-19}}</ref> was released on Google Play on an unknown release date. The internal version is 0.4.0(4000), and the size is 2.16 MB.

== Videos ==
<onlyinclude>

=== Trailer ===
A trailer for the update was released on September 6, 2012.
{{CV|ybd8axPq9kE|Minecraft — Pocket Edition 0.4.0 Update!}}

== References ==
{{reflist}}

== Navigation ==
{{Navbox Bedrock Edition versions|Alpha}}

[[cs:Pocket Edition Alpha 0.4.0]]
[[de:Pocket Edition Alpha 0.4.0]]
[[es:Pocket Edition v0.4.0 alpha]]
[[fr:Version portable Alpha 0.4.0]]
[[hu:Pocket Edition v0.4.0 alpha]]
[[pt:Edição Pocket v0.4.0 alpha]]
[[ru:Alpha 0.4.0 (Pocket Edition)]]
[[zh:携带版0.4.0]]
