Jump to content

Linking Intellij workspaces


brandon3055

Recommended Posts

Just wondering if any of the experts here know how to link Intellij work spaces.

What i would like to do. I am about to start working on a library mod to consolidate a lot of the code that i use in all of my separate mods. And i would like to know if there is a way i can link this work space to all of my mod work spaces in a way that any changes will automatically show up in all of my separate mod work spaces. And  if possible have the ability to make changes to my library mod from the linked mod work spaces. 

 

Im sure i will eventually figure this out but a quick google search didn't tern up any helpful results so i figured it cant hurt to ask. 

I am the author of Draconic Evolution

Link to comment
Share on other sites

Hmm... Still using eclipse language huh? They are called projects, not workspaces. ;) And as for how to do that, this link might help: https://www.jetbrains.com/idea/help/opening-multiple-projects.html

 

Hope this helps.

Yea... I just never stopped calling them workspaces.

Thats not exactly what i need. That just shows you how to open multiple intellij windows. But i will have a look around that site because there seems to be a lot of info there.

 

I found that i can link them by importing my library project as a module but that dosnt actually load when i run the game.

I am the author of Draconic Evolution

Link to comment
Share on other sites

What you want is a gradle multiproject. I am not quite sure how to get that working with ForgeGradle, since I've never done it before. But if you join #forgegradle on esper I'm sure there are people there to help you (I've seen it happen with this exact issue ;)).

 

@Spider: That request, as sad as it is, will probably not ever happen...

Thanks i will go have a chat with them. And if i can get it all figured out i may make a tutorial on it.

I am the author of Draconic Evolution

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • It wasnt mappings issue, I was reading fabric and not forge. Fabric has PlayerEntity while forge has Player. Through a mixin I was able to change the player's velocity so that there is a sort of slow-motion type movement. Only issue is that jumping seems to be handled separately. Changing that velocity only makes the jump lower, not slower. Unsure how to increase the duration in which a jump happens.   @Mixin(LivingEntity.class) public abstract class ExampleMixin extends Entity { public ExampleMixin(EntityType<?> type, World world) { super(type, world); } @Inject(method = "tickMovement", at = @At("HEAD")) private void onTickMovement(CallbackInfo ci) { // Access the player entity LivingEntity entity = (LivingEntity)(Object)this; // Modify player's acceleration by applying a force in the opposite direction double slowdownFactor = 0.75; // Adjust as needed entity.setVelocity(entity.getVelocity().multiply(1, slowdownFactor, 1)); } }  
    • Hi so i made a modded survival, and when i go to the page 13 of my JEI,  my game instant crash and give this error "The game crashed whilst rendering item Error", I don't know what to do i give you the crash report : https://pastebin.com/EhzYdEZg
    • You need to run build at least once before running the game for the first time in a dev environment. Make sure stuff's working *before* you start making changes to the mdk template
    • Greetings, people of the forge forums: I come to you in a time of need. While creating my silly block entity that is (in theory) supposed to point to a position within world space I've started to question how to actually implement it.   How would I get a tile entity element (or bone) to change its pitch/yaw/roll? While I do have prior experience with programming, I have no actual experience with the forge API except the things listed in its docs. Please correct me if I am in any way wrong.
    • Making my own screen by extending from net.minecraft.client.gui.screens.Screen and override render method. I am trying to make green square only to be visible when intersecting with red square. This is what I got so far: @Override public void render(PoseStack poseStack, int mx, int my, float partialTick) {     RenderSystem.enableDepthTest(); // Red square     GuiComponent.fill(pPoseStack, 32, 32, 64, 64, 0xFFFF0000);     RenderSystem.depthFunc(GlConst.GL_LEQUAL); // Green square     GuiComponent.fill(pPoseStack, mx-16, my-16, mx+16, my+16, 0xFF00FF00); } Thank you in advance.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.