Skip to content

Instantly share code, notes, and snippets.

@zc00gii
Created October 31, 2010 18:31
Show Gist options
  • Save zc00gii/656955 to your computer and use it in GitHub Desktop.
Save zc00gii/656955 to your computer and use it in GitHub Desktop.
/* */ import java.util.Random;
/* */
/* */ public class ed extends nx
/* */ {
/* */ protected ed(int paramInt1, int paramInt2)
/* */ {
/* 10 */ super(paramInt1, paramInt2);
/* */
/* 12 */ float f = 0.4F;
/* 13 */ a(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f * 2.0F, 0.5F + f);
/* */ }
/* */
/* */ public void a(cu paramcu, int paramInt1, int paramInt2, int paramInt3, Random paramRandom) {
/* 17 */ super.a(paramcu, paramInt1, paramInt2, paramInt3, paramRandom);
/* */
/* 19 */ if ((paramcu.j(paramInt1, paramInt2 + 1, paramInt3) >= 9) &&
/* 20 */ (paramRandom.nextInt(5) == 0)) {
/* 21 */ int i = paramcu.e(paramInt1, paramInt2, paramInt3);
/* 22 */ if (i < 15) {
/* 23 */ paramcu.b(paramInt1, paramInt2, paramInt3, i + 1);
/* */ } else {
/* 25 */ paramcu.a(paramInt1, paramInt2, paramInt3, 0);
/* 26 */ Object localObject = new pn();
/* 27 */ if (paramRandom.nextInt(10) == 0) {
/* 28 */ localObject = new ew();
/* */ }
/* 30 */ if (!((jh)localObject).a(paramcu, paramRandom, paramInt1, paramInt2, paramInt3))
/* 31 */ paramcu.a(paramInt1, paramInt2, paramInt3, this.bi);
/* */ }
/* */ }
/* */ }
/* */ }
/* Location: /home/zc00gii/.minecraft/bin/minecraft.jar
* Qualified Name: ed
* JD-Core Version: 0.6.0
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment