This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.75 KB  |  views: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. package net.minecraft.src;
  2.  
  3. import java.util.Random;
  4.  
  5. public class WorldGenShiteReed extends WorldGenerator
  6. {
  7.     public WorldGenShiteReed()
  8.     {
  9.     }
  10.  
  11.     public boolean generate(World par1World, Random par2Random, int par3, int par4, int par5)
  12.     {
  13.         for (int i = 0; i < 20; i++)
  14.         {
  15.             int j = (par3 + par2Random.nextInt(4)) - par2Random.nextInt(4);
  16.             int k = par4;
  17.             int l = (par5 + par2Random.nextInt(4)) - par2Random.nextInt(4);
  18.             int i1 = 2 + par2Random.nextInt(par2Random.nextInt(3) + 1);
  19.  
  20.             for (int j1 = 0; j1 < i1; j1++)
  21.             {
  22.                     par1World.setBlock(j, k + j1, l, mod_Shite.ShiteReed.blockID);
  23.             }
  24.         }
  25.  
  26.         return true;
  27.     }
  28. }
clone this paste RAW Paste Data