error: cannot find symbol

Started by Baraban4ik on

Topic category: Troubleshooting, bugs, and solutions

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
error: cannot find symbol

Help faced with this problem even if there is no item writes about this error what to do?

> Configure project : 
Fabric Loom: 1.0.17 
Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix. 
> Task :compileJava 
C:\Users\Baraban4ik\MCreatorWorkspaces\leveling\src\main\java\net\mcreator\leveling\LevelingMod.java:32: error: cannot find symbol 
         if (handler.getPlayer().getExtraCustomData().getCompound("PlayerPersisted").isEmpty()) { 
                                ^ 
  symbol:   method getExtraCustomData() 
  location: class ServerPlayer 
C:\Users\Baraban4ik\MCreatorWorkspaces\leveling\src\main\java\net\mcreator\leveling\LevelingMod.java:33: error: cannot find symbol 
            handler.getPlayer().getExtraCustomData().put("PlayerPersisted", new CompoundTag()); 
                               ^ 
  symbol:   method getExtraCustomData() 
  location: class ServerPlayer 
C:\Users\Baraban4ik\MCreatorWorkspaces\leveling\src\main\java\net\mcreator\leveling\LevelingMod.java:35: error: cannot find symbol 
         LevelingMod.LOGGER.info(handler.getPlayer().getExtraCustomData()); 
                                                    ^ 
  symbol:   method getExtraCustomData() 
  location: class ServerPlayer 
3 errors
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i have the same thing.
Wed, 02/22/2023 - 06:39

i have the same thing.

Seems like Fabric plugin bug…
Wed, 02/22/2023 - 10:54

Seems like Fabric plugin bug, so the best course of action is to report the bug to the plugin authors, not on the forum here

Enable fabric essentials in…
Wed, 02/22/2023 - 17:52

Enable fabric essentials in workspace settings -> external APIs