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.

Jebadiah

Members
  • Joined

  • Last visited

  1. Hi Dan, I'm in the same boat as you. Trying to find a working custom ore generation for 1.15. It seems some things changed from 1.14 and you won't find a lot of the classes matching the names and fields used in the above examples. I spent some time looking around and seemed to have found a solution that works. Here's what I found to work so far: for(Biome biome : ForgeRegistries.BIOMES ) { CountRangeConfig myCustomOrePlacementConfig = new CountRangeConfig(/*frequency per chunk*/ 2, /*Min*/8,/*Offset*/ 8,/*Max*/ 22); biome.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, Feature.ORE.withConfiguration(new OreFeatureConfig(OreFeatureConfig.FillerBlockType.NATURAL_STONE, ModBlocks.myCustomOreBlock.getDefaultState(), 4)).func_227228_a_(Placement.COUNT_RANGE.func_227446_a_(myCustomOrePlacementConfig))); } Put this in the Preinit function (normally called setup(final FMLCommonSetupEvent event) in the Forge example mod ) or you can also place it inside a method in a separate OreGeneration class and then call it from setup. If anyone has any corrections or better suggestions than this then definitely please let me know!

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.