Jump to content

Vanilla World Generation


InvertedOwl

Recommended Posts

Hey Im a complete noob with modding but I know my way around java. Im trying to generate a vanilla world in the client so far I have
//Minecraft.getInstance().createWorld("worldname", new WorldSettings("worldname", GameType.ADVENTURE, false, Difficulty.PEACEFUL, false, new GameRules(), DatapackCodec.VANILLA_CODEC), null, null);

There was almost no information about .createWorld that I could find and whenever this code is executed it does not generate the vanilla datapack correct (Or to be precise it does not create the vanilla datapack at all) and gives me an error "Errors in currently selected datapacks prevented the world from loading"

If anyone could help me out with this it would be great! Thanks :)

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.