This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) braces deadcode package net.minecraft.src; import java.util.Random; // Referenced classes of package net.minecraft.src: // Block, Material, mod_Tankite public class BlockGreenbloom extends Block { public BlockGreenbloom(int i, int j) { super(i, j, Material.grassMaterial); } public void updateTick(World world, int i, int j, int k, Random random) { if(world.multiplayerWorld) { return; } if(world.getBlockLightValue(i, j + 1, k) < 4 && Block.lightOpacity[world.getBlockId(i, j + 1, k)] > 2) { if(random.nextInt(1) != 0) { return; } world.setBlockWithNotify(i, j, k, mod_Tankite.greenbloom.blockID); } else if(world.getBlockLightValue(i, j + 1, k) >= 9) { int l = (i + random.nextInt(3)) - 1; int i1 = (j + random.nextInt(5)) - 3; int j1 = (k + random.nextInt(3)) - 1; int k1 = world.getBlockId(l, i1 + 1, j1); if(world.getBlockId(l, i1, j1) == Block.grass.blockID && world.getBlockLightValue(l, i1 + 1, j1) >= 4 && Block.lightOpacity[k1] <= 2) { world.setBlockWithNotify(l, i1, j1, mod_Tankite.greenbloom.blockID); } } } public int idDropped(int i, Random random) { return mod_Tankite.greenbloom.blockID; } }
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3
setTickOnLoad(true)
it doesn't grow
here is my blockgreenbloom:
i hope someone can help :smile.gif:
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3
please help!
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3
? because if not it will never do the updateTick()
I made this map! Please check it out! It's a really awesome map that took me over a year to make! :3
edit!
nevermind, I take it it's the error you're getting with your Tankite bomb that you posted in a different thread. am I right?