Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.minecraft.src;
- import java.util.Random;
- public class WorldGenShiteReed extends WorldGenerator
- {
- public WorldGenShiteReed()
- {
- }
- public boolean generate(World par1World, Random par2Random, int par3, int par4, int par5)
- {
- for (int i = 0; i < 20; i++)
- {
- int j = (par3 + par2Random.nextInt(4)) - par2Random.nextInt(4);
- int k = par4;
- int l = (par5 + par2Random.nextInt(4)) - par2Random.nextInt(4);
- int i1 = 2 + par2Random.nextInt(par2Random.nextInt(3) + 1);
- for (int j1 = 0; j1 < i1; j1++)
- {
- par1World.setBlock(j, k + j1, l, mod_Shite.ShiteReed.blockID);
- }
- }
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement