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.

Pyrosshade

Members
  • Joined

  • Last visited

  1. This is a General Java question.
  2. So you want gravity to be different.
  3. This is a known issue, as seen here.
  4. Pyrosshade changed their profile photo
  5. So i manage to figure out how to do this for my own mod before you had posted this. A few resources i referenced for this are: the update primer here at this link. more specifically this subsection about worldgen. the Biomes O Plenty github. For my implementation, i had this class which is referenced from my main mod class from inside setup public class NetherGeneration { public static void SetupNetherGeneration() { Biomes.NETHER.addFeature( Decoration.UNDERGROUND_DECORATION, Biome.createDecoratedFeature( Feature.BUSH, new BushConfig(ModBlocks.PETRIBARK_MUSHROOM.getDefaultState()), Placement.CHANCE_RANGE, new ChanceRangeConfig(0.5F, 0, 0, 128))); Biomes.NETHER.addFeature( Decoration.UNDERGROUND_DECORATION, Biome.createDecoratedFeature( Features.CLAYCACOON_BLOB, IFeatureConfig.NO_FEATURE_CONFIG, Placement.LIGHT_GEM_CHANCE, new FrequencyConfig(10))); Biomes.NETHER.addFeature( Decoration.UNDERGROUND_DECORATION, Biome.createDecoratedFeature( Features.CLAYCACOON_BLOB, IFeatureConfig.NO_FEATURE_CONFIG, Placement.COUNT_RANGE, new CountRangeConfig(10, 0, 0, 128))); } } So we have three different features here which are respectively mushrooms which generate similiar to how brown mushrooms generate in the nether a Clay Cacoon Blob feature with a frequency based placement; which when paired with the other Clay Cacoon Blob feature, mimics the placement and rarity of glowstone Unfortunately there isn't documentation on what each placement does and what all the respective config classes are/what they are capable of, so your best bet is to check net.minecraft.world.gen.feature and net.minecraft.world.gen.placement to get a better idea. You can also see how they are used in net.minecraft.world.gen.biome classes

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.