Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I have been searching for a while now and have found no info on this at all. I have tried the initmapgenevent, maybe I did it wrong but again no information has been found on that either. I would prefer not to do any base edits if at all possible. I have searched this forum and many other outlets on the web looking for an answer.

 

Basically I just want to load a new MapGen to the world without creating a new dimension or new world type so I can add new villages to the game. Is there a way to register a new map, or possibly use a forge event for this?

 

Please help, I have been searching for almost 3 weeks now and have had no luck at all...

IVillageCreationHandler ?

Though if you want to replace completely, InitMapGenEvent with Village EventType.

Just do event.newGen = yourCustomMapGen.

That works like any event. Except, it is a terrain event, with its own event bus to register to.

(MinecraftForge.TERRAIN_GEN_BUS)

  • Author

How can I add a new MapGen with IVillageCreationHandler? I tried that and it didnt load. What I did was just copy all the vanilla stuff for the village and used the handler to load the mapgen, nothing happened...no error and no villages. I changed the block types from cobble to obsidian to test to make sure they were loading or not. I dont want to replace completely, I just want to add my own map....how is this possible.....

With IVillageCreationHandler, you can add new structures to villages.

There is only one MapGenBase for villages. Either you accept vanilla, or you replace with your own.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.