Concerning “Some input files use or override a deprecated API”

Started by aoaoaoaoc on

Topic category: Troubleshooting, bugs, and solutions

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Concerning “Some input files use or override a deprecated API”

With Microsoft Translation, some of the sentences may not be smooth

Because other potentially duplicate posts are not available, here's a new post

mod newbie ask questions

When I raised my mod from 1.16.5 to 1.18.2 I got the following error:

C:\Users\Acer\MCreatorWorkspaces\EXMU\src\main\java\net\mcreator\extramusic\item\AwdrhwadrdiscItem.java:13: Error: Unable to apply the constructor in the class RecordItem to the given type;
super(0, ExtraMusicModSounds.REGISTRY.get(new ResourceLocation(“extra_music:awdrhwadr”)),
^Required: No argument
Found: int, SoundEvent, Properties
Cause: The actual parameter list and the formal parameter list are of different lengths

And there are 320 groups of errors like this

The same error was made when it was previously upgraded to 1.17.1

Hopefully, there will be a solution

Also: After I upgraded the version of MCreator from 2021.3 to 2022.1, the localization files in my MOD zh_cn garbled and hoped to solve it

And there are 320 groups of…
Mon, 05/23/2022 - 15:47

And there are 320 groups of errors like this

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.

Also: After I upgraded the version of MCreator from 2021.3 to 2022.1, the localization files in my MOD zh_cn garbled and hoped to solve it

Check release notes