Jump to content

Enderdeodeo

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Enderdeodeo

  1. So i'm making a mod that removes water in the range of (100 x 100 x 100)

    But the code I'm using doesn't seem to work

    Minecraft version is 1.7.10 and I'm using the newest mcreator for Minecraft 1.7.10

     

    This is the custom code it runs when it clicks a water block

    for(int aaaa = i - 50; aaaa <= i + 50; aaaa++){
    	for(int bbbb = j - 50; bbbb <= j + 50; bbbb++){
    		for(int cccc = k - 50; cccc <= k + 50; cccc++){
    			if(world.getBlock(aaaa, bbbb, cccc) == Blocks.water || world.getBlock(aaaa, bbbb, cccc) == Blocks.flowing_water){
    				world.setBlock(aaaa, bbbb, cccc, Blocks.air);
    			}
    		}
    	}
    }

     

    it gives me no error but its simply not working

     

    please give my advice about what I'm doing wrong.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.