Steel mesh fence added, Broad Windowsill added, Tree Cutter can chop DyncmicTrees (issue #52).

This commit is contained in:
stfwi 2019-10-05 14:13:08 +02:00
parent 1eeaa1229e
commit 1b0a84ae7f
119 changed files with 3399 additions and 133 deletions

View file

@ -342,6 +342,31 @@
me.tasks.map_regnames_lang_file_keys();
};
me.stdtasks["datagen"] = function() {
sys.exec("gradlew.bat", ["--no-daemon", "runData"]);
// double check and really only copy json files.
const dst = fs.realpath("src/main/resources/data/" + constants.modid);
const src = fs.realpath("src/generated/resources/data/" + constants.modid);
if(!dst || !src) throw "Source or destination directory not found.";
const src_files = fs.find(src, "*.json");
const upath = function(s) { return s.replace(/[\\]/g,"/").replace(/^[\/]/,""); } // for correct display on win32
if(src_files===undefined) return 1;
for(var i in src_files) {
const srcfile = src_files[i];
const dstfile = srcfile.replace(src, dst);
const dstdir = fs.dirname(dstfile);
if(!fs.isdir(dstdir)) fs.mkdir(dstdir);
if(!fs.isfile(dstfile)) {
print("[copy] ", upath(srcfile.replace(src,"")));
fs.copy(srcfile, dstdir);
} else if(sys.hash.sha1(srcfile,true) != sys.hash.sha1(dstfile,true)) {
print("[edit] ", upath(srcfile.replace(src,"")));
fs.unlink(dstfile);
fs.copy(srcfile, dstdir);
}
}
};
Object.freeze(me);
Object.freeze(me.tasks);
Object.freeze(me.parsing);

View file

@ -2,12 +2,13 @@
"homepage": "https://www.curseforge.com/minecraft/mc-mods/engineers-decor/",
"promos": {
"1.12.2-recommended": "1.0.12",
"1.12.2-latest": "1.0.13-b1",
"1.12.2-latest": "1.0.13-b2",
"1.14.4-recommended": "",
"1.14.4-latest": "1.0.12-b3"
"1.14.4-latest": "1.0.13-b2"
},
"1.12.2": {
"1.0.13-b1": "[A] Small Solar Panel added.\n[A] Small Tree Cutter added.",
"1.0.13-b2": "[A] Added Steel Mesh Fence.\n[A] Added Broad Window Sill.\n[A] Small Tree Cutter can chop Dynamic Trees, chops at tree trunk radius 7 or higher.",
"1.0.13-b1": "[A] Added Small Solar Panel.\n[A] Added Small Tree Cutter.",
"1.0.12": "[R] Release based on v1.0.12-b2. Release-to-release changes: * Crafting table: Recipe collision resolver added. Items are rendered on the table surface. * Small Mineral Smelter released. * Factory Dropper: Continuous dropping mode added. * Block opacity fixes, window model fixes. * Lang file updates.",
"1.0.12-b2": "[A] Crafting Table: Added recipe collision resolver, also applies to crafting history refabrication.\n[A] Crafting Table: Added rendering of placed items on the top surface of the table.\n[M] Lang files updated.",
"1.0.12-b1": "[A] Mineal Smelter non-experimental now.\n[M] Window submodels stripped (reopened issue #19, thx overchoice).\n[M] Opaque full block light opacity fixed (issue #50, thx Illomiurge).\n[M] Factory Dropper: Added pulse/continuous mode in GUI (issue #51, thx Aristine for the CR).",
@ -64,6 +65,7 @@
"1.0.0-b1": "[A] Initial structure.\n[A] Added clinker bricks and clinker brick stairs.\n[A] Added slag bricks and slag brick stairs.\n[A] Added metal rung ladder.\n[A] Added staggered metal steps ladder.\n[A] Added treated wood ladder.\n[A] Added treated wood pole.\n[A] Added treated wood table."
},
"1.14.4": {
"1.0.13-b2": "[A] Added Steel Mesh Fence.\n[A] Added Broad Window Sill.",
"1.0.12-b3": "[U] Updated to Forge 1.14.4-28.1.10/20190719-1.14.3.\n[A] Crafting Table: Added recipe collision resolver, also applies to crafting history refabrication.\n[A] Crafting Table: Added rendering of placed items on the top surface of the table.\n[A] Waterlogging of non-full-blocks added.",
"1.0.12-b2": "[U] Updated to Forge 1.14.4-28.0.105/20190719-1.14.3.\n[A] Small Solar Panel added.\n[M] Items fall through the Steel Floor Grating like in 1.12.2 version.\n[M] Factory Dropper: Added pulse/continuous mode in GUI (issue #51, thx Aristine for the CR).",
"1.0.12-b1": "[U] Updated to Forge 1.14.4-28.0.93/20190719-1.14.3.\n[M] Logo location fixed.",