Error opening game after update: no symbol found

Started by SlimeElias on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 11:00, 27. Apr 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error opening game after update: no symbol found

C:\MCreatorWorkspaces\xjxj\src\main\java\net\mcreator\xjxj\XjxjMod.java:44: Error: symbol not found
public static <T> void addNetworkMessage(Class<T> messageType, BiConsumer<T, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, T> decoder, BiConsumer<T, Supplier<NetworkEvent.Context>> messageConsumer) {
^
Notation: class BiConsumer

location: Class XJXJMOD
C:\MCreatorWorkspaces\xjxj\src\main\java\net\mcreator\xjxj\XjxjMod.java:44: Error: symbol not found
public static <T> void addNetworkMessage(Class<T> messageType, BiConsumer<T, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, T> decoder, BiConsumer<T, Supplier<NetworkEvent.Context>> messageConsumer) {
^
Notation: class Function

location: Class XJXJMOD
C:\MCreatorWorkspaces\xjxj\src\main\java\net\mcreator\xjxj\XjxjMod.java:44: Error: symbol not found
public static <T> void addNetworkMessage(Class<T> messageType, BiConsumer<T, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, T> decoder, BiConsumer<T, Supplier<NetworkEvent.Context>> messageConsumer) {
^
Notation: class BiConsumer

location: Class XJXJMOD
C:\MCreatorWorkspaces\xjxj\src\main\java\net\mcreator\xjxj\XjxjMod.java:44: Error: symbol not found
public static <T> void addNetworkMessage(Class<T> messageType, BiConsumer<T, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, T> decoder, BiConsumer<T, Supplier<NetworkEvent.Context>> messageConsumer) {
^
Notation: class Supplier

location: Class XJXJMOD
C:\MCreatorWorkspaces\xjxj\src\main\java\net\mcreator\xjxj\XjxjMod.java:59: Error: symbol not found
List<AbstractMap.SimpleEntry<Runnable, Integer>> actions = new ArrayList<>();
^
Symbol: class List 

location: Class XJXJMOD

5 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 3s

 

After I updated my Mceator to version 2024.1, both the new and old workspaces became inaccessible to the game. I don&#039;t know anything about Java, so please tell me how to handle this, or I may not be able to continue using Mcreator.

Last seen on 11:00, 27. Apr 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried to delete caches and…
Sun, 04/21/2024 - 08:08

I tried to delete caches and gradle a while ago, but it&’s still the same, and it&#039;s the first time it’039;s been done in years