Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

I seen a lot of open source mods on GitHub (such as EE3 and BC) have 3 folders. Client, Server and Common. This is a very nice way to sort out their mods, but how can I easily and not manually have to move all the common source files into the common folder? How did they have their Eclipse to set up to work with these things?

They do it manually. :(

So, what would happen if I did push that shiny red button over there? ... Really? ... Can I try it? ... Damn.

Actually I just use a very simple script.ย  I have all my files in a subdirectory of the MCP install (like forge does), then run an install script to set it up.ย  This sets up my mods whole structure (bash script):

#!/bin/bash

# Setup variables
SELF="`pwd`"
cd ..
BASE="`pwd`"
cd "$SELF"

# Make directory and symlinks
mkdir -p $BASE/src/minecraft/com/overminddl1/minecraft/mods/overgreenetics/
mkdir -p $BASE/src/minecraft_server/com/overminddl1/minecraft/mods/overgreenetics/
mkdir -p $BASE/src/minecraft/com/overminddl1/minecraft/libs/
ln -sf "$SELF/src/com/overminddl1/minecraft/mods/overgreenetics/client" "$BASE/src/minecraft/com/overminddl1/minecraft/mods/overgreenetics/client"
ln -sf "$SELF/src/com/overminddl1/minecraft/mods/overgreenetics/common" "$BASE/src/minecraft/com/overminddl1/minecraft/mods/overgreenetics/common"
ln -sf "$SELF/src/com/overminddl1/minecraft/mods/overgreenetics/server" "$BASE/src/minecraft_server/com/overminddl1/minecraft/mods/overgreenetics/server"
ln -sf "$SELF/src/com/overminddl1/minecraft/mods/overgreenetics/common" "$BASE/src/minecraft_server/com/overminddl1/minecraft/mods/overgreenetics/common"
ln -sf "$SELF/src/com/overminddl1/minecraft/libs/NMT" "$BASE/src/minecraft/com/overminddl1/minecraft/libs/NMT"

ย 

Shared common directory between client/server, always synced, with a dedicated client and dedicated server area as well.

ย 

It could be pretty easily ported to windows too (yes, windows 2000 and higher, including xp/vista/7/8 have a concept of symlinks like linux).

Note, for the most part it takes about 10 seconds to create a linked source folder in eclipse.

You only need to copy files around when you recompile/reobf.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team onย Patreon

  • Author

Note, for the most part it takes about 10 seconds to create a linked source folder in eclipse.

You only need to copy files around when you recompile/reobf.

ย 

How do you create a linked source folder? I can create a source folder but I don't know what's a linked src folder...

Oh crap, you do system links, I did not see that :P

That works, but ya, google is your friend if you dont know how to make linked folders in eclipse.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team onย Patreon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.