Problem with 1.19.2 Plugin / create(boolean) is not public in BooleanValue

Started by JPZamps on

Topic category: Plugins and third-party tools

Last seen on 19:42, 15. Sep 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problem with 1.19.2 Plugin / create(boolean) is not public in BooleanValue

I'm using a plugin for version 1.19.2 on MCreator 2024.1, and I've encountered an issue where all my gamerules have stopped functioning. This issue is not occurring in later versions such as the generator from version 1.19.4 and onward. The specific error message I'm encountering is:

```
C:\Users\pedro\OneDrive\Área de Trabalho\MCreator\Apocalypse Now\Apocalypse Now.2023.3-2.1.3\src\main\java\net\mcreator\apocalypsenow\init\ApocalypsenowModGameRules.java:12: error: method create in class BooleanValue cannot be applied to given types; 
   public static final GameRules.Key<GameRules.BooleanValue> DOZOMBIESGETARMOR = GameRules.register("dozombiesgetarmor", GameRules.Category.MOBS, GameRules.BooleanValue.create(true)); 
                                                                                                                                                                        ^ 
 required: boolean 
 found:    boolean 
 reason: create(boolean) is not public in BooleanValue; cannot be accessed from outside package 
```

Is this issue related to the plugin or to MCreator itself? Has anyone else experienced similar issues using this specific plugin with MCreator version 1.19.2? What steps can be taken to address or work around this issue?

I appreciate any assistance or suggestions in advance!