Template talk:BlockSprite

Nintendon't Work
This template gives me trouble when I use Opera, a browser. Instead of just using the one little icon for the image, it shows the entire sheet of icons! Anyone know how to fix this? --Ikalpo 17:13, 12 June 2011 (UTC)


 * It works for me in Opera 11.11 and 11.50 on Windows 7. I'm guessing based on the section header that you're using the version of Opera Mini included on the Nintendo Wii? Unfortunately, I don't have a Wii at the moment and so can't test it there. 「 ダイノ ガイ 千？！ 」? · ☎ Dinoguy1000 21:30, 5 August 2011 (UTC)

Air Portal and Air Portal Cracked
Why were these two removed? --HexZyle 04:30, 22 October 2011 (UTC)
 * Renamed in end portal, I've fix the doc. – Scaler (t) 07:56, 22 October 2011 (UTC)
 * I mean the images. The actual bluey cracked portal and bluey transparent glass cube. Shouldn't they be on this template? I mean, gear and crying obsidian are there. (but the old cobble, lava, and mossy cobble aren't there...but that's probably because their updated versions aren't that drastically different) --HexZyle 21:33, 27 October 2011 (UTC)

End Portal Correct Rotation
Ok, so I made some schematics for the end portal creation here: End Portal, (as an imation of the Nether Portal schematics) but it wont work unless the sprites on the sides of the portals are rotated so that the eye has a horizontal line (the rotation of the frame blocks affect if the portal will actually work or not) tl;dr, it would be helpful if we had another two sprites that are just these two:  rotated ninety degrees. --HexZyle 21:34, 27 October 2011 (UTC)

Stuff needed to be added
The image needs to be added to the list, Is is already on the sprite and just needed to be added to the list. --007a83 (Talk&#124;Contribs) 20:31, 28 August 2012 (UTC)
 * Done. --Kumasasa 20:36, 28 August 2012 (UTC)


 * And Now we need the Mob head =/ --007a83 (Talk&#124;Contribs) 18:50, 1 September 2012 (UTC)


 * Some one added it --007a83 (Talk&#124;Contribs) 17:53, 2 September 2012 (UTC)


 * I added the head! Check the upload log Grid Cakebomb.png Arrran Weeviling The Inventor of the Cake Bomb! 18:07, 2 September 2012 (UTC)
 * Some on needs to add the wooden Button to the BlockCSS--007a83 (Talk&#124;Contribs) 20:49, 13 October 2012 (UTC)

Already added. metarmask  05:01, 9 December 2012 (UTC)

So what about wooden half steps? --Celtic Minstrel 05:47, 25 December 2012 (UTC)

Air block
RoelofButer 16:17, 24 March 2013 (UTC) The air is not transparent, but it shows something that looks like glass! i hopeit will be fixed soon...

Block Variations
May I add some images, a variation of planks like the wood slab/stairs and each type of stairs (except wood variations). It would help the explosion article.

--KnightMiner (talk 00:18, 28 December 2013 (UTC)


 * Added now, and also to explosion article. --KnightMiner (talk 18:22, 28 December 2013 (UTC)
 * Nice :) -- TheWombatGuru   t undefinedc  NL Admin  13:09, 29 December 2013 (UTC)

Full list on documentation broken.
The tab Full list on the documentation has a script error. And since I'm 99%, I can't fix it, so please fix it someone who has the knowledge. ▶ ZlingerZZ ◀ ( talk 19:52, 14 June 2014 (UTC)


 * I think it was out of memory, or was taking too long to load. There was a previous discussion about this, see here. --KnightMiner  (t 20:07, 14 June 2014 (UTC)

Unnamed sprites
The following sprites don't have names in Module:BlockSprite/IDs:

36:, 96: , 254: , 278: , 302: , 303: , 304: , 320: , 326: , 327: , 328: , 350: , 351: , 352: , 371: , 372: , 373: , 375: , 376: , 384: , 530: , 538: , 539: , 547: , 551:

If anybody wants to help identify these, that'd be awesome --, you added some of these last ones, can you advise?

– Sealbudsman (Aaron) t/c 04:43, 22 May 2015 (UTC)


 * got some of the easy ones: 55, 205 , 249 , 250 , 251 , 279 , 321 , 344 , 345 , 349 , 361 , 362 , 363 , 364 , 365 , 366 , 367 , 368 , 369 , 370 , 546 – Sealbudsman (Aaron) SealbudsmanFace.png t/c 06:00, 22 May 2015 (UTC)


 * 384 is the default sprite for names without numbers, it is referenced in Module:BlockSprite. Really does not need a name, as no one should be displaying it.
 * 36 and 96 are empty sprites. It is simply no one has bothered fill them. Feel free to use those spaces.
 * 302-304, 327-328, 350-352, 371-373, and 375-376 are leftover sprites from old versions of terrain.png. The lava and water one stored the animation for said blocks on runtime, and the rest never had a use. Again, feel free to use those spaces.
 * 254 is the tripwire texture, though since we have a "render" of how it displays in game, I would say that space is free to use as well.
 * As for 530, 538, 539, 547, and 551, those seem like renders either of non-blocks, or renders that would never get used (such as the Minecraft 2.0 talking block at 547). I would simply delete those.
 * On a related note, we should not have 543 since its a useless spaceholder similar to the water and lava I mentioned eariler. 505, 506 , or 529  are all entities, so they are on the wrong sprite sheet. Lastly, 528  is never going to be used, as we do not reference Minecraft 2.0 features in any other articles, and no sprites are used on Minecraft 2.0. – KnightMiner  t/c 03:25, 23 May 2015 (UTC)


 * I've removed the sprites I mentioned as unneeded, and now I have the question: do we really need the unused feature sprites? Namely, colored wooden planks, the chair, and crying obsidian? None of them are applicable outside of the unused/mentioned features article. – KnightMiner  t/c 01:42, 25 May 2015 (UTC)


 * Remove them, they are useless. – LauraFi -  talk  01:55, 25 May 2015 (UTC)


 * I agree, let's toss em. Also, the cake item, and the hopper item.  Actually.. Is it possible to get a list of where each sprite is used? Like a DPL that was aware of the parameters of the template, or something..?  Lastly, can we put some obvious 'empty' marker where the blanks are, so you know, people know where they can insert new sprites? – Sealbudsman (Aaron) SealbudsmanFace.png t/c 11:16, 25 May 2015 (UTC)


 * Yeah, I agree with tossing those too, as we have a better render for both of those. As for the empty marker, since the air texture now has a slight border, people can assume that any empty space is available, but otherwise it is not too hard to search for a number in the module to see if it has a name (and if no name, you can assume unused).
 * For the list, using DPL would be complicated, I am not really sure if it would work. Otherwise an idea would be modifying the sprite template to allow adding categories to specific sprite numbers for deprecation. – KnightMiner  t/c 15:15, 25 May 2015 (UTC)
 * Yeah, let's modify the sprite template. DPL just came to mind, specific implementation isn't important. Also.. cog 71, underside of cake 181 , underside of cactus 104 , side of bed 222-225 , top of brewing stand 229 , innards of cauldron 203,204,228 , full-side of anvil 320 , preview flower 469 , seems no one would use those? Anyway adding categories via sprite template would tell us the answer to that. – Sealbudsman (Aaron) SealbudsmanFace.png t/c 16:20, 25 May 2015 (UTC)


 * Rather than deprecating individual sprites, would it make sense to have Module:Sprite automatically add a category based on which sprite is being used? For example, Category:BlockSprite-2, Category:ItemSprite-137, etc.. Each category could be inspected to see if and where a given sprite is used. If we do this, someone should have a bot create them all as hidden categories first. — Orthotopetalk 17:08, 25 May 2015 (UTC)


 * I had not though of that as a solution. It could work, though it would certainly flood pages with categories, especially from sprites used from certain navboxes. Since categories are added simply by adding text, it should not decrease efficiency too much per sprite, but it might cause a small dip in efficiency in pages that use a lot of sprites, especially since every sprite call would add a category. It would definitely need to be set as optional though, so pages using certain sheet, like comment, would not be marked.
 * The only real downside from that as opposed to the solution I came up with that I can think of is you cannot have a certain name value as deprecated, as it marks by number IDs instead. – KnightMiner  t/c 17:49, 25 May 2015 (UTC)


 * At the risk of being too trigger-happy: more I propose we at least look at, once we get a Category system going that can review these things: 45-degree single-block bed 20, 45-degree cake 44 , side-grass layer 55 , multi tulips 93 , brewing stand top 230 , redstone torches 65,66 vs 148,172 , torches 69 vs 121 , levers 70 vs 145.


 * There are also the "old texture" sprites: dark shrub 56, ruby ore 187 , full-block original chests 162-168 , purple placeholder texture 186 , air portals 188, 189 , "block 36" 210 , old beacon 240 , original bricks 309 , infinite water and lava 443,444 , original grass 496 , original cobble 520 , indev cobble 544 , original planks 521 , original gravel 545 , original dispenser 522 , original iron block 546 . I know we're at least using original bricks and original grass in Computer versions, and dark shrub in grass, but I figure as a group they deserve a little consideration. – Sealbudsman (Aaron) SealbudsmanFace.png t/c 21:34, 25 May 2015 (UTC)

Sprite rotation
Hello, is it possible to add the four 90° rotations for each colored glazed terracotta block? It would be easier to make patterns on the wiki (see Talk:Glazed Terracotta). Or perhaps add a rotation option to the template so it would work for any block? — Thomas645 (talk) 09:54, 12 February 2017 (UTC)
 * It can be achieved using CSS. For example,  produces, but   produces . However, if patterns are to be shown, this may need to be implemented for BlockGrid. , can you edit the module? The BlobsPaper.png 16:09, 12 February 2017 (UTC)


 * I've added an option in BlockSprite so you can have rotations for every block, using CSS as you suggested. It may not be the best Lua code though, as I'm no expert. Anyway, thank you for your answer. — Thomas645 (talk) 14:57, 21 February 2017 (UTC)