Importing the library doesn't work!

Started by Daniil_White on

Topic category: Help with Minecraft modding (Java Edition)

Active 7 months ago
Joined Apr 2022
Points:
409

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
Importing the library doesn't work!

Hello everyone Such a problem: on version Mcreator 2023.2, when creating a procedure with the opening of the GUI, an error appears after compilation - OpenProcedure.java:53: error: cannot find symbol 
return new VillagerguiMenu(id, inventory, new FriendlyByteBuf(Unpooled.buffer()).writeBlockPos(_bpos));

The solution is simple lock the element and import the component: import io.netty.buffer.Unpooled;

 

But this has never happened before! Please solve it!

Active 7 months ago
Joined Apr 2022
Points:
409

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
help plz 
Thu, 09/21/2023 - 11:48

help plz 

Active 7 months ago
Joined Apr 2022
Points:
409

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
Addition: the mod now…
Fri, 09/22/2023 - 07:22

Addition: the mod now deletes all the code!

Active 7 months ago
Joined Apr 2022
Points:
409

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
Thanks Klemen, you always…
Sat, 09/23/2023 - 05:56

Thanks Klemen, you always help out bro!