[Question]
  [
In [Minecraft](http://en.wikipedia.org/wiki/Minecraft), the [default item textures](https://i.stack.imgur.com/mbk6q.png) are all reasonably simple 16×16 pixel images, which makes them seem ideal for [golfing](http://en.wikipedia.org/wiki/Code_golf).
Below are simplified textures of the five "core" diamond tools in Minecraft: [pickaxe](http://minecraft.gamepedia.com/Pickaxe), [shovel](http://minecraft.gamepedia.com/Shovel), [axe](http://minecraft.gamepedia.com/Axe), [sword](http://minecraft.gamepedia.com/Sword), and [hoe](http://minecraft.gamepedia.com/Hoe).
**The images shown are enlarged to show their detail. Click on an image to view its correctly sized 16×16 pixel version.**
[![pickaxe](https://i.stack.imgur.com/RoOaH.png)](https://i.stack.imgur.com/tMLhy.png) [![shovel](https://i.stack.imgur.com/Cfv5B.png)](https://i.stack.imgur.com/xqFA2.png) [![axe](https://i.stack.imgur.com/e7J2a.png)](https://i.stack.imgur.com/51TKK.png) [![sword](https://i.stack.imgur.com/OqQyG.png)](https://i.stack.imgur.com/7vXjE.png) [![hoe](https://i.stack.imgur.com/3iHHS.png)](https://i.stack.imgur.com/hc3zB.png)
To make golfing easier, I've modified each of them from [the originals](https://i.stack.imgur.com/zOWJm.png) to only use the five same 24-bit RGB colors:
* `R=75 G=82 B=73` for the background.
* `R=51 G=235 B=203` for the diamond tool heads.
* `R=14 G=63 B=54` for the diamond outlines.
* `R=137 G=103 B=39` for the wooden handle core.
* `R=40 G=30 B=11` for the wooden handle outlines.
Choose your favorite tool out of the five and write a program that outputs its simplified 16×16 pixel texture in any common lossless truecolor image format (such as `bpm`, `png`, `ppm`, etc.).
So, for example, if you chose the axe, you would write a program that outputs this image: ![axe example](https://i.stack.imgur.com/51TKK.png)
No input should be taken and a web connection should not be required. The image can be output as a file with the name of your choice, or the raw image file data can be output to stdout, or you can simply display the image.
You only need to choose *one* of the five images. **The program that outputs any one of the five images in the fewest number of bytes is the winner.**
You may write programs for more than one of the images, but only the one with the minimum number of bytes counts towards your score. If there's a tie, the highest voted post wins.
---
*If you enjoy [PPCG](https://codegolf.stackexchange.com/) and play Minecraft, I invite you to come join our trial Minecraft server. Just ask in [the dedicated chatroom](http://chat.stackexchange.com/rooms/24544/ppcg-minecraft-server).*
  
[Answer]
# Minecraft 18w11a (.mcfunction), 757 bytes
```
fill ~ ~ ~ ~15 ~ ~15 ice
fill ~13 ~ ~13 ~7 ~ ~11 cyan_wool
fill ~12 ~ ~14 ~10 ~ ~8 cyan_wool
fill ~12 ~ ~13 ~10 ~ ~11 diamond_block
fill ~11 ~ ~12 ~9 ~ ~10 diamond_block
fill ~10 ~ ~11 ~8 ~ ~9 diamond_block
fill ~3 ~ ~4 ~1 ~ ~2 dirt
setblock ~3 ~ ~4 oak_planks
setblock ~2 ~ ~3 oak_planks
clone ~3 ~ ~4 ~1 ~ ~2 ~4 ~ ~5
setblock ~4 ~ ~5 oak_planks
setblock ~4 ~ ~7 ice
setblock ~6 ~ ~5 ice
clone ~6 ~ ~5 ~4 ~ ~7 ~7 ~ ~8
setblock ~9 ~ ~10 diamond_block
setblock ~4 ~ ~4 dirt
setblock ~3 ~ ~5 dirt
setblock ~7 ~ ~7 dirt
setblock ~6 ~ ~8 dirt
setblock ~1 ~ ~2 ice
fill ~12 ~ ~9 ~12 ~ ~8 ice
setblock ~11 ~ ~8 ice
fill ~8 ~ ~13 ~7 ~ ~13 ice
setblock ~7 ~ ~12 ice
fill ~ ~ ~ ~15 ~ ~15 light_gray_concrete replace ice
fill ~ ~ ~ ~9 ~ ~10 dark_oak_bark replace dirt
```
Of course someone had to answer the question with Minecraft. Place answer inside of a datapack, and run with `/function <packname>:<filename>`. The shovel is drawn relative to you in the +X and +Z direction. Colors are wrong but I'll count that as a language limitation ;)
But the shovel is actually made out of wood and diamonds!!!!
## Output
[![Shoveled](https://i.stack.imgur.com/hL2dC.png)](https://i.stack.imgur.com/hL2dC.png)
[Answer]
# JavaScript ES6, 353 bytes
```
document.write(`<p style="width:1px;height:1px;box-shadow:${'931a31b31841940a40b40c41951a51b50c50d51e53f52b61c60d60e62f63c73d70e70f71b83c82d83e81a93b92c939a3aa2ba38b39b2ab37c38c29c36d37d28d35e36e27e34f35f26f34g35g3'.replace(/.../g,e=>(p=parseInt)(e[0],17)+`px ${p(e[1],17)}px 0 #${['33EBCB','0E3F36','896727','281E0B'][e[2]]},`)}9px 9px 0 8px #4B5249"`)
```
This heavily abuses CSS3 [box-shadows](https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow) to create a pixelized version of the image, in this case the Minecraft hoe. The Stack Snippet below uses ES5 for easy testing and is somewhat ungolfed (You'll have to zoom in to see it well).
```
s='931a31b31841940a40b40c41951a51b50c50d51e53f52b61c60d60e62f63c73d70e70f71b83c82d83e81a93b92c939a3aa2ba38b39b2ab37c38c29c36d37d28d35e36e27e34f35f26f34g35g3'.replace(/.../g,function(e){
  return parseInt(e[0],17)+'px '+parseInt(e[1],17)+'px 0 #'+['33EBCB','0E3F36','896727','281E0B'][e[2]]+','
})
document.write('<p style="width:1px;height:1px;box-shadow:'+s+'9px 9px 0 8px #4B5249"')
```
[Answer]
# [CJam](https://sourceforge.net/p/cjam), 119 bytes
```
'P3NGSGN255N]o67T"…vîþáy$<OW¥ÓNZ"256b9b~99T]2/e~W%"LRI?6jêÌ'
…f-":i3/f=F,_W%:)+{)/(\:~}%{G/({)S*S+oNo}%1>\:~+}G*
```
[Try it online!](https://tio.run/##S85KzP3/Xz3A2M892N3PyNTULzbfzDxE6VBr2eF1h/cdXijEwlypYuMffmjp4cn8h@b6RSkZmZolWSbVWVqGxBrpp9aFqyr5BHlK2ZtlHV51uEddjutQa5quklWmsX6arZtOfLiqlaZ2taa@RoxVXa1qtbu@RrVmsFawdr5ffq2qoR1QVLvWXev/fwA "CJam – Try It Online")
I've chosen the shovel.
This program prints a PPM file to STDOUT.
The basic idea is to unroll the image along antidiagonals and then use run-length encoding. With this technique, the shovel contains the fewest runs. For reference the number of runs per image (in the order given in the challenge) is:
```
{60, 26, 38, 43, 37}
```
[Answer]
# [05AB1E](https://github.com/Adriandmen/05AB1E), ~~113~~ 97 bytes
*-16 by using RLE (run-length encoding) for the color palette indices.*
```
„P3žvD₅•P{¡æjž²+JGÀ‰íÔñ•Ƶ‡в3ô•N…ý~îc|\мï¶„Ä^€¿^•5в¦•RθÅª`<≠cλS²bÖ"₁Þ@„ÉI¬5øëY4ÀΘØ¥P@û h•29вÅΓè˜»»
```
[Try it online!](https://tio.run/##AbcASP9vc2FiaWX//@KAnlAzxb52ROKCheKAolB7wqHDpmrFvsKyK0pHw4DigLDDrcOUw7HigKLGteKAodCyM8O04oCiTuKApsO9fsOuY3xc0LzDr8K24oCew4Re4oKswr9e4oCiNdCywqbigKJSzrjDhcKqYDziiaBjzrtTwrJiw5Yi4oKBw55A4oCew4lJwqw1w7jDq1k0w4DOmMOYwqVQQMO7IGjigKIyOdCyw4XOk8Ooy5zCu8K7//8 "05AB1E – Try It Online") Beats all other answers. Outputs a plain PPM of a diamond hoe.
**Note:** The first `»` can be a `)` (or a `¶`, `ð`, or `õ`) to output the image data separated by spaces: [Try it online!](https://tio.run/##AbYASf9vc2FiaWX//@KAnlAzxb52ROKCheKAolB7wqHDpmrFvsKyK0pHw4DigLDDrcOUw7HigKLGteKAodCyM8O04oCiTuKApsO9fsOuY3xc0LzDr8K24oCew4Re4oKswr9e4oCiNdCywqbigKJSzrjDhcKqYDziiaBjzrtTwrJiw5Yi4oKBw55A4oCew4lJwqw1w7jDq1k0w4DOmMOYwqVQQMO7IGjigKIyOdCyw4XOk8Ooy5wpwrv//w "05AB1E – Try It Online") However, in the [official PPM Format Specification](http://netpbm.sourceforge.net/doc/ppm.html), under [*Plain PPM*](http://netpbm.sourceforge.net/doc/ppm.html#plainppm), it states:
> 
> * No line should be longer than 70 characters.
> 
> 
> 
It still renders properly, but is not recommended.
The first `»` can also be a ``` with no change in functionality: [Try it online!](https://tio.run/##AbYASf9vc2FiaWX//@KAnlAzxb52ROKCheKAolB7wqHDpmrFvsKyK0pHw4DigLDDrcOUw7HigKLGteKAodCyM8O04oCiTuKApsO9fsOuY3xc0LzDr8K24oCew4Re4oKswr9e4oCiNdCywqbigKJSzrjDhcKqYDziiaBjzrtTwrJiw5Yi4oKBw55A4oCew4lJwqw1w7jDq1k0w4DOmMOYwqVQQMO7IGjigKIyOdCyw4XOk8Ooy5xgwrv//w "05AB1E – Try It Online")
### Pure GIF compression, ~~109~~ 107 bytes
```
•+Ùι1Ù³œ¤∞4ûи„ĆQ´ηÏzεÝ₅¼úΣ¨ü6Ó…Ï,È–ð:<û∞¢Þ§α»«¥<çp:Ù“ζÞ¢ó‡lÿнδßiÌ$}ªiƒ*₅xΛxJ=yh‹×м’’®']!JÍ¦Z¹JQc›Vàÿ¸Ìм•h2ô
```
[Try it online!](https://tio.run/##FYxPS8JwGMdfSyAE2sWQDmJvYDcvHoIOGoKDoKCLCsKDUHhQBHeIkU5dpaEgyuafuYXwfMvjj72G543Mef78eXoplvRyFAnZKZjKS8Nk59/gL2lZGfjhTsj6e8uzq7bo1tUaA2m@coC9@uQfBDcwhCboXqElZGCZzcGPS7Zh8VSt2Oc5f@cwfc7CFOqrDc7MERo/4hD@KhdDHe1Eg2f6sZeM11X1UdVuaxUhD@9hIBRnJi8u7y80dHhyx56WfxDaFzDCgXdonx27cg03ik4 "05AB1E – Try It Online") Outputs as a list of hexadecimal codepoints.
```
•...•h2ô  # trimmed program
•...•     # 121686424391392225557581524495943776461362082974476220323034665137613008241067075561955081975776948192923502794622971144661356950543760600319115998403445050769039958830830234731371315671091547736084642764295720991029129326629299863698388004372539...
     h    # in hexadecimal...
       ô  # split into pieces of length...
      2   # literal
          # implicit output
```
[Answer]
# Node.JS using [jimp](https://www.npmjs.com/package/jimp), ~~393~~ ~~377~~ 376 bytes
377, 376 thanks to [Makonede](https://codegolf.stackexchange.com/questions/51556/golf-your-favorite-minecraft-tool#comment516210_222504)
```
new(require('jimp'))(16,16,1263684095,(e,i)=>{i.z=i.setPixelColor;i.z(x=673057791,2,12);i.z(x,4,14);i.z(d=871091199,13,3);for(j=0;j<8;j++){i.z(w=2305239039,3+j,13-j);i.z(x,2+j,13-j);i.z(x,3+j,14-j)}for(j=0;j<3;j++){i.z(e=239023871,11+j,2);i.z(e,14,3+j);i.z(e,8+j,5-j);i.z(d,9+j,5-j);i.z(d,10+j,5-j);i.z(d,10+j,6-j);i.z(d,11+j,6-j);i.z(d,11+j,7-j);i.z(e,11+j,8-j)}i.write('')})
```
I'm not sure if this one is allowed as it uses a separate library for processing the image.
Uses hex colors in decimal, sets `i.s` to `i.setPixelColor` to save bytes, sets color variables as it's first used
[Answer]
## Python 3, 483 bytes
I chose to make the sword
```
from PIL import Image as IG, ImageColor as IC
s=IG.new('RGB',(16,16))
w='#6b6727'
b='#4b5249'
d='#33ebcb'
a='#0e3f36'
n='#281e0b'
t=b*13+a*3+b*12+a+d*2+a+b*11+a+d*3+a+b*10+a+d*3+a+b+b*9+a+d*3+a+b*2+b*8+a+d*3+a+b*3+b*2+a*2+b*3+a+d*3+a+b*4+b*2+a+d+a+b+a+d*3+a+b*5+b*3+a+d+a+d*3+a+b*6+b*3+a+d+a+d*2+a+b*7+b*4+a+d+a*2+b*8+b*3+n+w+a+d*2+a+b*7+b*2+n+w+n+b+a*2+d+a+b*6+a*2+w+n+b*4+a*2+b*6+a+d+a+b*13+a*3+b*13
s.putdata([IC.getrgb(t[i:i+7]) for i in range(0,len(t),7)])
s.save('s.png','PNG')
```
here is the output:
[![enter image description here](https://i.stack.imgur.com/UITsI.png)](https://i.stack.imgur.com/UITsI.png)
I created a string for each color, and combined them to get a string of hexadecimal numbers. Then I used the python image library to convert that string into an image.
[Answer]
# [GIF](https://www.w3.org/Graphics/GIF/spec-gif89a.txt), 102 bytes
Hexdump:
```
00000000: 4749 4638 3961 1000 1000 7000 002c 0000  GIF89a....p..,..
00000010: 0000 1000 1000 824b 5249 0e3f 3633 ebcb  .......KRI.?63..
00000020: 281e 0b89 6727 0000 0000 0000 0000 0003  (...g'..........
00000030: 3308 babc f12d 8220 4490 8cd6 8b67 b59d  3....-. D....g..
00000040: b785 1a98 71a2 9981 25da 506d 078f a4e5  ....q...%.Pm....
00000050: 4a03 a1dd 4c3e 4cb0 c883 f073 f082 21c5  J...L>L....s..!.
00000060: 8327 4900 003b                           .'I..;
```
Renders as:
![Diamond Sword](https://i.stack.imgur.com/0wCn1.gif)
]