Skip to content

Commit

Permalink
Update minecraft.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KeimaSenpai authored Mar 30, 2024
1 parent 522430e commit 30c7239
Showing 1 changed file with 2 additions and 27 deletions.
29 changes: 2 additions & 27 deletions minecraft_launcher/minecraft.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,33 +93,8 @@ async def play_mine():
"jvmArguments": [
f"-Xmx{ram}G",
f"-Xms{ram}G",
"-Xmn668m",
"-XX:+DisableExplicitGC",
"-XX:+UseConcMarkSweepGC",
"-XX:+UseParNewGC",
"-XX:+UseNUMA",
"-XX:+CMSParallelRemarkEnabled",
"-XX:MaxTenuringThreshold=15",
"-XX:MaxGCPauseMillis=30",
"-XX:GCPauseIntervalMillis=150",
"-XX:+UseAdaptiveGCBoundary",
"-XX:-UseGCOverheadLimit",
"-XX:+UseBiasedLocking",
"-XX:SurvivorRatio=8",
"-XX:TargetSurvivorRatio=90",
"-XX:MaxTenuringThreshold=15",
"-Dfml.ignorePatchDiscrepancies=true",
"-Dfml.ignoreInvalidMinecraftCertificates=true",
"-XX:+UseFastAccessorMethods",
"-XX:+UseCompressedOops",
"-XX:+OptimizeStringConcat",
"-XX:+AggressiveOpts",
"-XX:ReservedCodeCacheSize=2048m",
"-XX:+UseCodeCacheFlushing",
"-XX:SoftRefLRUPolicyMSPerMB=10000",
"-XX:ParallelGCThreads=10"
], # The jvmArguments
"launcherVersion": "1.0.2",
"launcherVersion": "1.0.3",
}

# Ejecutar Minecraft
Expand All @@ -128,4 +103,4 @@ async def play_mine():
subprocess.run(minecraft_command)
await play_mine()



0 comments on commit 30c7239

Please sign in to comment.