Small tweak to config to use Treemap
This commit is contained in:
parent
820aa195bd
commit
7b6d65ce85
|
@ -4,9 +4,9 @@ import java.io.BufferedWriter;
|
|||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.TreeMap;
|
||||
|
||||
import com.google.common.base.Splitter;
|
||||
|
||||
|
@ -17,7 +17,7 @@ public class ConfigCategory implements Map<String, Property>
|
|||
private String name;
|
||||
private String comment;
|
||||
private ArrayList<ConfigCategory> children = new ArrayList<ConfigCategory>();
|
||||
private Map<String, Property> properties = new HashMap<String, Property>();
|
||||
private Map<String, Property> properties = new TreeMap<String, Property>();
|
||||
public final ConfigCategory parent;
|
||||
|
||||
public ConfigCategory(String name)
|
||||
|
|
|
@ -113,6 +113,11 @@ public class Configuration
|
|||
* biomes.
|
||||
* EXA: ExtraBiomesXL
|
||||
*
|
||||
* Specifically, if your block is used BEFORE the Chunk is created, and placed in the terrain byte array directly.
|
||||
* If you add a new biome and you set the top/filler block, they need to be <256, nothing else.
|
||||
*
|
||||
* If you're adding a new ore, DON'T call this function.
|
||||
*
|
||||
* Normal mods such as '50 new ores' do not need to be below 256 so should use the normal getBlock
|
||||
*/
|
||||
public Property getTerrainBlock(String category, String key, int defaultID, String comment)
|
||||
|
|
Loading…
Reference in New Issue