Missing Symbols Error

Started by superslambro on Fri, 12/23/2016 - 17:15

Topic category: Help with MCreator's application

Last seen on 10:59, 15. Jul 2017
Joined Feb 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Missing Symbols Error
Fri, 12/23/2016 - 17:15

PLEASE HELP it says here that i have a missing symbol error:

warning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\ModName.java:42: error: cannot find symbol
 mcreator_ohther mcreator_3 = new mcreator_ohther();
 ^
  symbol:   class mcreator_ohther
  location: class ModName
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\ModName.java:42: error: cannot find symbol
 mcreator_ohther mcreator_3 = new mcreator_ohther();
                                  ^
  symbol:   class mcreator_ohther
  location: class ModName
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
1 warning

FAILURE: Build failed with an exception.            

 

But im not sure what i add or change and where:

package mod.mcreator;

import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.fml.common.network.NetworkRegistry;
import net.minecraftforge.fml.common.network.IGuiHandler;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.IWorldGenerator;
import net.minecraftforge.fml.common.IFuelHandler;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.client.model.obj.OBJLoader;

import net.minecraft.world.chunk.IChunkProvider;
import net.minecraft.world.chunk.IChunkGenerator;
import net.minecraft.world.World;
import net.minecraft.item.ItemStack;
import net.minecraft.entity.player.EntityPlayer;

import java.util.Random;

@Mod(modid = ModName.MODID, version = ModName.VERSION)
public class ModName implements IFuelHandler, IWorldGenerator {

 public static final String MODID = "ModName";
 public static final String VERSION = "1.0.0";

 @SidedProxy(clientSide = "mod.mcreator.ClientProxyModName", serverSide = "mod.mcreator.CommonProxyModName")
 public static CommonProxyModName proxy;

 @Instance(MODID)
 public static ModName instance;

 mcreator_obsidianIngot mcreator_0 = new mcreator_obsidianIngot();
 mcreator_smoothObsidian mcreator_1 = new mcreator_smoothObsidian();
 mcreator_obsidianSword mcreator_2 = new mcreator_obsidianSword();
 mcreator_ohther mcreator_3 = new mcreator_ohther();

 @Override
 public int getBurnTime(ItemStack fuel) {
  if (mcreator_0.addFuel(fuel) != 0)
   return mcreator_0.addFuel(fuel);
  if (mcreator_1.addFuel(fuel) != 0)
   return mcreator_1.addFuel(fuel);
  if (mcreator_2.addFuel(fuel) != 0)
   return mcreator_2.addFuel(fuel);
  if (mcreator_3.addFuel(fuel) != 0)
   return mcreator_3.addFuel(fuel);
  return 0;
 }

 @Override
 public void generate(Random random, int chunkX, int chunkZ, World world, IChunkGenerator chunkGenerator, IChunkProvider chunkProvider) {

  chunkX = chunkX * 16;
  chunkZ = chunkZ * 16;
  if (world.provider.getDimension() == -1)
   mcreator_0.generateNether(world, random, chunkX, chunkZ);
  if (world.provider.getDimension() == 0)
   mcreator_0.generateSurface(world, random, chunkX, chunkZ);
  if (world.provider.getDimension() == -1)
   mcreator_1.generateNether(world, random, chunkX, chunkZ);
  if (world.provider.getDimension() == 0)
   mcreator_1.generateSurface(world, random, chunkX, chunkZ);
  if (world.provider.getDimension() == -1)
   mcreator_2.generateNether(world, random, chunkX, chunkZ);
  if (world.provider.getDimension() == 0)
   mcreator_2.generateSurface(world, random, chunkX, chunkZ);
  if (world.provider.getDimension() == -1)
   mcreator_3.generateNether(world, random, chunkX, chunkZ);
  if (world.provider.getDimension() == 0)
   mcreator_3.generateSurface(world, random, chunkX, chunkZ);

 }

 @EventHandler
 public void load(FMLInitializationEvent event) {

  GameRegistry.registerFuelHandler(this);
  GameRegistry.registerWorldGenerator(this, 1);
  if (event.getSide() == Side.CLIENT) {
   OBJLoader.INSTANCE.addDomain("ModName");
  }
  MinecraftForge.EVENT_BUS.register(new mcreator_GlobalEventsModName());
  NetworkRegistry.INSTANCE.registerGuiHandler(this, new GuiHandler());
  mcreator_0.load(event);
  mcreator_1.load(event);
  mcreator_2.load(event);
  mcreator_3.load(event);
  proxy.registerRenderers(this);

 }

 @EventHandler
 public void serverLoad(FMLServerStartingEvent event) {
  mcreator_0.serverLoad(event);
  mcreator_1.serverLoad(event);
  mcreator_2.serverLoad(event);
  mcreator_3.serverLoad(event);
 }

 @EventHandler
 public void preInit(FMLPreInitializationEvent event) {
  mcreator_0.instance = this.instance;
  mcreator_1.instance = this.instance;
  mcreator_2.instance = this.instance;
  mcreator_3.instance = this.instance;
  mcreator_0.preInit(event);
  mcreator_1.preInit(event);
  mcreator_2.preInit(event);
  mcreator_3.preInit(event);

 }

 public static class GuiHandler implements IGuiHandler {
  @Override
  public Object getServerGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) {
   return null;
  }

  @Override
  public Object getClientGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) {
   return null;
  }
 }

}