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.

MasterNope

Members
  • Joined

  • Last visited

  1. MasterNope joined the community
  2. (Minecraft 1.18.1 Forge) In my mod that i am developing, i was able to register new biomes, using the same method to register items or blocks or enity or etc. Since I am registered and trying to generate a world with only one biome, I can view my biome, the world is generated correctly. But when I generate a world in the traditional method, the biome is not generated even if it is present in the list of biomes taken from the Locatebiome command. I think I am missing something to have the biome spawn, but I don't know where to find it. Init Biome Class public class BiomeInit { public BiomeInit() { } public static final DeferredRegister<Biome> BIOMES = DeferredRegister.create(ForgeRegistries.BIOMES, ImmortalObsidian.MOD_ID); public static final RegistryObject<Biome> SOBBY_FOREST = BIOMES.register("sobby_forest", ()-> OverworldBiomes.forest(true, true, true)); public static final RegistryObject<Biome> SOBBY_END = BIOMES.register("sobby_planes", ()-> ImmortalObsidianBiomes.sobbyPlanes()); //BiomeLoadingEvent } Main Class @Mod(ImmortalObsidian.MOD_ID) public class ImmortalObsidian { public static final String MOD_ID = "immortalobsidian"; public static final CreativeModeTab OBSDIAN_TAB = new CreativeModeTab(MOD_ID) { @Override public ItemStack makeIcon() { return new ItemStack(Items.OBSIDIAN); } }; public ImmortalObsidian() { var bus = FMLJavaModLoadingContext.get().getModEventBus(); BlockInit.BLOCKS.register(bus); ItemInit.ITEMS.register(bus); EntityInit.ENTITY.register(bus); BiomeInit.BIOMES.register(bus); } }

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.