Jump to content

Could not initialize class java.net.SocksSocketImpl when creating world/opening the Multiplayer tab


Recommended Posts

Posted

Hi! I'm trying to get back into Minecraft modding after many years, and after following Cadiboo's tutorial I'm running into a crash whenever I try to test my mod in a world. Here's the crash report: https://pastebin.com/6zyfS9bj
The mod I have right now is very barebones, only two files: https://pastebin.com/j8cNskDW and https://pastebin.com/3QTChgVJ. My programming background is primarily in C# and Javascript, so if this is a simple issue I'm sorry to waste your time, but any help is really appreciated.

Posted

By the way, I don't know why you typed out two helper functions instead of doing this:

        event.getRegistry().registerAll(
            new Item(new Item.Properties()).setRegistryName(new ResourceLocation(CraftOfTheWildMod.MODID,"travelers_sword"))
        );

If you really really wanted to avoid doing setRegistryName and new Resource location a bunch, then only one helper:

 

	return entry.setRegistryName(new ResourceLocation(CraftOfTheWildMod.MODID, name));

 

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

I could be wrong, but I think the logic behind it was to have the two helpers be usable for multiple types of registries to reduce clutter in the future, hence the use of Generics. (I'm not sure how to reply on this forum so I hope you see this Draco lol)

Posted

The only reason you'd want two methods is if you plan to pass strings sometimes and resource locations other times, but you aren't planning on doing that, are you?

(In terms of different kinds of registries, its already a generic method that supports everything you need)

  • Like 1

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

I don't think I am, that's a good point ? I'll change it in that case. I appreciate the tip! Do you have any idea where my crash is coming from, however? I'd love to learn more about Forge modding but this brought me to a standstill.

Posted

I don't see anything. Did you set up your toml file? 

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.