-
Is there a way to destroy a region?
Wouldn't this replace every block with air? I'm trying to make it recreate the world to see the changes in chunk generation.
-
Is there a way to destroy a region?
I searched through that, but it seems to work more with changing the state of blocks. There's not really anything having to do with regions, and I think that might be dealt with somewhere else. It's okay though, I can do it manually.
-
Is there a way to destroy a region?
In short, this: CustomPurgeCommand(world) { for (all regions in world) { delete region; } } Right now I'm doing some chunk generation stuff and I'm trying to speed up the process by creating a command that will purge everything with /purge and then reload the generation stuff.
-
How does one change the `WorldProvider`?
with water : ( )
-
Child Mods and Mod "Reloading"
MEGA LAME. I guess I'll be watching a lot of load screen for a while.
-
How does one change the `WorldProvider`?
I changed the chunk provider It's two sine waves on the x and z axis. And the nether portal appears whenever you change dimensions, I guess. -++==========================++- @Override public Chunk provideChunk(int x, int z) { ChunkPrimer chunkprimer = new ChunkPrimer(); IBlockState grass = Blocks.grass.getDefaultState(); IBlockState dirt = Blocks.dirt.getDefaultState(); IBlockState stone = Blocks.stone.getDefaultState(); IBlockState bedrock = Blocks.bedrock.getDefaultState(); IBlockState state; for(int ix = 0; ix < 16; ++ix) { for(int iz = 0; iz < 16; ++iz) { int top = getHeight((x*16)+ix, (z*16)+iz); chunkprimer.setBlockState(ix, top, iz, grass); for(int depth=1; depth < top; ++depth) { if(depth < 10) { state = dirt; } else { state = stone; } chunkprimer.setBlockState(ix, top-depth, iz, state); } chunkprimer.setBlockState(ix, 0, iz, bedrock); } } Chunk chunk = new Chunk(this.m_world, chunkprimer, x, z); return chunk; } private int getHeight(int x, int z) { int xOff = (int) (Math.sin(0.1*(x))*7); int zOff = (int) (Math.sin(0.07*(z))*10); return xOff + zOff + 40; }
-
How does one change the `WorldProvider`?
WEEEEEEEEE!!!!
-
How does one change the `WorldProvider`?
Cool. This mostly works. The one thing I'm not fond of is generating the overworld first, and then being teleported on login, but I'm running, and that's good enough for me. For those who are looking for the answer How to create dimensions (http://wuppy29.blogspot.com/2013/01/modding-146-custom-dimension-part-3.html) How to teleport dimensions (http://www.minecraftforge.net/forum/index.php?topic=18493.0) How to call event on player login (http://www.minecraftforge.net/forum/index.php?topic=15153.0)
-
How does one change the `WorldProvider`?
My goal is to experiment with terrain generation. I don't really mind how, though I do think having to make a portal to go see it is excessive. I've created a basic ChunkProvider algorithm already. Really, all I want is to see it.
-
How does one change the `WorldProvider`?
Simply, I want this: world.provider = myCustomWorldProvider So, there's tutorials a plenty on creating and registering a WorldGenerator. ( ) There's also a really nice one on creating Dimensions and WorldProvider's. (http://wuppy29.blogspot.com/2013/01/modding-146-custom-dimension-part-6.html) But the only thing I can find which would actually allow me to see my WorldProvider in action is a mod that's not 1.8 (http://minecraft.curseforge.com/mc-mods/226188-default-world-generator) It really seems like there should be another way. Any advice?
IPS spam blocked by CleanTalk.