Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [1.16.3] Problem building recommended mdk
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
Schmille

[1.16.3] Problem building recommended mdk

By Schmille, October 21, 2020 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

Schmille    0

Schmille

Schmille    0

  • Tree Puncher
  • Schmille
  • Members
  • 0
  • 4 posts
Posted October 21, 2020

I tried importing the recommended mdk version of Minecraft Forge 1.16.3 (1.16.3 - 34.1.0) into Intellij IDEA (version 2020.1.4) and got the following errors:

Could not make Minecraft POM. Missing version json
Could not find net.minecraft:client:1.16.3

 

A full stacktrace (gradlew build --stacktrace --plain-console) can be found here (pastebin)

Can anyone help with this?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7589

diesieben07

diesieben07    7589

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7589
  • 54989 posts
Posted October 21, 2020

OpenJ9 is not officially supported. Please use OpenJDK with HotSpot.

  • Quote

Share this post


Link to post
Share on other sites

Schmille    0

Schmille

Schmille    0

  • Tree Puncher
  • Schmille
  • Members
  • 0
  • 4 posts
Posted October 21, 2020 (edited)
Quote

Please use OpenJDK with HotSpot.

I have switched to a JDK version which uses HotSpot. Unfortunately the errors are still there.

(new stacktrace)

Edited October 21, 2020 by Schmille
added quote for additional context
  • Quote

Share this post


Link to post
Share on other sites

Schmille    0

Schmille

Schmille    0

  • Tree Puncher
  • Schmille
  • Members
  • 0
  • 4 posts
Posted October 23, 2020 (edited)

I managed to solve the issue. For anyone else who might be experiencing this problem, here is what I did:

I deleted the “forge_gradle” and “minecraft” cache-folders located under %USERPROFILE%\.gradle\caches and let IntellJ re-import the project.

Additionally (but likely unrelated) I updated to IntelliJ IDEA version 2020.2.3 and OpenJDK (Hotspot) version 1.8.0_272.

Edited October 23, 2020 by Schmille
fixed linebreak formatting
  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • buffalobob
      Forge opening in Internet Explorer instead of Java

      By buffalobob · Posted 1 minute ago

      I will literally make out with you I was struggling with this for two hours and you fixed it papi chulo I love you
    • diesieben07
      [1.15.2] Render as 2D icon in GUI, 3D model in hand

      By diesieben07 · Posted 53 minutes ago

      The loader is an inner class: https://github.com/MinecraftForge/MinecraftForge/blob/1.16.x/src/main/java/net/minecraftforge/client/model/SeparatePerspectiveModel.java#L164   You need to register the loader (see where Forge does it). Then the loader will be called to load the JSON model into memory.
    • Woodside
      [1.15.2] Render as 2D icon in GUI, 3D model in hand

      By Woodside · Posted 1 hour ago

      Loader, is that another class I extend off of? Is that SeparaterPerspectiveModel? I really have no context for how these pieces of information fit together. Can you explain with some more detail?
    • ChampionAsh5357
      [1.16.4] Looking to add trades to villagers/wandering traders

      By ChampionAsh5357 · Posted 1 hour ago

      Villagers can be added via VillagerTradesEvent while wandering traders via WandererTradesEvent.
    • ChampionAsh5357
      [1.16.4] How i can put my strucnures in to FlatGenerationSettings.STRUCTURES

      By ChampionAsh5357 · Posted 1 hour ago

      Yes, as you can see it has the obfuscated name which translate to its unique srg name and then finally the mapped name. You will need the srg name as your parameter. The static keyword makes the field/method available at class level meaning you do not need an instance to grab the associated value. So, a null value can be passed in instead.
  • Topics

    • Stinkerpot
      5
      Forge opening in Internet Explorer instead of Java

      By Stinkerpot
      Started March 8, 2016

    • Woodside
      10
      [1.15.2] Render as 2D icon in GUI, 3D model in hand

      By Woodside
      Started 20 hours ago

    • basicsid
      1
      [1.16.4] Looking to add trades to villagers/wandering traders

      By basicsid
      Started 7 hours ago

    • Klarks
      9
      [1.16.4] How i can put my strucnures in to FlatGenerationSettings.STRUCTURES

      By Klarks
      Started 21 hours ago

    • monkeysHK
      3
      [1.16] Transparent Picture Render in GUI

      By monkeysHK
      Started Yesterday at 12:19 AM

  • Who's Online (See full list)

    • jbredwards
    • zOnlyKroks
    • Danebi
    • stegii
    • Amperka_pro
    • Pavel1ewq
    • GamingTiger101
    • diesieben07
    • yaj
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [1.16.3] Problem building recommended mdk
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community