Started by
Legomanisme
on
Topic category: Help with MCreator software
I've been getting this recompilation error lots and I don't know why. I was making a ruby mod when this started to pop up. I deleted them but i'm still getting this recompilation error. The "Mods that cause errors;" list is blank.
Here's the gradle log:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Etag download for http://files.minecraftforge.net/maven/de/oceanlabs/mcp/versions.json failed with code 400 Etag download for http://export.mcpbot.bspk.rs/versions.json failed with code 400 Etag download for http://files.minecraftforge.net/maven/net/minecraftforge/forge/json failed with code 400 warning: [options] bootstrap class path not set in conjunction with -source 1.6 C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:48: error: cannot find symbol mcreator_emeraldSword mcreator_9 = new mcreator_emeraldSword(); ^ symbol: class mcreator_emeraldSword location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:49: error: cannot find symbol mcreator_emeraldArmor mcreator_10 = new mcreator_emeraldArmor(); ^ symbol: class mcreator_emeraldArmor location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:50: error: cannot find symbol mcreator_emeraldAxe mcreator_11 = new mcreator_emeraldAxe(); ^ symbol: class mcreator_emeraldAxe location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:51: error: cannot find symbol mcreator_emeraldPickaxe mcreator_12 = new mcreator_emeraldPickaxe(); ^ symbol: class mcreator_emeraldPickaxe location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:52: error: cannot find symbol mcreator_emeraldShovel mcreator_13 = new mcreator_emeraldShovel(); ^ symbol: class mcreator_emeraldShovel location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:53: error: cannot find symbol mcreator_emeraldHoe mcreator_14 = new mcreator_emeraldHoe(); ^ symbol: class mcreator_emeraldHoe location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:54: error: cannot find symbol mcreator_ruby mcreator_15 = new mcreator_ruby(); ^ symbol: class mcreator_ruby location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:55: error: cannot find symbol mcreator_rubyArmor mcreator_16 = new mcreator_rubyArmor(); ^ symbol: class mcreator_rubyArmor location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:48: error: cannot find symbol mcreator_emeraldSword mcreator_9 = new mcreator_emeraldSword(); ^ symbol: class mcreator_emeraldSword location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:49: error: cannot find symbol mcreator_emeraldArmor mcreator_10 = new mcreator_emeraldArmor(); ^ symbol: class mcreator_emeraldArmor location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:50: error: cannot find symbol mcreator_emeraldAxe mcreator_11 = new mcreator_emeraldAxe(); ^ symbol: class mcreator_emeraldAxe location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:51: error: cannot find symbol mcreator_emeraldPickaxe mcreator_12 = new mcreator_emeraldPickaxe(); ^ symbol: class mcreator_emeraldPickaxe location: class TestEnvironmentMod C:\Pylo\MCreator175\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:52: error: cannot find symbolEdited by Legomanisme on Sat, 08/19/2017 - 13:28
@#7 Ok, but the only problem is my emerald tools aren't listed
@#3 Yeah they have textures, but that wasnt the full log?
@#7.1 That also include the ruby (item itself) and the ruby armor
Alright it still came up with that popup, (Ruby block and ore are listed)
Could this have to do with anything?
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.
@#8 What @#7 means is to add that line as the first line of the code.
For example to your Ruby Ore code, put it there.
[spoiler]
package mod.mcreator; import net.minecraftforge.fml.relauncher.SideOnly; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.fml.common.event.FMLServerStartingEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraft.world.World; import net.minecraft.world.IBlockAccess; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.EnumFacing; import net.minecraft.util.BlockRenderLayer; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemBlock; import net.minecraft.item.Item; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.client.Minecraft; import net.minecraft.block.state.IBlockState; import net.minecraft.block.material.Material; import net.minecraft.block.SoundType; import net.minecraft.block.Block; import java.util.Random; public class mcreator_rubyOre { public mcreator_rubyOre() { } public static BlockRubyOre block; public static Object instance; public int addFuel(ItemStack fuel) { return 0; } public void serverLoad(FMLServerStartingEvent event) { } public void preInit(FMLPreInitializationEvent event) { block.setRegistryName("rubyore"); GameRegistry.register(block); GameRegistry.register(new ItemBlock(block).setRegistryName(block.getRegistryName())); } public void registerRenderers() { } public void load(FMLInitializationEvent event) { if (event.getSide() == Side.CLIENT) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher() .register(Item.getItemFromBlock(block), 0, new ModelResourceLocation("testenvironmentmod:rubyore", "inventory")); } } static { block = (BlockRubyOre) (new BlockRubyOre().setHardness(3.25F).setResistance(10.0F).setLightLevel(0.0F).setUnlocalizedName("RubyOre") .setLightOpacity(0).setCreativeTab(CreativeTabs.BUILDING_BLOCKS)); block.setHarvestLevel("pickaxe", 3); } public void generateSurface(World world, Random random, int chunkX, int chunkZ) { } public void generateNether(World world, Random random, int chunkX, int chunkZ) { } static class BlockRubyOre extends Block { int a1 = 0, a2 = 0, a3 = 0, a4 = 0, a5 = 0, a6 = 0; boolean red = false; protected BlockRubyOre() { super(Material.ROCK); setSoundType(SoundType.STONE); } @Override public void onBlockAdded(World world, BlockPos pos, IBlockState state) { int i = pos.getX(); int j = pos.getY(); int k = pos.getZ(); world.scheduleUpdate(new BlockPos(i, j, k), this, this.tickRate(world)); } @Override public int getWeakPower(IBlockState blockState, IBlockAccess blockAccess, BlockPos pos, EnumFacing side) { return red ? 15 : 0; } @Override public int getStrongPower(IBlockState blockState, IBlockAccess blockAccess, BlockPos pos, EnumFacing side) { return red ? 15 : 0; } @SideOnly(Side.CLIENT) @Override public BlockRenderLayer getBlockLayer() { return BlockRenderLayer.SOLID; } @Override public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) { return new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 1.0D, 1.0D); } @Override public int tickRate(World world) { return 10; } @Override public int quantityDropped(Random par1Random) { return 1; } @Override public Item getItemDropped(IBlockState state, Random par2Random, int par3) { return new ItemStack(mcreator_ruby.block).getItem(); } } } [/spoiler]@#8.1 Ok
Yeah that didn't work, the popup still came. even after i removed them.
At this point, my best chance is making another account
Forget what I said earlier, i'll just scrap it an start an new workspace