...Uses or Overrides Deprecated API...

Started by HCPhoenix on

Topic category: Help with MCreator software

Active 5 years ago
Joined Jun 2018
Points:
682

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
...Uses or Overrides Deprecated API...

Got this error message in a gradle error log.  How to fix?

 

C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_bloodAltarGUI.java:77: error: cannot find symbol
            if (ent != null && (ent instanceof mcreator_bloodAltar.TileEntityCustom))
                                                                  ^
  symbol:   class TileEntityCustom
  location: class mcreator_bloodAltar
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

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.

Active 5 years ago
Joined Jun 2018
Points:
682

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
I made a test block and…
Mon, 06/04/2018 - 14:23

I made a test block and another GUI for it and it came up with the same error.  Please help.

Active 1 year ago
Joined Aug 2013
Points:
1162

User statistics:

  • Modifications: 4
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 737
Can you provide your…
Thu, 06/07/2018 - 20:47

Can you provide your BloodAltar element code?