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 am wondering how I can go about rearranging everything in my config in the order I would like.

It seems forge is automatically arranging everything alphabetically.

It's still perfectly functional but things are just out of logical order.

 

"copper ore" {
    I:"Average veins per chunk"=50
    B:"Generate Copper Ore"=true
    I:"Max Y"=128
    I:"Max vein size"=8
    I:"Min Y"=0
    I:"Minimum vein size"=3
}

 

public class ooConfig 
{
public static boolean generate_Copper;
public static int veins_Copper;
public static int minveinSize_Copper;
public static int maxveinSize_Copper;
public static int minY_Copper;
public static int maxY_Copper;

public static void config()
{
	Configuration config = new Configuration(new File("config/OreOverhaul.cfg"));
	config.load();

		generate_Copper              = config.get("Copper Ore",             "Generate Copper Ore",                true).getBoolean();
		veins_Copper                 = config.get("Copper Ore",             "Average veins per chunk",              20).getInt();
		minveinSize_Copper           = config.get("Copper Ore",             "Minimum vein size",                     3).getInt();
		maxveinSize_Copper           = config.get("Copper Ore",             "Max vein size",                         .getInt();
		minY_Copper                  = config.get("Copper Ore",             "Min Y",                                 0).getInt();
		maxY_Copper                  = config.get("Copper Ore",             "Max Y",                               128).getInt();

	config.save();
}

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.