Everything posted by blued00r
-
Making Biomes with 4096 IDs
I can not make the blocks that are generating <256. My mod is for my personal server and we have had this map for a LONG time and I have filled every possible ID <256, therefore i can't, I'm sure I have stated this before. Compatibility is not my problem, I'm trying to enforce incompatibility. Also these biomes I'm trying to create are for my new Dimension. I have a ChunkProvider all set up for my dimension except my only problem is that my biomes don't generate their perspective top and filler blocks and my "stone" for the world gens as coal ore, as the ID for it is 528 came here to the forums to see if i could get help, all I've got is being screamed at with no real help..well except for hotrod..
-
Making Biomes with 4096 IDs
Well see these biomes are for my new dimension so i am writing a new ChunkProvider. Now I almost have it complete. I have 2 more errors before i could test if casting the data to (short) instead of (byte). How would i go about solving those errors below (I commented them on what I need to fix.) public Chunk provideChunk(int var1, int var2) { this.rand.setSeed((long)var1 * 341873128712L + (long)var2 * 132897987541L); byte[] var3 = new byte[32768]; //Line Below needs to be casted to BiomeGenBase and not my Custom BiomeGenBase this.biomesForGeneration = this.worldObj.getWorldChunkManager().loadBlockGeneratorData(this.biomesForGeneration, var1 * 16, var2 * 16, 16, 16); this.generateTerrain(var1, var2, var3, biomesForGeneration, generatedTemperatures); this.replaceBlocksForBiome(var1, var2, var3, this.biomesForGeneration); //Needs this.biomesForGeneration to be resolved this.caveGenerator.generate(this, this.worldObj, var1, var2, var3); Chunk var5 = new Chunk(this.worldObj, var3, var1, var2); byte[] var6 = var5.getBiomeArray(); for (int var7 = 0; var7 < var6.length; ++var7) { var6[var7] = (byte)this.biomesForGeneration[var7].biomeID; } var5.generateSkylightMap(); return var5; } Should I just create another class that extends World specifying to just my custom BiomeGenBase instead of Minecraft's BiomeGenBase class?
-
Making Biomes with 4096 IDs
alright what would i have to change (byte) to? i see all the others like short and int would work but how could i make it so that the biome works correctly with that
-
Making Biomes with 4096 IDs
... who taught you data types? Nobody. I so should have caught that... well it was just off a tutorial...i dont really get how they work... but if i remove the (byte) it throws an error
-
Making Biomes with 4096 IDs
I understand the how to make a biome. what im asking is how do i make it use my custom blocks as top and filler blocks. they always spawn as nothing. no top or filler blocks exist. Here's my BiomeGen class package xolovon; import net.minecraft.src.*; public class BiomeGenSerenity extends BiomeGenBase { public BiomeGenSerenity(int par1) { super(par1); spawnableCreatureList.clear(); topBlock = (byte)mod_XolovonRPG.serenityGrass.blockID; //ID = 513 fillerBlock = (byte)mod_XolovonRPG.serenityDirt.blockID; //ID = 514 //biomeDecorator.treesPerChunk = 0; //biomeDecorator.deadBushPerChunk = 0; //biomeDecorator.reedsPerChunk = 0; //biomeDecorator.cactiPerChunk = 0; waterColorMultiplier = 0x9933FF; } }
-
Making Biomes with 4096 IDs
See im not generating ores im making my own biome. The biome i make generate with no topblock or fillerblock. ores gen fine if there over the minecraft block limit(i have my ores generating)
-
Making Biomes with 4096 IDs
now i was trying to make a biome with a block that has an id of 500+. Now understand that its the best that i dont move any ids as the map that i have would seriously get edited as i have run out of normal block ids. Can anybody help me. When i try to make them it doesnt generate
IPS spam blocked by CleanTalk.