update
This commit is contained in:
@@ -82,7 +82,10 @@ def mods():
|
|||||||
)
|
)
|
||||||
|
|
||||||
for file in glob.glob(os.path.join(INSTANCE_DIR, ".minecraft", "mods", "*")):
|
for file in glob.glob(os.path.join(INSTANCE_DIR, ".minecraft", "mods", "*")):
|
||||||
if os.path.basename(file) == "OptiFine_1.16.5_HD_U_G8.jar":
|
if (
|
||||||
|
os.path.basename(file) == "OptiFine_1.16.5_HD_U_G8.jar"
|
||||||
|
or os.path.basename(file) == "TrainerCommands-1.16.5-2.6.0.jar"
|
||||||
|
):
|
||||||
continue
|
continue
|
||||||
os.remove(file)
|
os.remove(file)
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,34 @@
|
|||||||
"name": "JourneyMap"
|
"name": "JourneyMap"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"projectID": 55438,
|
||||||
|
"fileID": 3346467,
|
||||||
|
"required": true,
|
||||||
|
"__meta": {
|
||||||
|
"name": "MrCrayfish's Furniture Mod"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"projectID": 74072,
|
||||||
|
"fileID": 3695126,
|
||||||
|
"required": true,
|
||||||
|
"__meta": {
|
||||||
|
"name": "Tinkers Construct",
|
||||||
|
"dependencies": [
|
||||||
|
74924
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"projectID": 74924,
|
||||||
|
"fileID": 3631982,
|
||||||
|
"required": true,
|
||||||
|
"__meta": {
|
||||||
|
"name": "Mantle",
|
||||||
|
"explicit": false
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"projectID": 223852,
|
"projectID": 223852,
|
||||||
"fileID": 3776277,
|
"fileID": 3776277,
|
||||||
@@ -31,6 +59,22 @@
|
|||||||
"name": "Storage Drawers"
|
"name": "Storage Drawers"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"projectID": 225608,
|
||||||
|
"fileID": 3172951,
|
||||||
|
"required": true,
|
||||||
|
"__meta": {
|
||||||
|
"name": "WorldEdit"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"projectID": 228756,
|
||||||
|
"fileID": 3543538,
|
||||||
|
"required": true,
|
||||||
|
"__meta": {
|
||||||
|
"name": "Iron Chests"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"projectID": 233342,
|
"projectID": 233342,
|
||||||
"fileID": 3216206,
|
"fileID": 3216206,
|
||||||
@@ -66,6 +110,14 @@
|
|||||||
"name": "Just Enough Items (JEI)"
|
"name": "Just Enough Items (JEI)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"projectID": 245755,
|
||||||
|
"fileID": 3515707,
|
||||||
|
"required": true,
|
||||||
|
"__meta": {
|
||||||
|
"name": "Waystones"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"projectID": 247560,
|
"projectID": 247560,
|
||||||
"fileID": 4024011,
|
"fileID": 4024011,
|
||||||
@@ -98,6 +150,18 @@
|
|||||||
"name": "Simple Storage Network"
|
"name": "Simple Storage Network"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"projectID": 314905,
|
||||||
|
"fileID": 3802698,
|
||||||
|
"required": true,
|
||||||
|
"__meta": {
|
||||||
|
"name": "FTB Ranks (Forge)",
|
||||||
|
"dependencies": [
|
||||||
|
404465,
|
||||||
|
419699
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"projectID": 328085,
|
"projectID": 328085,
|
||||||
"fileID": 3536025,
|
"fileID": 3536025,
|
||||||
@@ -117,6 +181,14 @@
|
|||||||
"name": "Pam's HarvestCraft 2 - Crops"
|
"name": "Pam's HarvestCraft 2 - Crops"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"projectID": 361579,
|
||||||
|
"fileID": 3767277,
|
||||||
|
"required": true,
|
||||||
|
"__meta": {
|
||||||
|
"name": "spark"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"projectID": 365460,
|
"projectID": 365460,
|
||||||
"fileID": 3281234,
|
"fileID": 3281234,
|
||||||
@@ -171,6 +243,18 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"projectID": 404465,
|
||||||
|
"fileID": 3553840,
|
||||||
|
"required": true,
|
||||||
|
"__meta": {
|
||||||
|
"name": "FTB Library (Forge)",
|
||||||
|
"explicit": false,
|
||||||
|
"dependencies": [
|
||||||
|
419699
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"projectID": 410295,
|
"projectID": 410295,
|
||||||
"fileID": 4514901,
|
"fileID": 4514901,
|
||||||
@@ -180,6 +264,26 @@
|
|||||||
"explicit": false
|
"explicit": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"projectID": 410811,
|
||||||
|
"fileID": 3510643,
|
||||||
|
"required": true,
|
||||||
|
"__meta": {
|
||||||
|
"name": "FTB Essentials (Forge)",
|
||||||
|
"dependencies": [
|
||||||
|
404465
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"projectID": 419699,
|
||||||
|
"fileID": 4521290,
|
||||||
|
"required": true,
|
||||||
|
"__meta": {
|
||||||
|
"name": "Architectury API (Fabric/Forge)",
|
||||||
|
"explicit": false
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"projectID": 486392,
|
"projectID": 486392,
|
||||||
"fileID": 3535459,
|
"fileID": 3535459,
|
||||||
|
|||||||
BIN
modpack/overrides/mods/TrainerCommands-1.16.5-2.6.0.jar
Normal file
BIN
modpack/overrides/mods/TrainerCommands-1.16.5-2.6.0.jar
Normal file
Binary file not shown.
@@ -25,6 +25,7 @@ def __main__():
|
|||||||
forge()
|
forge()
|
||||||
launch()
|
launch()
|
||||||
|
|
||||||
|
|
||||||
# launcher
|
# launcher
|
||||||
def launch():
|
def launch():
|
||||||
if input("launch server? [Y/n] ").lower() == "n":
|
if input("launch server? [Y/n] ").lower() == "n":
|
||||||
@@ -33,6 +34,7 @@ def launch():
|
|||||||
os.chdir(f"{INSTANCE_DIR}/.minecraft")
|
os.chdir(f"{INSTANCE_DIR}/.minecraft")
|
||||||
subprocess.run(["java", "-Xmx30720M", "-Xms1024M", "-jar", FORGE_JAR, "--nogui"])
|
subprocess.run(["java", "-Xmx30720M", "-Xms1024M", "-jar", FORGE_JAR, "--nogui"])
|
||||||
|
|
||||||
|
|
||||||
# forge
|
# forge
|
||||||
def forge():
|
def forge():
|
||||||
os.makedirs(f"{INSTANCE_DIR}/.minecraft", exist_ok=True)
|
os.makedirs(f"{INSTANCE_DIR}/.minecraft", exist_ok=True)
|
||||||
@@ -71,6 +73,8 @@ def mods():
|
|||||||
subprocess.run(["java", "-jar", "downloader.jar", ".", "mods"], env=my_env)
|
subprocess.run(["java", "-jar", "downloader.jar", ".", "mods"], env=my_env)
|
||||||
|
|
||||||
for file in glob.glob(os.path.join(INSTANCE_DIR, ".minecraft", "mods", "*")):
|
for file in glob.glob(os.path.join(INSTANCE_DIR, ".minecraft", "mods", "*")):
|
||||||
|
if os.path.basename(file) == "TrainerCommands-1.16.5-2.6.0.jar":
|
||||||
|
continue
|
||||||
os.remove(file)
|
os.remove(file)
|
||||||
|
|
||||||
for file in glob.glob(os.path.join(INSTANCE_DIR, "mods", "mods", "*")):
|
for file in glob.glob(os.path.join(INSTANCE_DIR, "mods", "mods", "*")):
|
||||||
|
|||||||
Reference in New Issue
Block a user