mojira.dev
MC-82390

model textures using capital letters in a resource pack wich is in a map doesnt work the same as a resource pack...

what i expected to happen:

some of the blocks should look like dirt in the world called: "Model Bug Test (with rp)" like it is in the world called: "Model Bug Test (without rp)" + the resource pack(Model Bug Test (the rp))

what really happened:

some of the blocks has missing textures...
(wich it shouldnt because it uses the exact same resource pack and world as "Model Bug Test (without rp)" + the resource pack(Model Bug Test (the rp)))

(the resource pack should work the same way in the two worlds...)


how to recreate:

download the file there is attached

put the "model bug test (the rp)" into your "resourcepacks" folder

put the "Model Bug Test (with rp)" and "Model Bug Test (without rp)" into your "saves" folder

now open your minecraft and go into the world called: "Model Bug Test (without rp)" and take the "model bug test (the rp)" resource pack on

as you will see everything is stone and dirt (its actually all stone but some of it is remodeled)

now take the resource pack off and go into the other world (Model Bug Test (with rp))

this world has the exact same resource pack just in the save files (so you do have the same resource pack on wich you had on before)
(it is also the exact same world)

as you see some of the stone is now missing texture...


The Bug:

im pretty sure that the thing there does this is that i have written this:

{
    "parent": "block/cube_all",
    "textures": {
        "all": "blocks/Dirt"
    }
}

(i wrote it in the "stone" model)

i wrote blocks/Dirt with a capital letter (so its Dirt instead of dirt)

but still... why is it missing texture in "Model Bug Test (with rp)" and dirt in "Model Bug Test (without rp)" + the resource pack(Model Bug Test (the rp))) ? (the resource pack should work the same way in the two worlds...)

Attachments

Comments 3

Your model file is referencing a texture with a capital D

{
    "parent": "block/cube_all",
    "textures": {
        "all": "blocks/Dirt"
    }
}

but there is only /assets/minecraft/textures/blocks/dirt.png.
See also the message in the game output console:

[23:24:49] [Client thread/ERROR]: Using missing texture, unable to load minecraft:textures/blocks/Dirt.png
java.io.FileNotFoundException: minecraft:textures/blocks/Dirt.png
	at bnb.a(SourceFile:52) ~[1.8.7.jar:?]
	at bnn.a(SourceFile:55) ~[1.8.7.jar:?]
	at bmh.b(SourceFile:97) [1.8.7.jar:?]
	at bmh.a(SourceFile:77) [1.8.7.jar:?]
	at bot.j(SourceFile:553) [1.8.7.jar:?]
	at bot.a(SourceFile:139) [1.8.7.jar:?]
	at bou.a(SourceFile:23) [1.8.7.jar:?]
	at bnn.c(SourceFile:104) [1.8.7.jar:?]
	at bnn.a(SourceFile:92) [1.8.7.jar:?]
	at ave.e(SourceFile:652) [1.8.7.jar:?]
	at ave$7.run(SourceFile:2307) [1.8.7.jar:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_25]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_25]
	at g.a(SourceFile:60) [1.8.7.jar:?]
	at ave.av(SourceFile:880) [1.8.7.jar:?]
	at ave.a(SourceFile:325) [1.8.7.jar:?]
	at net.minecraft.client.main.Main.main(SourceFile:124) [1.8.7.jar:?]
[23:24:50] [Client thread/INFO]: Created: 512x512 textures-atlas

tl;dr Dirt.png requested, dirt.png available.

(first of all my bug report wasnt really precise so im going to fix that... so you (kumasasa) answered on something i already knew... =/ )

i would still call this a bug...

because im pretty sure that when you put the resource pack into the save file it should work the same way as taking the resource pack on and go into the same world...

but it doesnt work the same way because it shows missing texture in:"Model Bug Test (with rp)"(wich has the resource pack in the map) and it shows dirt in: "Model Bug Test (without rp)" (if you take the resource pack on) ...

("Model Bug Test (with rp)" and "Model Bug Test (without rp)" + the resource pack uses the same resource packs but the resource pack works in two different ways when you take it on(it will show dirt) and when you put it into your save file(it will show missing texture)...)

(i know i just wrote the same thing 3 times...)

I think I have a glimpse of an idea what you're thinking.

You expect that the embedded resource pack should compensate the bug in the resource pack.
Keep in mind that in all major operating systems file names are case sensitive. Except Windows.

Not a bug.

Vilder50

(Unassigned)

Unconfirmed

Minecraft 1.8.7

Retrieved