Chisel-Team / Chisel

A builder's best friend
http://chisel.team
GNU General Public License v2.0
183 stars 133 forks source link

Add full-sized Grass Path as chiselled Grass block #429

Open ZwipZwapZapony opened 7 years ago

ZwipZwapZapony commented 7 years ago

The Grass Path block is a block in vanilla MineCraft than can be acquired by right-clicking Grass with a shovel. It looks pretty neat, with a kind of yellow-ish tone to the grass instead of green... but it's 15 units tall instead of 16. This can be problematic when it comes to precise builds, or when wanting to use it with mods that only support full blocks (such as Chisel & Bits or ArchitectureCraft).

Despite the sides being 15 units tall instead of 16, the actual vanilla textures for it (../textures/blocks/grasspath[side/top].png) are both still 16 pixels tall, and the side texture doesn't have any line or anything at the top nor bottom of the texture. It would be fully usable as a normal 16-unit-tall block texture.

Thus, I think it could be pretty nice to have the option of using a full-sized Grass Path block, especially when combined with mods that only support full blocks (see above).

EskiMojo14 commented 7 years ago

You may want to recheck the vanilla side texture. (Of course, it'd probably be easy to make a full version, I'm just saying the vanilla texture wouldn't work) image

ZwipZwapZapony commented 7 years ago

...Well, I just assumed that since there wasn't a pure black or white or other colour line at the top or bottom, the texture was 16x16, it looked pretty good in File Explorer, and the dirt part of the texture was just shifted down one pixel compared to grass/dirt blocks*, that the model simply used the top 15 pixels on the bottom 15 pixels of the model. I guess I must admit that I didn't actually check the texture in an image editor before making this request...

* ...I just checked, and that actually doesn't seem to be the case for vanilla. I probably remembered that from when I used a resource pack once, I guess.

...So, anyway, for whoever might consider implementing this request into Chisel, here's a quickly-made side texture where the "grass" of the grass path has been copied over the grass of the normal grass block (with the grass' shadows from the normal grass texture intact), after having used PNGCrush to crush it to a very acceptable file-size (without it being a lossy compression).

texture

The vanilla grass path top texture definitely fits a 16x16 surface, though (yes, I have checked that), and of course the dirt bottom texture fits a 16x16 surface too.