error: cannot find symbol

Started by Baraban4ik on

Topic category: Troubleshooting, bugs, and solutions

Active 2 years ago
Joined May 2021
Points:
561

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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
Active 1 year ago
Joined Oct 2021
Points:
686

User statistics:

  • Modifications: 2
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 101
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

Active 4 months ago
Joined Jul 2022
Points:
1896

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 19
  • Comments: 1729
Enable fabric essentials in…
Wed, 02/22/2023 - 17:52

Enable fabric essentials in workspace settings -> external APIs