Bug with the EAP 2021.1

Started by Nasakyuu on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 00:18, 6. Jun 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bug with the EAP 2021.1

when I launch mcreator I have this error message in my workspace and it block me : your main mod file did not compile properly, and when I try to regenerate code the problem persist please help me.

Last seen on 00:18, 6. Jun 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you want the log console ?  
Sun, 04/11/2021 - 17:01

you want the log console ?

 

Last seen on 00:18, 6. Jun 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
here the console contents :…
Mon, 04/12/2021 - 07:51

here the console contents :

Executing 
    Gradle task: build

Build 
    info: MCreator 2021.1.12313 EAP (12313), forge-1.16.5, 64-bit, 8077 MB, 
    Windows 10, JVM 1.8.0_275, JAVA_HOME: 
    C:\Users\turbe\Downloads\MCreatorEAP20211b12313\jdk


    Task :compileJava

C:\Users\turbe\Desktop\Arinium\arinium_v\src\main\java\net\mcreator\arinium\AriniumMod.java:86: 
    error: cannot find symbol 
 
         
    event.getRegistry().registerAll(elements.getBiomes().stream().map(Supplier::get).toArray(Biome[]::new));

 
                                                 ^

 
     symbol:   method getBiomes()

 
     location: variable elements of type AriniumModElements

C:\Users\turbe\Desktop\Arinium\arinium_v\src\main\java\net\mcreator\arinium\AriniumMod.java:86: 
    error: invalid method reference 
 
         
    event.getRegistry().registerAll(elements.getBiomes().stream().map(Supplier::get).toArray(Biome[]::new));

 
                                                                           ^

 
     non-static method get() cannot be referenced from a static context

 
     where T is a type-variable:

 
       T extends Object declared in interface Supplier


    errors


    Task :compileJava FAILED

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 --stacktrace option to get the stack trace. Run with --info or 
    --debug option to get more log output. Run with --scan to get full 
    insights.


    Get more help at https://help.gradle.org

BUILD 
    FAILED in 1m 58s


    actionable task: 1 executed

BUILD 
    FAILED

Task 
    completed in 2 minutes and 8 seconds

Last seen on 00:18, 6. Jun 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know what's this
Wed, 04/14/2021 - 13:18

I don't know what's this

Last seen on 00:18, 6. Jun 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to see if there is ?
Wed, 04/14/2021 - 13:30

How to see if there is ?