Jump to content

[SOLVED] [1.10.2] models/item files require funny names to work


sparky8251

Recommended Posts

That is what I needed to do! Fixed the odd names.

 

GameRegistry.register() breaks the client and server with a very nondescript error when I try it. I'm assuming I'm passing it something unexpected but not sure what's wrong.

 

Error:

http://pastebin.com/Fv5wSKf2

 

Code that produces error:

https://gitlab.com/sparky8251/Aquaticraft/tree/dev

Link to comment
Share on other sites

Ok. Figured out what I needed to do to make an ItemBlock and Register that. Thanks!

 

Client loads up fine and the ItemBlock displays properly (in inventory and in hand) but the Block is a broken texture when placed.

 

No logs or messages saying why. Is it a .json issue?

Link to comment
Share on other sites

Ok. So I removed the unneeded class. xD ignorance is a powerful thing I guess. Thanks for help so far!

 

But the only way I can get the game to launch is explicitly setting the registryName for the ItemBlock. I thought that you hinted it as being unneeded. Was that only meant to cover the unlocalizedName and creativeTab?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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