Jump to content

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


glabadie2001

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

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.