Jump to content

Recommended Posts

Posted

Hi,

This is the most bewildering thing that has ever happened to me during programming. Most of my items load, but some don't. The ones that do have working names (from my .lang file), working texture, etc. They all have pretty much identical code. Here is my main class:

 

 

  Reveal hidden contents

 

 

Here is the class of an item that has no texture, and it's name is item.MachineCasing.name:

 

  Reveal hidden contents

 

 

Here is the texturer for the MachineCasing:

 

  Reveal hidden contents

 

What on earth is the problem???

Sup bruh.

Posted

Nothing in logs? Texture not found maybe?

 

"TheDogePwner"

 

WHY? WHYYYYYYYYYYYYY?!?!??! (Hint: Look at my avatar)

 

EDIT

Also, your code will crash on dedic. You can't use Minecraft.class in dedic. Start using proxies for rendering/texturing.

 

EDIT 2

I see nothing out of ordinary (I am not really looking well to be honest) <lol that "sounded" like I'd be some creep-face>, BUT - initialize and register everything in PreInit. Do renderers and textures in Init (load). Might do the trick, idk, just common experience with those problems.

  Quote

1.7.10 is no longer supported by forge, you are on your own.

Posted

1. Sir, I apologize for pwning you (lol).

2. HEY LOOK! YAY!

[15:51:26] [Client thread/ERROR] [FML]: Model definition for location ultracraft:MachineCasing#inventory not found

 

Strange, considering I have MachineCasing.json in ultracraft/models/item/MachineCasing.json... and a texture in ultracraft/textures/items/MachineCasing.png...

Also remember the name isn't loading from en_US.lang.

Sup bruh.

Posted

Post all your .json files for this thing (with directories).

 

EDIT

Read my "EDIT 2" in previous post if you didn't.

  Quote

1.7.10 is no longer supported by forge, you are on your own.

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.