Jump to content
  • Home
  • Files
  • Docs
  • Merch
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
  • Forge and Intellij
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 1
GrandMasterRubix

Forge and Intellij

By GrandMasterRubix, September 7, 2016 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

GrandMasterRubix    0

GrandMasterRubix

GrandMasterRubix    0

  • Tree Puncher
  • GrandMasterRubix
  • Forge Modder
  • 0
  • 12 posts
Posted September 7, 2016

How does one get Forge working with Intellij. I have downloaded Forge, and I have run "Gradlew SetupDecompworkspace" and also "Gradlew Idea" I'm not sure what those commands did, or where I should point Intellij to so that it can find the MC sources.

  • Quote

Share this post


Link to post
Share on other sites

loordgek    163

loordgek

loordgek    163

  • World Shaper
  • loordgek
  • Members
  • 163
  • 1603 posts
Posted September 7, 2016
  • Quote

Share this post


Link to post
Share on other sites

GrandMasterRubix    0

GrandMasterRubix

GrandMasterRubix    0

  • Tree Puncher
  • GrandMasterRubix
  • Forge Modder
  • 0
  • 12 posts
Posted September 7, 2016

That works for Forge 1.10.2, right?

 

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6671

diesieben07

diesieben07    6671

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6671
  • 45590 posts
Posted September 7, 2016

It does.

  • Quote

Share this post


Link to post
Share on other sites

GrandMasterRubix    0

GrandMasterRubix

GrandMasterRubix    0

  • Tree Puncher
  • GrandMasterRubix
  • Forge Modder
  • 0
  • 12 posts
Posted September 10, 2016

In the first few seconds of that video, an annotation comes up stating that a follow-up video will be posted. Anyone have the link to that video or a least a fix for the issues that are addressed in the follow-up video?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6671

diesieben07

diesieben07    6671

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6671
  • 45590 posts
Posted September 10, 2016

I use the exact setup described in that video and I have never had IntelliJ not pick up the sources.

  • Quote

Share this post


Link to post
Share on other sites

SHsuperCM    5

SHsuperCM

SHsuperCM    5

  • Diamond Finder
  • SHsuperCM
  • Members
  • 5
  • 264 posts
Posted September 11, 2016

What Issues do you have?

Im using idea and it world perfectly...

You maybe want me to explain what im doing?

  • Quote

Share this post


Link to post
Share on other sites

Frontrider    0

Frontrider

Frontrider    0

  • Tree Puncher
  • Frontrider
  • Members
  • 0
  • 8 posts
Posted September 11, 2016

It works. I'm compiling from itellij right now.

 

if setupDecompWorkspace fails, use setupDevWorkspace.

  • 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

    • matt1999rd
      [1.14-newer] how to keep value when closing minecraft

      By matt1999rd · Posted just now

      hello, In my mod I want to keep the value of a variable when closing minecraft and I don't know how to do it . It is three integer from a BlockPos...  
    • matt1999rd
      [1.14-newer] deprecated method onBlockActivated

      By matt1999rd · Posted 2 minutes ago

      okay so how can I replace it if I cannot use blockState ? I saw on other post that people in 1.14 are using onBlockActivated too and nothing is suggest to replace it in the Block class unfortunately...
    • DragonITA
      [1.14.4] Why minecraft with mod dont want start?

      By DragonITA · Posted 3 minutes ago

      i try with delete the entier Config Folder but it still dont work and the Folder come back.
    • plugsmustard
      on/off button for custom furnace

      By plugsmustard · Posted 4 minutes ago

      what exactly is wrong with them. i was told to return a new packet?
    • JetCobblestone
      [1.14] moving item assignment to a separate function

      By JetCobblestone · Posted 6 minutes ago

      Hey everyone,   I'm trying to move my item assignment into a new class. I've stuck in into the same package as my main and called it ItemsLoader.   package jetcobblestone.firstmod; import jetcobblestone.firstmod.lists.itemList; import net.minecraft.item.Foods; import net.minecraft.item.Item; import net.minecraft.item.ItemGroup; import net.minecraft.util.ResourceLocation; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; public class ItemsLoader { public static final String modid = "first_mod"; public static void Items() { @Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD) public static class RegistryEvents { @SubscribeEvent public static void registerItems(final RegistryEvent.Register<Item> event) { event.getRegistry().registerAll ( itemList.hair_fibre = new Item(new Item.Properties().food(Foods.COOKIE).group(ItemGroup.FOOD).maxStackSize(1)).setRegistryName(location("hair_fibre")) ); } } private static ResourceLocation location(String name) { return new ResourceLocation(modid, name); } } }   This is the new class, however I'm running into an issue with the new Items function. It's giving me an error saying that it's expecting a volatile at the void token. Why is it trying to force me to do this? I don't want to send this to main memory? If I do replace void with volatile, it tells me there's a syntax error on the 'void' token, despite the fact there is no void. Any help would be much appreciated, thank you!
  • Topics

    • matt1999rd
      0
      [1.14-newer] how to keep value when closing minecraft

      By matt1999rd
      Started Just now

    • matt1999rd
      9
      [1.14-newer] deprecated method onBlockActivated

      By matt1999rd
      Started November 1

    • DragonITA
      1
      [1.14.4] Why minecraft with mod dont want start?

      By DragonITA
      Started 1 hour ago

    • plugsmustard
      43
      on/off button for custom furnace

      By plugsmustard
      Started Wednesday at 03:11 PM

    • JetCobblestone
      0
      [1.14] moving item assignment to a separate function

      By JetCobblestone
      Started 7 minutes ago

  • Who's Online (See full list)

    • matt1999rd
    • Lea9ue
    • LexManos
    • FaxeeK
    • Vorquel
    • plugsmustard
    • DragonITA
    • xVoidZx
    • Silverpool64
    • Hendoor64
    • JetCobblestone
    • Atila1091
    • maycool12
    • vaartis
    • Draco18s
    • loordgek
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Forge and Intellij
  • Theme
  • Contact Us
  • Discord

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