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.

Leaderboard

Popular Content

Showing content with the highest reputation on 03/07/21 in Posts

  1. now i get it. Tank you so much you have really made my day
  2. Only of it is something specific that the default vanilla features can't solve. For ore generation you could use Feature.ORE (default ore generation), Feature.EMERALD_ORE (which generates only in mountain biome) or Feature.No_SURFACE_ORE (ancient debris feature, an ore that has no contact with air blocks)
  3. Not easily. And older save formats don't support an increased world height either. (In fact, I'm pretty sure the current save format goes back to like 1.7. Edit: just checked, Anvil has been in use since 1.2.1)
  4. You would need to listen to BiomeLoadingEvent (), you could register an function to it like this: MinecraftForge.EVENT_BUS.addListener(EventPriority.HIGH, onBiomeLoading); As from the javadocs of the event: "This event fires when a Biome is created from json or when a registered biome is re-created for worldgen" With this done you would just need to "treat" the biome in the listener and add any feature (like ore generation) you need. An exemple of listener: public static void onBiomeLoading(final BiomeLoadingEvent event) { /* Check which biome are being loaded, example: if the biome is TAIGA or SWAMP */ if (event.getCategory() == Biome.Category.TAIGA || event.getCategory() == Biome.Category.SWAMP) { /* Get UNDERGROUND_ORES features of the biome */ event.getGeneration().getFeatures(GenerationStage.Decoration.UNDERGROUND_ORES ).add( /* adding COAL_ORE with some configuration */ () -> Blocks.COAL_ORE.withConfiguration(...) ); } } As from the configuration you could look at the Vanilla default ore generation features to get what you want.

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.