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.

[1.12.2] Custom dimensions spawn overworld mobs, are seen as "Plains" biome

Featured Replies

Posted

After porting from 1.8.9 to 1.12.2, it's apparent that something has changed with dimension biomes. Each of my custom dimensions only has one biome in it, but apparently it's setting the biome to plains instead of the specified dimension biome, which is causing overworld mobs to spawn and no modded mobs to spawn. Any ideas? All help is greatly appreciated.

 

Dimension example: https://github.com/TheSlayerMC/Journey-1.12/tree/master/main/java/net/journey/dimension/terrania

Dimension registry: https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/dimension/DimensionHelper.java

I don't have time at the moment to look at your code, but I would suspect it would be an issue with your BiomeProvider. Did you associate instances of BiomeProviderSingle to your dimensions and do they properly point to your custom biome?

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Author
25 minutes ago, jabelar said:

I don't have time at the moment to look at your code, but I would suspect it would be an issue with your BiomeProvider. Did you associate instances of BiomeProviderSingle to your dimensions and do they properly point to your custom biome?

Yep. These are the main areas where the biome is supposed to be registered and mobs are set to spawn in the specific dimension:

https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/dimension/terrania/WorldProviderTerrania.java#L18

https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/dimension/DimensionHelper.java#L124

https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/dimension/DimensionHelper.java#L218

 

Okay, in that case I would add a bunch of console statements throughout your code and then trace what happens. Like add a statement in each method and then you can confirm that every method is being called as expected. Of course in your print statements you can print out any values of interest as well to aid the tracing. It should be quickly obvious what the problem is once you trace it.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

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.