Error when block in mod?

Started by UnlimitedBacon3 on Sun, 01/29/2017 - 20:58

Topic category: Bugs and solutions

Last seen on 22:14, 29. Jan 2017
Joined Jan 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Error when block in mod?
Sun, 01/29/2017 - 20:58

I am making a mod, the items are fine but whenever I make a custom block it has recompile errors 

Gradle error log:

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:40: error: cannot find symbol
    mcreator_kenobiBlock mcreator_1 = new mcreator_kenobiBlock();
    ^
  symbol:   class mcreator_kenobiBlock
  location: class ModName
C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\ModName.java:40: error: cannot find symbol
    mcreator_kenobiBlock mcreator_1 = new mcreator_kenobiBlock();
                                          ^
  symbol:   class mcreator_kenobiBlock
  location: class ModName
Note: C:\Pylo\MCreator171\forge\build\sources\main\java\mod\mcreator\mcreator_kenobi.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
1 warning

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

 

 

Why can't it find the symbol?

And how do I fix this? Plz

Last seen on 22:14, 29. Jan 2017
Joined Jan 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
It's not making the symbol
Sun, 01/29/2017 - 21:11

It's not making the symbol for a block or more than 1 item. Please help!

Last seen on 09:02, 24. May 2018
Joined Apr 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
This kenobiBlock have a
Mon, 01/30/2017 - 10:12

This kenobiBlock have a proplem

if you have add a ability to this block...

 you should remove it....

this is what i know.... sorry