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'm not sure if this has been brought up before, but here it goes:

I have been modding with Forge for a while, and I've come across the problem (specifically with generating plants) of not wanting things to generate in FLAT worlds, but have them generate in DEFAULT or LARGE BIOMES worlds.

I've tried using the variables in the "Word, WorldProvider, WorldType, and WorldInfo" classes but can't seem to get it to work or if it even ever will work.

A hook in one of those files would be great. (kinda like the World.provider.dimensionID hook)

Thanks in advace!

 

Eastonium

World.getWorldInfo().getTerrainType()

No need for extra hooks for vanilla features..

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

Then how do I use that to make it not generate in flat worlds? I'd already been trying that for DAYS now and couldn't get it.

 

And since this topic has changed from suggestions to help, shouldn't it be moved?

 

if (world.getWorldInfo().getTerrainType() == WorldType.FLAT) DONT_DO_YOUR_SHIT.

Seriously... simple..

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Guest
This topic is now closed to further replies.

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.