Jump to content

Recommended Posts

Posted

I'm just learning how to mod and I'm already stuck at basic items...

I'm following Pahimars lets mod reboot series and in episode 8 he showcases how to make basic items with textures and names.

 

Now I can't for some reason load the texture for the image, and it's getting really frustrating 'cause I can't find the reason!

 

 

Here's the error message:

[01:16:45] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[01:16:45] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN flwermod
[01:16:45] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[01:16:45] [Client thread/ERROR] [TEXTURE ERRORS]:   domain flwermod is missing 1 texture
[01:16:45] [Client thread/ERROR] [TEXTURE ERRORS]:     domain flwermod is missing a resource manager - it is probably a side-effect of automatic texture processing
[01:16:45] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[01:16:45] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain flwermod are:
[01:16:45] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/mapleLeaf.png
[01:16:45] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[01:16:45] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain flwermod
[01:16:45] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================

 

As far as I understand it, the domain is the mod name within the assets folder.

 

SXXFfBf.png

 

Comparing that to this formula that I've been seeing everywhere:

assets/{domain}/textures/{blocks|items}/{image}.png

The more I compare the error with the folder the more frustrated I get because I can clearly see the image mapleLeaf.png there.

 

Help?  :'(

Posted

Verify that your modid is all lower case and if it is Show your main class and Item class.

Posted

Hi

 

Are you using IntelliJ 14?

If so, it doesn't copy resources to the right place.  See dieSieben's post on this in the tutorials subforum.

http://www.minecraftforge.net/forum/index.php/topic,21354.msg108332.html#msg108332

 

It's also worth trying the all-lower-case suggest from spider

 

You could also look on your disk directly to make sure the folder is copied to the right place during build

 

In my case, the resources folders get copied to here

C:\Users\TGG\IdeaProjects\MinecraftByExample\build\classes\main

eg

C:\Users\TGG\IdeaProjects\MinecraftByExample\build\classes\main\assets\minecraftbyexample\textures\items

 

-TGG

 

 

 

Posted

If so, it doesn't copy resources to the right place.

 

Oh ya, that's right! I forgot about that.

  • 2 years later...
Posted (edited)

I feel really bad for asking and so being a necromencer... but like... the provided links are dead and I spent the whole day on this stupid error... I really can't find anything wrong... my modid is in lowercase and match the assets/{domain}/textures/, the textures are named correctly and are in the right folder, I just can't see anything wrong... but the textures still don't load up
Before posting on this forum I did some research but all the people having this issue were either not giving the answer, or it was just an error of inattention and I don't think it is in this case...

 

Here is the main mod class :
https://pastebin.com/Cwi9CC65
Here is the Block Registry class (I'm gonna optimize it later but it should still work...) :

https://pastebin.com/PVgskBB2
Here is the ItemsRegistry class (Same as blocks) :

https://pastebin.com/Kv2DSAzw
Here is the ToolsRegistry class (I promise I will optimise later) :

https://pastebin.com/3SH8G6xa

Edited by Yslohr
Adding nessesary classes through pastebin
Posted
8 minutes ago, Yslohr said:

so being a necromencer...

Don't be afraid to make your own thread. In almost all cases, you don't have the same issue.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted

I choose this one cause the issue seems really similar but like I said, right now the links are dead so what could have help me can't... I might do my own topic as well be I think there is something about no support for 1.7 which suck because I'm forced to use it because of thermos (which is stuck in 1.7.10) and the administrators I'm working for... So yeah I'm really sorry about that too... Should I still make my own topic ?

Posted

Don't bother. As you've read correctly, 1.7.10 is no longer supported and the thread will be closed.

 

There are alternatives to Thermos which are updated to the latest version of Minecraft and are also compatible with Forge.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted

which use the bukkit api na... I don't know any, it's actually really difficult to get the same result with pure forge, also if you're speaking of sponge it's an entirely new API and so there isn't any good tutorial series from what you can draw from if you have any link about it I'll take them... currently I don't have any

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.