Posted July 20, 201411 yr First yes I know I shouldn't be using 1.6.4 stop telling me, I have my reasons. I followed a tutorial to make a custom world type that was for previous versions(1.4 I think) so I wasn't expecting it to work 100% right first time. However, My world type "works" fine(by that I mean it generates a world using my world type) but the world is completely empty. I know most stuff has changed, so anyone who knows anything about this will look at it facepalming, but I honestly have no idea why nothing is spawning. Here is my code: WorldType declering in my main class: public static WorldType testWorldType; testWorldType = new TestWorldType(14, "Custom"); TestWorldType: ublic class TestWorldType extends WorldType{ public TestWorldType(int id, String par2String) { super(id, "Test", 0); this.addNewBiome(BiomeGenBase.plains); } @Override public WorldChunkManager getChunkManager(World world){ return new TestWorldChunkManager(world); } @Override public IChunkProvider getChunkGenerator(World world, String generatorOptions){ return new TestWorldChunkProvider(world); } @Override public boolean hasVoidParticles(boolean flag){ return flag; } public int getSeaLevel(World world) { return 64; } @Override public double voidFadeMagnitude(){ return 0.0D; } } TestWorldChunkManager: public class TestWorldChunkManager extends WorldChunkManager { private World world; private List biomesToSpawnIn; public TestWorldChunkManager(){ biomesToSpawnIn = new ArrayList(); biomesToSpawnIn.add(BiomeGenBase.plains); } public TestWorldChunkManager(World world){ this(); this.world = world; } public List getBiomesToSpawnIn(){ return biomesToSpawnIn; } public BiomeGenBase getBiomeGenAt(int x, int z){ return BiomeGenBase.plains; } public boolean areBiomesViable(int par1, int par2, int par3, List par4List){ return true; } public ChunkPosition findBiomePosition(int i, int j, int k, List list, Random random){ return new ChunkPosition(7,0,7); } } TestWorldChunkProvider: public class TestWorldChunkProvider implements IChunkProvider { private World world; private Random random; public TestWorldChunkProvider(World world){ this.world = world; random = new Random(world.getSeed()); } public boolean chunkExists(int i, int j) { return true; } public Chunk provideChunk(int i, int j) { return loadChunk(i,j); } public Chunk loadChunk(int i, int j) { random.setSeed((long)i * 341873128712L + (long)j * 132897987541L); Chunk chunk = new Chunk(world, i, j); if(i!=0 || j!=0){ return chunk; } chunk.generateSkylightMap(); return chunk; } public void populate(IChunkProvider ichunkprovider, int i, int j) { // Or nah } public boolean saveChunks(boolean flag, IProgressUpdate iprogressupdate) { return true; } public boolean unloadQueuedChunks() { return false; } public boolean canSave() { return true; } public String makeString() { return "TestSource"; } public List getPossibleCreatures(EnumCreatureType enumcreaturetype, int i, int j, int k) { return null; } public ChunkPosition findClosestStructure(World world, String s, int i, int j, int k) { return null; } public int getLoadedChunkCount() { return 0; } public void recreateStructures(int i, int j) { } public void saveExtraData() { } public boolean unload100OldestChunks() { return false; } } No entities spawning + no structures is on purpose btw
July 22, 201411 yr Author Okay, I'll try again and find another tutorial. And can you stop telling me to update, there are reasons.
July 22, 201411 yr What are those reason that hold you back from updating? Please don't say it's because of modpacks because the majority is already updated so you can just put those mods back in. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
July 23, 201411 yr Author I started learning minecraft modding in 1.6. Then, I took a month or two break(by that time 1.7 was out). From rumors I heard, 1.7 is quite differant from 1.6. I decided that I would learn everything in 1.6, try and get a good understanding on how to do things, and then update everything to 1.7. Thats what I'm doing.
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.