Template talk:BlockSprite - minecraft.fandom.com

Jump to navigation Jump to search
Treść tej podstrony pochodzi z artykułu „Template talk:BlockSprite” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0

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|Contribs) 20:31, 28 August 2012 (UTC)

Done. --Kumasasa 20:36, 28 August 2012 (UTC)
And Now we need the Mob head =/ --007a83 (Talk|Contribs) 18:50, 1 September 2012 (UTC)
Some one added it --007a83 (Talk|Contribs) 17:53, 2 September 2012 (UTC)
I added the head! Check the upload log Grid Cakebomb 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|Contribs) 20:49, 13 October 2012 (UTC)

Already added. metarmaskIn CRM archaeology one common way of exploring an area that has not been surveyed is shovel testing. 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|contribs) 00:18, 28 December 2013 (UTC)

Added now, and also to explosion article. --KnightMiner (talk|contribs) 18:22, 28 December 2013 (UTC)
Nice :) -- TheWombatGuru t | c 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 | contribs | edits ) 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|c) 20:07, 14 June 2014 (UTC)

Unnamed sprites[]

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

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 -- CmdLP, you added some of these last ones, can you advise?

Sealbudsman (Aaron) SealbudsmanFace 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, 546Sealbudsman (Aaron) SealbudsmanFace 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 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 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#History, but I figure as a group they deserve a little consideration. – Sealbudsman (Aaron) SealbudsmanFace 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#Terracotta designs?). 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, {{BlockSprite|Red Glazed Terracotta}} produces , but {{BlockSprite|Red Glazed Terracotta|css=transform:rotate(90deg)}} produces . However, if patterns are to be shown, this may need to be implemented for {{BlockGrid}}. Majr, can you edit the module? The BlobsPaper JE2 BE2 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)

Upside-Down Stairs[]

This might already be possible, but can someone please make a different sprite for upside-down and right-side-up stairs, or at least a way to differentiate them? It would help out a lot for things like the Structure Blueprints project, especially the End City blueprints.

Gregatron6000 (talk) 09:29, 26 February 2017 (UTC)

It can be achieved by setting {{{css}}} to transform:rotate(180deg). Thomas645 implemented this feature for {{BlockGrid}}. However, I am not sure how to use it; you will need to check the module's edit history. The BlobsPaper JE2 BE2 15:33, 26 February 2017 (UTC)
Just append -rot<degrees> to the end of a sprite name. Note that the texture will look a bit weird from some rotations though, as the texture has an orientation (which is part of the reason I am hesitant to add a flip feature rather than just adding stairs facing the other way). If it turns out to be wanted it should be easy enough to add flipping in the X and Y directions though. KnightMiner t/c 21:57, 26 February 2017 (UTC)

"silver-bed" don't work correctly[]

Other similar sprite except silver bed can work correctly.----Lxazl5770Tl·Cu) 06:51, 4 October 2017 (UTC)

Fixed, there was a typo in the ID page. -- Orthotopetalk 07:01, 4 October 2017 (UTC)

Add 2.0 tinted glass[]

It's in InvSprite, why not here? - MinecraftPhotos4U (talk) 13:15, 15 May 2018 (UTC)

Because it is not being used anywhere. Sprites are added here because they are needed rather than for the sake of having them. The ones in InvSprite are used on the Minecraft 2.0 page to show its crafting recipes. KnightMiner t/c 15:09, 15 May 2018 (UTC)
I intend to use them on the version nav template to represent the three versions of 2.0. - MinecraftPhotos4U (talk) 15:11, 15 May 2018 (UTC)
If they are needed, add the icon (though just the ones you use), but right now the icon is the redstone bug which I think is much better as tinted glass looks way too similar to the non 2.0 feature of stained glass. KnightMiner t/c 15:28, 15 May 2018 (UTC)

Missing sprites[]

A few of sprites are missing:

  • oak-sign (oak-wall-sign)
  • spruce-sign (spruce-wall-sign)
  • birch-sign (birch-wall-sign)
  • jungle-sign (jungle-wall-sign)
  • acacia-sign (acacia-wall-sign)
  • dark-oak-sign (dark-oak-wall-sign)

FVbico (talk) 17:29, 12 November 2018 (UTC)

Block Scale (for schematics)[]

Because Magmablock is now useful beyond just killing mobs (or yourself), It would be nice to have an option in the template to change the scale for all blocksprites to a schematic scale (scaling up by two). I would try to do it, but I'm not the most familiar with the lua scripting used to create the blocksprites and don't want to ruin it. For example;

{{BlockSprite|magma-block-texture-update|schematic="1"}}

might generate: instead of

Similarly, specifying "0" for the "Schematic" Parameter, or just leaving it out would generate the small version.

DarthKeidran (talk) 11:48, 9 April 2019 (UTC)

You can already change the scale using the scale parameter on blocksprite, which is much more clear (and smaller to type) then an arbitrary schematic parameter: . Its especially easy to do in block grids as you only have to specific scale once:
KnightMiner t/c 00:20, 11 April 2019 (UTC)
Thank you for this.
I guess the documentation needs updated, that or I kept using all the wrong keywords when searching.
DarthKeidran (talk) 10:00, 11 April 2019 (UTC)
Really its just that any parameter that works in {{sprite}} works in {{blockSprite}}, though it would help to state that on the docs. KnightMiner t/c 00:57, 12 April 2019 (UTC)

How do you add block?[]

How can I help adding blocks? There is no clear guide how to do this. The Lua template doesn't link to anywhere where you can add new block sprites. 185.253.97.140 20:22, 31 January 2020 (UTC)

Sheet compression[]

Hi. The block sprite sheet (and all others on the wiki) appears to have been have been highly compressed. All the textures in all sheets are now very blurry and can be compared to a compressed JPEG file. Attempting to upload a more cleaner version of the file just results in more compression, I'm pretty sure. Also, EVEN THE OLDER VERSIONS OF THE SPRITE SHEETS HAVE BEEN COMPRESSED. This could have been caused by the domain migration somehow, since I don't recall it being like this before. Ever. I think all other files have been compressed, but its most major on the sprite sheets, mainly this one. -Ultsppi (talk) 01:24, 23 March 2021 (UTC)

I also noticed it on the Template page. They only show up dirty in the icons on the list for template documents, but on other pages they show up fine. Here is an example of a particularly dirty Shulker Box. --Pneuma01 (talk) 10:39, 12 June 2021 (UTC)