Jump to content

rmb938

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by rmb938

  1. 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.
  2. It is using the vanilla chunk provider if you look in the PlanetWP class
  3. No one knows?
  4. 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); DimensionManager.initDimension(3); Registering Dimension client side on preInit @PreInit @SideOnly(Side.CLIENT) 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 { @Override public String getDimensionName() { return "APlanet"; } @Override public boolean canRespawnHere() { return true; } @Override public void registerWorldChunkManager() { this.worldChunkMgr = new WorldChunkManagerHell(BiomeGenBase.beach, 0.8F, 0.1F); } @Override 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.
  5. Hi, I was wondering if it is possible(and if so how) for a mod to download an external library?
×
×
  • Create New...

Important Information

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