Syntax errors on neoforge 1.20.6 for some entities

Started by TDO on

Topic category: Troubleshooting, bugs, and solutions

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Syntax errors on neoforge 1.20.6 for some entities

For some reason, when I converted my mod to neoforge 1.20.6, some entities had errors in their code, and I don't know how to fix them. Here they are :

 

C:\Users\onyxl\MCreatorWorkspaces\ancientlegends 1.20.4\src\main\java\net\mcreator\ancientlegends\entity\BearMoroiEntity.java:137: error: not a statement SpawnPlacements.Type.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES,
^
C:\Users\onyxl\MCreatorWorkspaces\ancientlegends 1.20.4\src\main\java\net\mcreator\ancientlegends\entity\BearMoroiEntity.java:137: error: ';' expected SpawnPlacements.Type.ON_GROUND, Heightmap.Types.MOTION_BLOCKING_NO_LEAVES,


These two errors are present in 5 entities of my mod. Each one is a geckolib animated entity, but the other animated entities seem to be fine.

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm having that bug to my…
Sat, 07/20/2024 - 20:49

I'm having that bug to my mobs too