Jump to content

[1.7.2] Gradle compileJava failed


218omar

Recommended Posts

so I am finished my mod and I am trying to build the jar file. When I run "gradle build" in cmd, I get this error(it is basically saying that I have 100+ complitation errors, but the mod runs perfectly fine when running it from eclipse.

 

****************************
Powered By MCP:            
http://mcp.ocean-labs.de/  
Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn      
MCP Data version : unknown
****************************
:downloadClient SKIPPED
:downloadServer SKIPPED
:extractUserDev
:mergeJars SKIPPED
:applyBinPatches SKIPPED
:downloadMcpTools UP-TO-DATE
:genSrgs UP-TO-DATE
:getJavadocs SKIPPED
:deobfBinJar UP-TO-DATE
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\DirtGenMinable.java:79: error: cannot find symbol
                                if (d12 * d12 + d13 * d13 + d14 * d14 < 1.0D && par1World.getBlock(k2, l2, i3).isReplaceableOreGen(par1World, k2, l2, i3, field_150518_c))
                                                                                         ^
  symbol:   method getBlock(int,int,int)
  location: variable par1World of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\DirtGenMinable.java:81: error: cannot find symbol
                                    par1World.setBlock(k2, l2, i3, this.field_150519_a, mineableBlockMeta, 2);
                                             ^
  symbol:   method setBlock(int,int,int,Block,int,int)
  location: variable par1World of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\EndGenMinable.java:79: error: cannot find symbol
                                if (d12 * d12 + d13 * d13 + d14 * d14 < 1.0D && par1World.getBlock(k2, l2, i3).isReplaceableOreGen(par1World, k2, l2, i3, field_150518_c))
                                                                                         ^
  symbol:   method getBlock(int,int,int)
  location: variable par1World of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\EndGenMinable.java:81: error: cannot find symbol
                                    par1World.setBlock(k2, l2, i3, this.field_150519_a, mineableBlockMeta, 2);
                                             ^
  symbol:   method setBlock(int,int,int,Block,int,int)
  location: variable par1World of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\GrassGenMinable.java:79: error: cannot find symbol
                                if (d12 * d12 + d13 * d13 + d14 * d14 < 1.0D && par1World.getBlock(k2, l2, i3).isReplaceableOreGen(par1World, k2, l2, i3, field_150518_c))
                                                                                         ^
  symbol:   method getBlock(int,int,int)
  location: variable par1World of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\GrassGenMinable.java:81: error: cannot find symbol
                                    par1World.setBlock(k2, l2, i3, this.field_150519_a, mineableBlockMeta, 2);
                                             ^
  symbol:   method setBlock(int,int,int,Block,int,int)
  location: variable par1World of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\NetherGenMinable.java:79: error: cannot find symbol
                                if (d12 * d12 + d13 * d13 + d14 * d14 < 1.0D && par1World.getBlock(k2, l2, i3).isReplaceableOreGen(par1World, k2, l2, i3, field_150518_c))
                                                                                         ^
  symbol:   method getBlock(int,int,int)
  location: variable par1World of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\NetherGenMinable.java:81: error: cannot find symbol
                                    par1World.setBlock(k2, l2, i3, this.field_150519_a, mineableBlockMeta, 2);
                                             ^
  symbol:   method setBlock(int,int,int,Block,int,int)
  location: variable par1World of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\SandGenMinable.java:79: error: cannot find symbol
                                if (d12 * d12 + d13 * d13 + d14 * d14 < 1.0D && par1World.getBlock(k2, l2, i3).isReplaceableOreGen(par1World, k2, l2, i3, field_150518_c))
                                                                                         ^
  symbol:   method getBlock(int,int,int)
  location: variable par1World of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\SandGenMinable.java:81: error: cannot find symbol
                                    par1World.setBlock(k2, l2, i3, this.field_150519_a, mineableBlockMeta, 2);
                                             ^
  symbol:   method setBlock(int,int,int,Block,int,int)
  location: variable par1World of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockChrome.java:11: error: cannot find symbol
	super(Material.rock);
	              ^
  symbol:   variable rock
  location: class Material
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockChrome.java:12: error: cannot find symbol
	setBlockName("chrome");
	^
  symbol:   method setBlockName(String)
  location: class BlockChrome
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockChrome.java:13: error: cannot find symbol
	setBlockTextureName("omar_tutorialmod:omar_test;OREchrome");
	^
  symbol:   method setBlockTextureName(String)
  location: class BlockChrome
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockChrome.java:14: error: cannot find symbol
	setCreativeTab(CreativeTabs.tabBlock);
	^
  symbol:   method setCreativeTab(CreativeTabs)
  location: class BlockChrome
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockChrome.java:15: error: cannot find symbol
	setStepSound(soundTypePiston);
	             ^
  symbol:   variable soundTypePiston
  location: class BlockChrome
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockChrome.java:16: error: cannot find symbol
	setHardness(3.0F);
	^
  symbol:   method setHardness(float)
  location: class BlockChrome
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockChrome.java:17: error: cannot find symbol
	setResistance(5.0F);
	^
  symbol:   method setResistance(float)
  location: class BlockChrome
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockFieryIron.java:11: error: cannot find symbol
	super(Material.rock);
	              ^
  symbol:   variable rock
  location: class Material
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockFieryIron.java:12: error: cannot find symbol
	setBlockName("fieryIron");
	^
  symbol:   method setBlockName(String)
  location: class BlockFieryIron
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockFieryIron.java:13: error: cannot find symbol
	setBlockTextureName("omar_tutorialmod:omar_test;OREfieryiron");
	^
  symbol:   method setBlockTextureName(String)
  location: class BlockFieryIron
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockFieryIron.java:14: error: cannot find symbol
	setCreativeTab(CreativeTabs.tabBlock);
	^
  symbol:   method setCreativeTab(CreativeTabs)
  location: class BlockFieryIron
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockFieryIron.java:15: error: cannot find symbol
	setStepSound(soundTypePiston);
	             ^
  symbol:   variable soundTypePiston
  location: class BlockFieryIron
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockFieryIron.java:16: error: cannot find symbol
	setHardness(3.0F);
	^
  symbol:   method setHardness(float)
  location: class BlockFieryIron
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockFieryIron.java:17: error: cannot find symbol
	setResistance(5.0F);
	^
  symbol:   method setResistance(float)
  location: class BlockFieryIron
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockFieryIron.java:18: error: cannot find symbol
	setLightLevel(0.2F);
	^
  symbol:   method setLightLevel(float)
  location: class BlockFieryIron
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockLookingGlass.java:11: error: cannot find symbol
	super(Material.glass);
	              ^
  symbol:   variable glass
  location: class Material
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockLookingGlass.java:12: error: cannot find symbol
	setBlockName("lookingGlass");
	^
  symbol:   method setBlockName(String)
  location: class BlockLookingGlass
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockLookingGlass.java:13: error: cannot find symbol
	setBlockTextureName("omar_tutorialmod:omar_test;lookingglass");
	^
  symbol:   method setBlockTextureName(String)
  location: class BlockLookingGlass
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockLookingGlass.java:14: error: cannot find symbol
	setCreativeTab(CreativeTabs.tabBlock);
	^
  symbol:   method setCreativeTab(CreativeTabs)
  location: class BlockLookingGlass
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockLookingGlass.java:15: error: cannot find symbol
	setStepSound(soundTypeGlass);
	             ^
  symbol:   variable soundTypeGlass
  location: class BlockLookingGlass
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockLookingGlass.java:16: error: cannot find symbol
	setHardness(0.3F);
	^
  symbol:   method setHardness(float)
  location: class BlockLookingGlass
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockLookingGlass.java:17: error: cannot find symbol
	setResistance(1.0F);
	^
  symbol:   method setResistance(float)
  location: class BlockLookingGlass
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockUnstable.java:11: error: cannot find symbol
	super(Material.rock);
	              ^
  symbol:   variable rock
  location: class Material
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockUnstable.java:12: error: cannot find symbol
	setBlockName("unstable");
	^
  symbol:   method setBlockName(String)
  location: class BlockUnstable
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockUnstable.java:13: error: cannot find symbol
	setBlockTextureName("omar_tutorialmod:omar_test;OREunstable");
	^
  symbol:   method setBlockTextureName(String)
  location: class BlockUnstable
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockUnstable.java:14: error: cannot find symbol
	setCreativeTab(CreativeTabs.tabBlock);
	^
  symbol:   method setCreativeTab(CreativeTabs)
  location: class BlockUnstable
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockUnstable.java:15: error: cannot find symbol
	setStepSound(soundTypePiston);
	             ^
  symbol:   variable soundTypePiston
  location: class BlockUnstable
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockUnstable.java:16: error: cannot find symbol
	setHardness(5.0F);
	^
  symbol:   method setHardness(float)
  location: class BlockUnstable
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\BlockUnstable.java:17: error: cannot find symbol
	setResistance(5.0F);
	^
  symbol:   method setResistance(float)
  location: class BlockUnstable
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\ChromeBlock.java:11: error: cannot find symbol
	super(Material.rock);
	              ^
  symbol:   variable rock
  location: class Material
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\ChromeBlock.java:12: error: cannot find symbol
	setBlockName("chromeBlock");
	^
  symbol:   method setBlockName(String)
  location: class ChromeBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\ChromeBlock.java:13: error: cannot find symbol
	setBlockTextureName("omar_tutorialmod:omar_test;BLOCKchrome");
	^
  symbol:   method setBlockTextureName(String)
  location: class ChromeBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\ChromeBlock.java:14: error: cannot find symbol
	setCreativeTab(CreativeTabs.tabBlock);
	^
  symbol:   method setCreativeTab(CreativeTabs)
  location: class ChromeBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\ChromeBlock.java:15: error: cannot find symbol
	setStepSound(soundTypePiston);
	             ^
  symbol:   variable soundTypePiston
  location: class ChromeBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\ChromeBlock.java:16: error: cannot find symbol
	setHardness(3.0F);
	^
  symbol:   method setHardness(float)
  location: class ChromeBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\ChromeBlock.java:17: error: cannot find symbol
	setResistance(5.0F);
	^
  symbol:   method setResistance(float)
  location: class ChromeBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\FieryIronBlock.java:11: error: cannot find symbol
	super(Material.rock);
	              ^
  symbol:   variable rock
  location: class Material
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\FieryIronBlock.java:12: error: cannot find symbol
	setBlockName("fieryIronBlock");
	^
  symbol:   method setBlockName(String)
  location: class FieryIronBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\FieryIronBlock.java:13: error: cannot find symbol
	setBlockTextureName("omar_tutorialmod:omar_test;BLOCKfieryiron");
	^
  symbol:   method setBlockTextureName(String)
  location: class FieryIronBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\FieryIronBlock.java:14: error: cannot find symbol
	setCreativeTab(CreativeTabs.tabBlock);
	^
  symbol:   method setCreativeTab(CreativeTabs)
  location: class FieryIronBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\FieryIronBlock.java:15: error: cannot find symbol
	setStepSound(soundTypePiston);
	             ^
  symbol:   variable soundTypePiston
  location: class FieryIronBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\FieryIronBlock.java:16: error: cannot find symbol
	setHardness(3.0F);
	^
  symbol:   method setHardness(float)
  location: class FieryIronBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\FieryIronBlock.java:17: error: cannot find symbol
	setResistance(5.0F);
	^
  symbol:   method setResistance(float)
  location: class FieryIronBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:16: error: cannot find symbol
	super(Material.rock);
	              ^
  symbol:   variable rock
  location: class Material
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:17: error: cannot find symbol
	setBlockName("lavaTrapBlock");
	^
  symbol:   method setBlockName(String)
  location: class LavaTrapBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:18: error: cannot find symbol
	setBlockTextureName("omar_tutorialmod:omar_test;trappedblock");
	^
  symbol:   method setBlockTextureName(String)
  location: class LavaTrapBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:19: error: cannot find symbol
	setCreativeTab(CreativeTabs.tabBlock);
	^
  symbol:   method setCreativeTab(CreativeTabs)
  location: class LavaTrapBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:20: error: cannot find symbol
	setStepSound(soundTypePiston);
	             ^
  symbol:   variable soundTypePiston
  location: class LavaTrapBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:21: error: cannot find symbol
	setHardness(3.0F);
	^
  symbol:   method setHardness(float)
  location: class LavaTrapBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:22: error: cannot find symbol
	setResistance(5.0F);		
	^
  symbol:   method setResistance(float)
  location: class LavaTrapBlock
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:36: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition-1, zPosition-1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:37: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition, zPosition-1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:38: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition+1, zPosition-1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:39: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition+2, zPosition-1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:41: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition-1, zPosition-2, Blocks.obsidian);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:42: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition, zPosition-2, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:43: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition+1, zPosition-2, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:44: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition+2, zPosition-2, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:46: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition-1, zPosition, Blocks.obsidian);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:47: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition, zPosition, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:48: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition+1, zPosition, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:49: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition+2, zPosition, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:51: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition-1, zPosition+1, Blocks.obsidian);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:52: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition, zPosition+1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:53: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition+1, zPosition+1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:54: error: cannot find symbol
	        world.setBlock(xPosition+2, yPosition+2, zPosition+1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:57: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition-1, zPosition-1, Blocks.obsidian);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:58: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition, zPosition-1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:59: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition+1, zPosition-1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:60: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition+2, zPosition-1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:62: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition-1, zPosition-2, Blocks.obsidian);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:63: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition, zPosition-2, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:64: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition+1, zPosition-2, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:65: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition+2, zPosition-2, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:67: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition-1, zPosition, Blocks.obsidian);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:68: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition, zPosition, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:69: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition+1, zPosition, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:70: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition+2, zPosition, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:72: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition-1, zPosition+1, Blocks.obsidian);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:73: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition, zPosition+1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:74: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition+1, zPosition+1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:75: error: cannot find symbol
	        world.setBlock(xPosition-2, yPosition+2, zPosition+1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:78: error: cannot find symbol
	        world.setBlock(xPosition, yPosition-1, zPosition+1, Blocks.obsidian);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:79: error: cannot find symbol
	        world.setBlock(xPosition, yPosition, zPosition+1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:80: error: cannot find symbol
	        world.setBlock(xPosition, yPosition+1, zPosition+1, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:81: error: cannot find symbol
	        world.setBlock(xPosition, yPosition+2, zPosition+1, Blocks.glass);		        
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:82: error: cannot find symbol
	        world.setBlock(xPosition, yPosition-1, zPosition-2, Blocks.obsidian);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:83: error: cannot find symbol
	        world.setBlock(xPosition, yPosition, zPosition-2, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:84: error: cannot find symbol
	        world.setBlock(xPosition, yPosition+1, zPosition-2, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
C:\Users\Omar\Desktop\Modding Setup\Code\TestMod\build\sources\java\com\omar\testingmod\blocks\LavaTrapBlock.java:85: error: cannot find symbol
	        world.setBlock(xPosition, yPosition+2, zPosition-2, Blocks.glass);
	             ^
  symbol:   method setBlock(int,int,int,Block)
  location: variable world of type World
100 errors
1 warning
FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 10.288 secs

 

 

my build.gradle file is

 

buildscript {
    repositories
    {
        mavenCentral()
        maven {
            name = "forge"
            url = "http://files.minecraftforge.net/maven"
        }
        maven {
            name = "sonatype"
            url = "https://oss.sonatype.org/content/repositories/snapshots/"
        }
    }
    dependencies
    {
        classpath "net.minecraftforge.gradle:ForgeGradle:1.1-SNAPSHOT"
    }
}

apply plugin: "forge"

sourceSets
{
    main
    {
        java { srcDirs = ["$projectDir/java"] }
       resources { srcDirs = ["$projectDir/resources"] }
    }
}

archivesBaseName = "World Cup"
version = "1.7.2-1.0"
minecraft.version = "1.7.2-10.12.0.997"

 

 

Any help with getting rid of the errors?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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