NBTTagCompound tpModCfg = new NBTTagCompound(); tpModCfg.setName("ExtraBiomesXL"); tpModCfg.setString("modID", "ExtraBiomesXL"); tpModCfg.setString("configPath", "extrabiomes/extrabiomes.cfg"); tpModCfg.setString("blockConfigKeys", "block:customlog.id; block:quarterlog0.id; block:quarterlog1.id; block:quarterlog2.id; block:quarterlog3.id; " + "block:autumnleaves.id; block:greenleaves.id"); tpModCfg.setString("itemConfigKeys", ""); tpModCfg.setString("axeIDList", ""); tpModCfg.setString("shearsIDList", ""); tpModCfg.setBoolean("useShiftedItemID", true); NBTTagList treeList = new NBTTagList(); // Vanilla Oak additions NBTTagCompound tree = new NBTTagCompound(); tree.setString("treeName", "vanilla_oak"); tree.setString("logConfigKeys", ",2; ,2; ,2; ,2;"); tree.setString("leafConfigKeys", ""); treeList.appendTag(tree); // Vanilla Spruce additions tree = new NBTTagCompound(); tree.setString("treeName", "vanilla_spruce"); tree.setString("logConfigKeys", ""); tree.setString("leafConfigKeys", ""); treeList.appendTag(tree); // EBXL fir tree = new NBTTagCompound(); tree.setString("treeName", "fir"); tree.setString("logConfigKeys", ",0; ,1; ,1; ,1; ,1"); tree.setString("leafConfigKeys", ",0; ,8"); tree.setInteger("maxHorLeafBreakDist", 10); tree.setBoolean("requireLeafDecayCheck", false); treeList.appendTag(tree); // EBXL redwood tree = new NBTTagCompound(); tree.setString("treeName", "redwood"); tree.setString("logConfigKeys", ",0; ,0; ,0; ,0"); tree.setString("leafConfigKeys", ",1; ,9"); tree.setInteger("maxHorLeafBreakDist", 10); tree.setBoolean("requireLeafDecayCheck", false); treeList.appendTag(tree); // EBXL acacia tree = new NBTTagCompound(); tree.setString("treeName", "acacia"); tree.setString("logConfigKeys", ",1"); tree.setString("leafConfigKeys", ",2"); treeList.appendTag(tree); tpModCfg.setTag("trees", treeList); FMLInterModComms.sendMessage("TreeCapitator", metadata.modId, tpModCfg);