TransWikia.com

Minecraft Resource Pack Error

Arqade Asked on March 24, 2021

It seems that my resource pack has an error, specifically with lava flowing. My image is 16×256 (its an 8×8 texture pack) so it should work normally. Has anyone had this issue and knows how to solve it? Here’s what it looks like:

Lava Flowing

Obviously I want it to all look flush like normal lava. Here’s the lava_flow image:

lava_flow

Any ideas on the issue? I looked it up and found that if the dimensions aren’t divisible this might happen but the vanilla file is 32×512 and 16×256 is exactly half of that.

3 Answers

Flowing lava at certain flow amounts has a block model. So, while the side of a full block of flowing lava is a normal cubic flat block, the flowing onto the ground parts have a block model, and rather than applying a flat texture the texture is used as a UV texture. Since the texture is being used as a UV texture and being downscaled, it doesn't have all the pixels needed to complete texturing the model. All that needs to be done to fix it is to scale it up to double by a Neighboring Pixels scaling method. This way, the half as large size is visually seen but technically the image is the same size as the vanilla.

Correct answer by Penguin on March 24, 2021

It looks like the lava texture might be one solid, so you can just cut it down to 16 by 16, instead of having it the same. If you don't want to, you have to have a MCMETA file with the text below. The pack needs to have lava_flow.mcmeta and lava_still.mcmeta in it, as well.

{
    "animation": {
        "frametime": 2,
        "frames": [
            0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1
        ]
    }
}

I hope this helps!

Answered by Hyperfinity on March 24, 2021

Most likely, the 16x256 version of the pack isn't being scaled up correctly. Minecraft is very specific about exact file dimensions, and doesn't handle scaling too well.

Upgrade to 32x512.

Answered by Corsaka on March 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP