Jump to content

Replace Gravel in the Nether [1.10.2]


Villfuk02

Recommended Posts

I know there must be, but i havent found any way how to replace all the gravel in nether with my own blocks, when nether is generated. What i'm using now is this:

 

for(int i = 0; i < 600; i++)	{
			BlockPos pos = new BlockPos(chunkX*16 + random.nextInt(16), 63 + random.nextInt(3), (chunkZ*16) + random.nextInt(16));
			new WorldGenMinable(ModBlocks.nethersand.getDefaultState(), 32, BlockMatcher.forBlock(Blocks.GRAVEL)).generate(world, random, pos);
		}

Link to comment
Share on other sites

You can use

ChunkGeneratorEvent.ReplaceBiomeBlocks

to completely replace the nether's lava, soulsand and gravel generation with your own. For this you will have to replicate what

ChunkProviderHell::buildSurfaces

does. Also note that that is not the only place that fires this event.

 

As a side note, your passive aggressive title-tags are not appreciated. You will get help like everyone else. For free, I might add.

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.

Guest
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.