Custom trees broken in MCreator version 2024.2.

Started by TjSgRf on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 18:41, 7. Sep 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom trees broken in MCreator version 2024.2.

Here are the errors in the console.

D:\Epic MCreator Stuff\tjsgrfs_epic_mod\src\main\java\net\mcreator\tjsgrf_lootbox_mod\world\features\treedecorators\TheFruitDecorator.java:27: error: 

TreeDecoratorType(MapCodec

) has private access in TreeDecoratorType

public static TreeDecoratorType<?> DECORATOR_TYPE = new TreeDecoratorType<>(CODEC);
^
where P is a type-variable:
P extends TreeDecorator declared in class TreeDecoratorType
D:\Epic MCreator Stuff\tjsgrfs_epic_mod\src\main\java\net\mcreator\tjsgrf_lootbox_mod\world\features\treedecorators\TheLeaveDecorator.java:24: error: 

TreeDecoratorType(MapCodec

) has private access in TreeDecoratorType

public static TreeDecoratorType<?> DECORATOR_TYPE = new TreeDecoratorType<>(CODEC);
^
where P is a type-variable:
P extends TreeDecorator declared in class TreeDecoratorType
D:\Epic MCreator Stuff\tjsgrfs_epic_mod\src\main\java\net\mcreator\tjsgrf_lootbox_mod\world\features\treedecorators\TheTrunkDecorator.java:24: error: 

TreeDecoratorType(MapCodec

) has private access in TreeDecoratorType

public static TreeDecoratorType<?> DECORATOR_TYPE = new TreeDecoratorType<>(CODEC);
^
where P is a type-variable:
P extends TreeDecorator declared in class TreeDecoratorType
3 errors
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 --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 1s

Turns out this is bug of…
Mon, 08/12/2024 - 12:28

Turns out this is bug of geckolib plugin that causes this, even if not enabled directly in the workspace. I recommend reporting bug to the plugin author

Last seen on 18:41, 7. Sep 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That sure is a weird one…
Sat, 09/07/2024 - 18:34

That sure is a weird one. Sorry for not getting back to you, was just a bit busy.

Last seen on 18:41, 7. Sep 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It also turns out, Nerdy…
Sat, 09/07/2024 - 18:42

It also turns out, Nerdy fixed it, so it is no longer a issue!