Jump to content

Custom Dimension not generating


Recommended Posts

Hi, I registered a new dimension and have done everything to get the dimension loaded and setup but no chunks are being generated. When I teleport the player to the dimension nothing shows up and I only can see the void.


Registering Dimension on Server Start(Server sided)


DimensionManager.registerProviderType(11, PlanetWP.class, false);
DimensionManager.registerDimension(3, 11);


Registering Dimension client side on preInit


    public void preInit(FMLPreInitializationEvent event) {
        System.out.println("Registering Providers");
        DimensionManager.registerProviderType(11, PlanetWP.class, false);
        DimensionManager.registerDimension(3, 11);


PlanetWP Class


package com.gmail.rmb1993.spc.server.world;

import net.minecraft.world.WorldProvider;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.biome.WorldChunkManagerHell;
import net.minecraft.world.chunk.IChunkProvider;
import net.minecraft.world.gen.ChunkProviderGenerate;

* @author Ryan
public class PlanetWP extends WorldProvider {
    public String getDimensionName() {
        return "APlanet";

    public boolean canRespawnHere() {
        return true;

    public void registerWorldChunkManager() {
        this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.beach, 0.8F, 0.1F);

    public IChunkProvider createChunkGenerator() {
        return new ChunkProviderGenerate(worldObj, worldObj.getSeed(), true);


Teleport Code (atm it is in ServerChatEvent just for quick testing)


event.player.mcServer.getConfigurationManager().transferPlayerToDimension(event.player, 3);



Output on server Console


2013-02-04 09:51:18 [iNFO] [sTDOUT] Unable to find spawn biome
2013-02-04 09:51:33 [iNFO] [ForgeModLoader] Loading dimension 3 (mcpworld) (net.minecraft.server.dedicated.DedicatedServer@28362b)


So as you can see it loads the dimension but there is no preparing spawn area for this dimension and no indication that anything is being generated. Like I said above when I teleport there is it just a empty void. It seems like there should be blocks there as I don't fall to my death but I do not see anything.


Link to comment
Share on other sites

Look in the code in the first post in the PlanetWP class it clearly says it is using ChunkProviderGenerate as the chunk provider being imported from net.minecraft.world.gen.ChunkProviderGenerate


which is built into vanilla minecraft so it should work fine without needing any changes.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.