Jump to content

Textures on new metals


Vintagebob

Recommended Posts

On 10/21/2021 at 12:10 PM, Vintagebob said:

Hi,

i have a problem:

i want to add a new metal to the game, but when i put the ingots in a forge, or when im smithing them, they loose there textures and become white and with a question mark. Has someone an idea, how i can fix that problem pls? :)

 

My first guess would be a bug in the code that is pointing to the wrong domain.  I'd try moving everything related to that metal into the game domain (you can have a "game" folder right in your mod next to your domain folder) to see if that fixes it.

Link to comment
Share on other sites

Thank you for the answer :), but its solved already xD.

The problem was, that i forgot to add the the texture to the blocktypes/metal/ingotpile,json file, and the texture for the forge and the anvil-workitems are taken from there.

And yes, the textures have to be in the game folder, thanks :)

Edited by Vintagebob
Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.