Skip to content

Instantly share code, notes, and snippets.

@ezfe
Last active October 19, 2022 14:18
Show Gist options
  • Star 14 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ezfe/8bc43a65e16b79c955f81b4d7fa4ae6a to your computer and use it in GitHub Desktop.
Save ezfe/8bc43a65e16b79c955f81b4d7fa4ae6a to your computer and use it in GitHub Desktop.
1.18.2 on Apple M1
{"id":"1.18.2-arm64","assets":"1.18","javaVersion":{"component":"java-runtime-beta","majorVersion":17},"time":"2022-04-28T02:59:52Z","downloads":{"clientMappings":{"url":"https:\/\/launcher.mojang.com\/v1\/objects\/a661c6a55a0600bd391bdbbd6827654c05b2109c\/client.txt","size":6716693,"sha1":"a661c6a55a0600bd391bdbbd6827654c05b2109c"},"client":{"url":"https:\/\/launcher.mojang.com\/v1\/objects\/2e9a3e3107cca00d6bc9c97bf7d149cae163ef21\/client.jar","size":20259661,"sha1":"2e9a3e3107cca00d6bc9c97bf7d149cae163ef21"},"server":{"url":"https:\/\/launcher.mojang.com\/v1\/objects\/c8f83c5655308435b3dcf03c06d9fe8740a77469\/server.jar","size":46592587,"sha1":"c8f83c5655308435b3dcf03c06d9fe8740a77469"},"serverMappings":{"url":"https:\/\/launcher.mojang.com\/v1\/objects\/e562f588fea155d96291267465dc3323bfe1551b\/server.txt","size":5212964,"sha1":"e562f588fea155d96291267465dc3323bfe1551b"}},"type":"release","libraries":[{"name":"com.mojang:logging:1.0.0","downloads":{"artifact":{"path":"com\/mojang\/logging\/1.0.0\/logging-1.0.0.jar","size":15343,"sha1":"f6ca3b2eee0b80b384e8ed93d368faecb82dfb9b","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/logging\/1.0.0\/logging-1.0.0.jar"}}},{"name":"com.mojang:blocklist:1.0.10","downloads":{"artifact":{"path":"com\/mojang\/blocklist\/1.0.10\/blocklist-1.0.10.jar","size":964,"sha1":"5c685c5ffa94c4cd39496c7184c1d122e515ecef","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/blocklist\/1.0.10\/blocklist-1.0.10.jar"}}},{"name":"com.mojang:patchy:2.2.10","downloads":{"artifact":{"path":"com\/mojang\/patchy\/2.2.10\/patchy-2.2.10.jar","size":4439,"sha1":"da05971b07cbb379d002cf7eaec6a2048211fefc","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/patchy\/2.2.10\/patchy-2.2.10.jar"}}},{"name":"com.github.oshi:oshi-core:5.8.5","downloads":{"artifact":{"path":"com\/github\/oshi\/oshi-core\/5.8.5\/oshi-core-5.8.5.jar","size":879623,"sha1":"1d0ec654d820741327f5a9229d513732a4b7ce50","url":"https:\/\/libraries.minecraft.net\/com\/github\/oshi\/oshi-core\/5.8.5\/oshi-core-5.8.5.jar"}}},{"name":"net.java.dev.jna:jna:5.10.0","downloads":{"artifact":{"path":"net\/java\/dev\/jna\/jna\/5.10.0\/jna-5.10.0.jar","size":1756400,"sha1":"7cf4c87dd802db50721db66947aa237d7ad09418","url":"https:\/\/libraries.minecraft.net\/net\/java\/dev\/jna\/jna\/5.10.0\/jna-5.10.0.jar"}}},{"name":"net.java.dev.jna:jna-platform:5.10.0","downloads":{"artifact":{"path":"net\/java\/dev\/jna\/jna-platform\/5.10.0\/jna-platform-5.10.0.jar","size":1343495,"sha1":"fbed7d9669dba47714ad0d4f4454290a997aee69","url":"https:\/\/libraries.minecraft.net\/net\/java\/dev\/jna\/jna-platform\/5.10.0\/jna-platform-5.10.0.jar"}}},{"name":"org.slf4j:slf4j-api:1.8.0-beta4","downloads":{"artifact":{"path":"org\/slf4j\/slf4j-api\/1.8.0-beta4\/slf4j-api-1.8.0-beta4.jar","size":44213,"sha1":"83b0359d847ee053d745be7ec0d8e9e8a44304b4","url":"https:\/\/libraries.minecraft.net\/org\/slf4j\/slf4j-api\/1.8.0-beta4\/slf4j-api-1.8.0-beta4.jar"}}},{"name":"org.apache.logging.log4j:log4j-slf4j18-impl:2.17.0","downloads":{"artifact":{"path":"org\/apache\/logging\/log4j\/log4j-slf4j18-impl\/2.17.0\/log4j-slf4j18-impl-2.17.0.jar","size":21244,"sha1":"bd7f6c0b9224dd214afb4e684957e2349b529a8d","url":"https:\/\/libraries.minecraft.net\/org\/apache\/logging\/log4j\/log4j-slf4j18-impl\/2.17.0\/log4j-slf4j18-impl-2.17.0.jar"}}},{"name":"com.ibm.icu:icu4j:70.1","downloads":{"artifact":{"path":"com\/ibm\/icu\/icu4j\/70.1\/icu4j-70.1.jar","size":13708936,"sha1":"dfa3a1fbc55bf5db8c6e79fc0935ac7ab1202950","url":"https:\/\/libraries.minecraft.net\/com\/ibm\/icu\/icu4j\/70.1\/icu4j-70.1.jar"}}},{"name":"com.mojang:javabridge:1.2.24","downloads":{"artifact":{"path":"com\/mojang\/javabridge\/1.2.24\/javabridge-1.2.24.jar","size":6053,"sha1":"0c876796229b2ef5120f186eab5acc870699d3b9","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/javabridge\/1.2.24\/javabridge-1.2.24.jar"}}},{"name":"net.sf.jopt-simple:jopt-simple:5.0.4","downloads":{"artifact":{"path":"net\/sf\/jopt-simple\/jopt-simple\/5.0.4\/jopt-simple-5.0.4.jar","size":78146,"sha1":"4fdac2fbe92dfad86aa6e9301736f6b4342a3f5c","url":"https:\/\/libraries.minecraft.net\/net\/sf\/jopt-simple\/jopt-simple\/5.0.4\/jopt-simple-5.0.4.jar"}}},{"name":"io.netty:netty-all:4.1.68.Final","downloads":{"artifact":{"path":"io\/netty\/netty-all\/4.1.68.Final\/netty-all-4.1.68.Final.jar","size":4515045,"sha1":"b8266a3c93c1c051109f71d3449e5dcd5d60b333","url":"https:\/\/libraries.minecraft.net\/io\/netty\/netty-all\/4.1.68.Final\/netty-all-4.1.68.Final.jar"}}},{"name":"com.google.guava:failureaccess:1.0.1","downloads":{"artifact":{"path":"com\/google\/guava\/failureaccess\/1.0.1\/failureaccess-1.0.1.jar","size":4617,"sha1":"1dcf1de382a0bf95a3d8b0849546c88bac1292c9","url":"https:\/\/libraries.minecraft.net\/com\/google\/guava\/failureaccess\/1.0.1\/failureaccess-1.0.1.jar"}}},{"name":"com.google.guava:guava:31.0.1-jre","downloads":{"artifact":{"path":"com\/google\/guava\/guava\/31.0.1-jre\/guava-31.0.1-jre.jar","size":2974216,"sha1":"119ea2b2bc205b138974d351777b20f02b92704b","url":"https:\/\/libraries.minecraft.net\/com\/google\/guava\/guava\/31.0.1-jre\/guava-31.0.1-jre.jar"}}},{"name":"org.apache.commons:commons-lang3:3.12.0","downloads":{"artifact":{"path":"org\/apache\/commons\/commons-lang3\/3.12.0\/commons-lang3-3.12.0.jar","size":587402,"sha1":"c6842c86792ff03b9f1d1fe2aab8dc23aa6c6f0e","url":"https:\/\/libraries.minecraft.net\/org\/apache\/commons\/commons-lang3\/3.12.0\/commons-lang3-3.12.0.jar"}}},{"name":"commons-io:commons-io:2.11.0","downloads":{"artifact":{"path":"commons-io\/commons-io\/2.11.0\/commons-io-2.11.0.jar","size":327135,"sha1":"a2503f302b11ebde7ebc3df41daebe0e4eea3689","url":"https:\/\/libraries.minecraft.net\/commons-io\/commons-io\/2.11.0\/commons-io-2.11.0.jar"}}},{"name":"commons-codec:commons-codec:1.15","downloads":{"artifact":{"path":"commons-codec\/commons-codec\/1.15\/commons-codec-1.15.jar","size":353793,"sha1":"49d94806b6e3dc933dacbd8acb0fdbab8ebd1e5d","url":"https:\/\/libraries.minecraft.net\/commons-codec\/commons-codec\/1.15\/commons-codec-1.15.jar"}}},{"name":"com.mojang:brigadier:1.0.18","downloads":{"artifact":{"path":"com\/mojang\/brigadier\/1.0.18\/brigadier-1.0.18.jar","size":77116,"sha1":"c1ef1234282716483c92183f49bef47b1a89bfa9","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/brigadier\/1.0.18\/brigadier-1.0.18.jar"}}},{"name":"com.mojang:datafixerupper:4.1.27","downloads":{"artifact":{"path":"com\/mojang\/datafixerupper\/4.1.27\/datafixerupper-4.1.27.jar","size":672957,"sha1":"0a02c43824ce57c3f7a7d7e744f0d99a040398b5","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/datafixerupper\/4.1.27\/datafixerupper-4.1.27.jar"}}},{"name":"com.google.code.gson:gson:2.8.9","downloads":{"artifact":{"path":"com\/google\/code\/gson\/gson\/2.8.9\/gson-2.8.9.jar","size":258075,"sha1":"8a432c1d6825781e21a02db2e2c33c5fde2833b9","url":"https:\/\/libraries.minecraft.net\/com\/google\/code\/gson\/gson\/2.8.9\/gson-2.8.9.jar"}}},{"name":"com.mojang:authlib:3.3.39","downloads":{"artifact":{"path":"com\/mojang\/authlib\/3.3.39\/authlib-3.3.39.jar","size":98740,"sha1":"289405e70c0917eaeac017f7fba9adb4427baa36","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/authlib\/3.3.39\/authlib-3.3.39.jar"}}},{"name":"org.apache.commons:commons-compress:1.21","downloads":{"artifact":{"path":"org\/apache\/commons\/commons-compress\/1.21\/commons-compress-1.21.jar","size":1018316,"sha1":"4ec95b60d4e86b5c95a0e919cb172a0af98011ef","url":"https:\/\/libraries.minecraft.net\/org\/apache\/commons\/commons-compress\/1.21\/commons-compress-1.21.jar"}}},{"name":"org.apache.httpcomponents:httpclient:4.5.13","downloads":{"artifact":{"path":"org\/apache\/httpcomponents\/httpclient\/4.5.13\/httpclient-4.5.13.jar","size":780321,"sha1":"e5f6cae5ca7ecaac1ec2827a9e2d65ae2869cada","url":"https:\/\/libraries.minecraft.net\/org\/apache\/httpcomponents\/httpclient\/4.5.13\/httpclient-4.5.13.jar"}}},{"name":"commons-logging:commons-logging:1.2","downloads":{"artifact":{"path":"commons-logging\/commons-logging\/1.2\/commons-logging-1.2.jar","size":61829,"sha1":"4bfc12adfe4842bf07b657f0369c4cb522955686","url":"https:\/\/libraries.minecraft.net\/commons-logging\/commons-logging\/1.2\/commons-logging-1.2.jar"}}},{"name":"org.apache.httpcomponents:httpcore:4.4.14","downloads":{"artifact":{"path":"org\/apache\/httpcomponents\/httpcore\/4.4.14\/httpcore-4.4.14.jar","size":328436,"sha1":"9dd1a631c082d92ecd4bd8fd4cf55026c720a8c1","url":"https:\/\/libraries.minecraft.net\/org\/apache\/httpcomponents\/httpcore\/4.4.14\/httpcore-4.4.14.jar"}}},{"name":"it.unimi.dsi:fastutil:8.5.6","downloads":{"artifact":{"path":"it\/unimi\/dsi\/fastutil\/8.5.6\/fastutil-8.5.6.jar","size":23565248,"sha1":"76f95700418a68fbc4ac050525261f05dc681ca1","url":"https:\/\/libraries.minecraft.net\/it\/unimi\/dsi\/fastutil\/8.5.6\/fastutil-8.5.6.jar"}}},{"name":"org.apache.logging.log4j:log4j-api:2.17.0","downloads":{"artifact":{"path":"org\/apache\/logging\/log4j\/log4j-api\/2.17.0\/log4j-api-2.17.0.jar","size":301776,"sha1":"bbd791e9c8c9421e45337c4fe0a10851c086e36c","url":"https:\/\/libraries.minecraft.net\/org\/apache\/logging\/log4j\/log4j-api\/2.17.0\/log4j-api-2.17.0.jar"}}},{"name":"org.apache.logging.log4j:log4j-core:2.17.0","downloads":{"artifact":{"path":"org\/apache\/logging\/log4j\/log4j-core\/2.17.0\/log4j-core-2.17.0.jar","size":1789339,"sha1":"fe6e7a32c1228884b9691a744f953a55d0dd8ead","url":"https:\/\/libraries.minecraft.net\/org\/apache\/logging\/log4j\/log4j-core\/2.17.0\/log4j-core-2.17.0.jar"}}},{"name":"org.lwjgl:lwjgl:3.3.0","downloads":{"artifact":{"path":"org\/lwjgl\/lwjgl\/3.3.0\/lwjgl-3.3.0.jar","size":568714,"sha1":"77b0dc0b6a6c82fb47368e73d55e23fdcfcf49a1","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl.jar"}},"rules":[{"os":{"name":"osx"},"action":"allow"}]},{"name":"org.lwjgl:lwjgl-jemalloc:3.3.0","downloads":{"artifact":{"path":"org\/lwjgl\/lwjgl-jemalloc\/3.3.0\/lwjgl-jemalloc-3.3.0.jar","size":36597,"sha1":"ce52faa3fd0c9ed7af45145e94b01eade5fd5daf","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-jemalloc.jar"}},"rules":[{"os":{"name":"osx"},"action":"allow"}]},{"name":"org.lwjgl:lwjgl-openal:3.3.0","downloads":{"artifact":{"path":"org\/lwjgl\/lwjgl-openal\/3.3.0\/lwjgl-openal-3.3.0.jar","size":88240,"sha1":"902dd57b5a46e8a75ee843c2db61f80b4d130d48","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-openal.jar"}},"rules":[{"os":{"name":"osx"},"action":"allow"}]},{"name":"org.lwjgl:lwjgl-opengl:3.3.0","downloads":{"artifact":{"path":"org\/lwjgl\/lwjgl-opengl\/3.3.0\/lwjgl-opengl-3.3.0.jar","size":921416,"sha1":"a1f395f7758a3abd5aff75fc8a20368ac371631e","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-opengl.jar"}},"rules":[{"os":{"name":"osx"},"action":"allow"}]},{"name":"org.lwjgl:lwjgl-glfw:3.3.0","downloads":{"artifact":{"path":"org\/lwjgl\/lwjgl-glfw\/3.3.0\/lwjgl-glfw-3.3.0.jar","size":128614,"sha1":"899e34f314525596f8fdb6476d3e56104da4601d","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-glfw.jar"}},"rules":[{"os":{"name":"osx"},"action":"allow"}]},{"name":"org.lwjgl:lwjgl-stb:3.3.0","downloads":{"artifact":{"path":"org\/lwjgl\/lwjgl-stb\/3.3.0\/lwjgl-stb-3.3.0.jar","size":112376,"sha1":"69becce49e19671fccca33bfb273231055bd9fcf","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-stb.jar"}},"rules":[{"os":{"name":"osx"},"action":"allow"}]},{"name":"org.lwjgl:lwjgl-tinyfd:3.3.0","downloads":{"artifact":{"path":"org\/lwjgl\/lwjgl-tinyfd\/3.3.0\/lwjgl-tinyfd-3.3.0.jar","size":6768,"sha1":"e3bf58d4830e2b35ee7e6f40b1eafd8637c290b8","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-tinyfd.jar"}},"rules":[{"os":{"name":"osx"},"action":"allow"}]},{"rules":[{"os":{"name":"osx"},"action":"allow"}],"downloads":{"classifiers":{"natives-macos":{"path":"org\/lwjgl\/lwjgl\/3.3.0\/lwjgl-3.3.0-natives-macos.jar","size":41619,"sha1":"f4a5d3b1faa210a27b5592bd2ac9ed07b5a8d891","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-natives-macos-arm64.jar"},"natives-linux":{"path":"org\/lwjgl\/lwjgl\/3.2.1\/lwjgl-3.2.1-natives-linux.jar","size":87484,"sha1":"9bdd47cd63ce102cec837a396c8ded597cb75a66","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl\/3.2.1\/lwjgl-3.2.1-natives-linux.jar"},"javadoc":{"path":"org\/lwjgl\/lwjgl\/3.2.1\/lwjgl-3.2.1-javadoc.jar","size":1287174,"sha1":"1f6b7050737559b775d797c0ea56612b8e373fd6","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl\/3.2.1\/lwjgl-3.2.1-javadoc.jar"},"natives-windows":{"path":"org\/lwjgl\/lwjgl\/3.2.1\/lwjgl-3.2.1-natives-windows.jar","size":255871,"sha1":"e799d06b8969db0610e68776e0eff4b6191098bd","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl\/3.2.1\/lwjgl-3.2.1-natives-windows.jar"},"sources":{"path":"org\/lwjgl\/lwjgl\/3.2.1\/lwjgl-3.2.1-sources.jar","size":255671,"sha1":"106f90ac41449004a969309488aa6e3a2f7d6731","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl\/3.2.1\/lwjgl-3.2.1-sources.jar"}},"artifact":{"path":"org\/lwjgl\/lwjgl\/3.3.0\/lwjgl-3.3.0.jar","size":568714,"sha1":"77b0dc0b6a6c82fb47368e73d55e23fdcfcf49a1","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl.jar"}},"natives":{"osx":"natives-macos"},"name":"org.lwjgl:lwjgl:3.3.0"},{"rules":[{"os":{"name":"osx"},"action":"allow"}],"downloads":{"classifiers":{"sources":{"path":"org\/lwjgl\/lwjgl-jemalloc\/3.2.1\/lwjgl-jemalloc-3.2.1-sources.jar","size":31279,"sha1":"4450dca46228c02c51bb9bbda70e7cfc3154296d","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-jemalloc\/3.2.1\/lwjgl-jemalloc-3.2.1-sources.jar"},"natives-linux":{"path":"org\/lwjgl\/lwjgl-jemalloc\/3.2.1\/lwjgl-jemalloc-3.2.1-natives-linux.jar","size":156057,"sha1":"5536616b558cea2fea6330ca682fd7c733db9c43","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-jemalloc\/3.2.1\/lwjgl-jemalloc-3.2.1-natives-linux.jar"},"javadoc":{"path":"org\/lwjgl\/lwjgl-jemalloc\/3.2.1\/lwjgl-jemalloc-3.2.1-javadoc.jar","size":461041,"sha1":"04f6897be1e2d68bff5ec5e91a2b96e32f084c09","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-jemalloc\/3.2.1\/lwjgl-jemalloc-3.2.1-javadoc.jar"},"natives-windows":{"path":"org\/lwjgl\/lwjgl-jemalloc\/3.2.1\/lwjgl-jemalloc-3.2.1-natives-windows.jar","size":218136,"sha1":"3c869b3d7638c800b7039cd859d064658643ad6e","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-jemalloc\/3.2.1\/lwjgl-jemalloc-3.2.1-natives-windows.jar"},"natives-macos":{"path":"org\/lwjgl\/lwjgl-jemalloc\/3.3.0\/lwjgl-jemalloc-3.3.0-natives-macos.jar","size":102286,"sha1":"8ccf1138c54f1bf67a92317922231cba2a60d596","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-jemalloc-natives-macos-arm64.jar"}},"artifact":{"path":"org\/lwjgl\/lwjgl-jemalloc\/3.3.0\/lwjgl-jemalloc-3.3.0.jar","size":36597,"sha1":"ce52faa3fd0c9ed7af45145e94b01eade5fd5daf","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-jemalloc.jar"}},"natives":{"osx":"natives-macos"},"name":"org.lwjgl:lwjgl-jemalloc:3.3.0"},{"rules":[{"os":{"name":"osx"},"action":"allow"}],"downloads":{"classifiers":{"natives-macos":{"path":"org\/lwjgl\/lwjgl-openal\/3.3.0\/lwjgl-openal-3.3.0-natives-macos.jar","size":346127,"sha1":"a819bc83171a98349c13749cbde3a956946cf0ca","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-openal-natives-macos-arm64.jar"},"natives-linux":{"path":"org\/lwjgl\/lwjgl-openal\/3.2.1\/lwjgl-openal-3.2.1-natives-linux.jar","size":590716,"sha1":"bcd4be67863dd908f696f628c3ca9f6eb9ae5152","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-openal\/3.2.1\/lwjgl-openal-3.2.1-natives-linux.jar"},"javadoc":{"path":"org\/lwjgl\/lwjgl-openal\/3.2.1\/lwjgl-openal-3.2.1-javadoc.jar","size":617869,"sha1":"95752f443686da1b3443e397dc83e730e1907a1e","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-openal\/3.2.1\/lwjgl-openal-3.2.1-javadoc.jar"},"natives-windows":{"path":"org\/lwjgl\/lwjgl-openal\/3.2.1\/lwjgl-openal-3.2.1-natives-windows.jar","size":1310083,"sha1":"92fb931e65c637cea209ad5c3ffebd1b325ed41d","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-openal\/3.2.1\/lwjgl-openal-3.2.1-natives-windows.jar"},"sources":{"path":"org\/lwjgl\/lwjgl-openal\/3.2.1\/lwjgl-openal-3.2.1-sources.jar","size":78379,"sha1":"8fe3d6e6353685164b1eb3a22980aaa1115d4a32","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-openal\/3.2.1\/lwjgl-openal-3.2.1-sources.jar"}},"artifact":{"path":"org\/lwjgl\/lwjgl-openal\/3.3.0\/lwjgl-openal-3.3.0.jar","size":88240,"sha1":"902dd57b5a46e8a75ee843c2db61f80b4d130d48","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-openal.jar"}},"natives":{"osx":"natives-macos"},"name":"org.lwjgl:lwjgl-openal:3.3.0"},{"rules":[{"os":{"name":"osx"},"action":"allow"}],"downloads":{"classifiers":{"natives-macos":{"path":"org\/lwjgl\/lwjgl-opengl\/3.3.0\/lwjgl-opengl-3.3.0-natives-macos.jar","size":41648,"sha1":"6bac5f116d0c8f64cad7508a08aa512eb28b568a","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-opengl-natives-macos-arm64.jar"},"natives-linux":{"path":"org\/lwjgl\/lwjgl-opengl\/3.2.1\/lwjgl-opengl-3.2.1-natives-linux.jar","size":77401,"sha1":"c43bb08ed7dcf1a6d344803e464148b3b14dd274","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-opengl\/3.2.1\/lwjgl-opengl-3.2.1-natives-linux.jar"},"javadoc":{"path":"org\/lwjgl\/lwjgl-opengl\/3.2.1\/lwjgl-opengl-3.2.1-javadoc.jar","size":4307561,"sha1":"e25fc8cbcbee68182a6b7f13ad71b1f0961005ad","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-opengl\/3.2.1\/lwjgl-opengl-3.2.1-javadoc.jar"},"natives-windows":{"path":"org\/lwjgl\/lwjgl-opengl\/3.2.1\/lwjgl-opengl-3.2.1-natives-windows.jar","size":170804,"sha1":"80954961b31084d7b4f2f041d6b5a799a774c880","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-opengl\/3.2.1\/lwjgl-opengl-3.2.1-natives-windows.jar"},"sources":{"path":"org\/lwjgl\/lwjgl-opengl\/3.2.1\/lwjgl-opengl-3.2.1-sources.jar","size":1251582,"sha1":"47930ffbef53c0f45c7e35c01b1c6ad5b2205809","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-opengl\/3.2.1\/lwjgl-opengl-3.2.1-sources.jar"}},"artifact":{"path":"org\/lwjgl\/lwjgl-opengl\/3.3.0\/lwjgl-opengl-3.3.0.jar","size":921416,"sha1":"a1f395f7758a3abd5aff75fc8a20368ac371631e","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-opengl.jar"}},"natives":{"osx":"natives-macos"},"name":"org.lwjgl:lwjgl-opengl:3.3.0"},{"rules":[{"os":{"name":"osx"},"action":"allow"}],"downloads":{"classifiers":{"natives-macos":{"path":"org\/lwjgl\/lwjgl-glfw\/3.3.0\/lwjgl-glfw-3.3.0-natives-macos.jar","size":64208,"sha1":"1cc19d82bd2a486cb709a4cf7b4962fe65901199","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-glfw-natives-macos-arm64.jar"},"natives-linux":{"path":"org\/lwjgl\/lwjgl-glfw\/3.2.1\/lwjgl-glfw-3.2.1-natives-linux.jar","size":157431,"sha1":"5a2fb27f9e12a34ecabf6f6a7606c61849e347ee","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-glfw\/3.2.1\/lwjgl-glfw-3.2.1-natives-linux.jar"},"javadoc":{"path":"org\/lwjgl\/lwjgl-glfw\/3.2.1\/lwjgl-glfw-3.2.1-javadoc.jar","size":690774,"sha1":"81482a14b617e4fb0c7de69b3e06ef2e28ef894f","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-glfw\/3.2.1\/lwjgl-glfw-3.2.1-javadoc.jar"},"natives-windows":{"path":"org\/lwjgl\/lwjgl-glfw\/3.2.1\/lwjgl-glfw-3.2.1-natives-windows.jar","size":265304,"sha1":"00def7c58ad2e1cb258d6d73be181ffab8ef8bd5","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-glfw\/3.2.1\/lwjgl-glfw-3.2.1-natives-windows.jar"},"sources":{"path":"org\/lwjgl\/lwjgl-glfw\/3.2.1\/lwjgl-glfw-3.2.1-sources.jar","size":101885,"sha1":"4c56ae817da75996b19601c87d7e759b846c3902","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-glfw\/3.2.1\/lwjgl-glfw-3.2.1-sources.jar"}},"artifact":{"path":"org\/lwjgl\/lwjgl-glfw\/3.3.0\/lwjgl-glfw-3.3.0.jar","size":128614,"sha1":"899e34f314525596f8fdb6476d3e56104da4601d","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-glfw.jar"}},"natives":{"osx":"natives-macos"},"name":"org.lwjgl:lwjgl-glfw:3.3.0"},{"rules":[{"os":{"name":"osx"},"action":"allow"}],"downloads":{"classifiers":{"natives-macos":{"path":"org\/lwjgl\/lwjgl-stb\/3.3.0\/lwjgl-stb-3.3.0-natives-macos.jar","size":171497,"sha1":"058db805624ca56d9870346ff49cf386bb00177b","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-stb-natives-macos-arm64.jar"},"natives-linux":{"path":"org\/lwjgl\/lwjgl-stb\/3.2.1\/lwjgl-stb-3.2.1-natives-linux.jar","size":197208,"sha1":"66e01b8036258619332cb452b970ca0a52db1a87","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-stb\/3.2.1\/lwjgl-stb-3.2.1-natives-linux.jar"},"javadoc":{"path":"org\/lwjgl\/lwjgl-stb\/3.2.1\/lwjgl-stb-3.2.1-javadoc.jar","size":684972,"sha1":"524d79537f840d6cfe50e030d24413933f0d464b","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-stb\/3.2.1\/lwjgl-stb-3.2.1-javadoc.jar"},"natives-windows":{"path":"org\/lwjgl\/lwjgl-stb\/3.2.1\/lwjgl-stb-3.2.1-natives-windows.jar","size":454473,"sha1":"d100bfd2b0d03223a043cfcb64a2dfd2bb7f4c61","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-stb\/3.2.1\/lwjgl-stb-3.2.1-natives-windows.jar"},"sources":{"path":"org\/lwjgl\/lwjgl-stb\/3.2.1\/lwjgl-stb-3.2.1-sources.jar","size":96479,"sha1":"50ac43d4c6ea5846f354f9576134c0f9264345c2","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-stb\/3.2.1\/lwjgl-stb-3.2.1-sources.jar"}},"artifact":{"path":"org\/lwjgl\/lwjgl-stb\/3.3.0\/lwjgl-stb-3.3.0.jar","size":112376,"sha1":"69becce49e19671fccca33bfb273231055bd9fcf","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-stb.jar"}},"natives":{"osx":"natives-macos"},"name":"org.lwjgl:lwjgl-stb:3.3.0"},{"rules":[{"os":{"name":"osx"},"action":"allow"}],"downloads":{"classifiers":{"natives-macos":{"path":"org\/lwjgl\/lwjgl-tinyfd\/3.3.0\/lwjgl-tinyfd-3.3.0-natives-macos.jar","size":40895,"sha1":"95822d8d5a816a82ae598d027c076af9f5519794","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-tinyfd-natives-macos-arm64.jar"},"natives-linux":{"path":"org\/lwjgl\/lwjgl-tinyfd\/3.2.1\/lwjgl-tinyfd-3.2.1-natives-linux.jar","size":38192,"sha1":"4ad49108397322596d7b85c2c687e5de6ee52157","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-tinyfd\/3.2.1\/lwjgl-tinyfd-3.2.1-natives-linux.jar"},"javadoc":{"path":"org\/lwjgl\/lwjgl-tinyfd\/3.2.1\/lwjgl-tinyfd-3.2.1-javadoc.jar","size":368913,"sha1":"0a85d995178cdab6b94d9a172dd9e7d2a0d70cfb","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-tinyfd\/3.2.1\/lwjgl-tinyfd-3.2.1-javadoc.jar"},"natives-windows":{"path":"org\/lwjgl\/lwjgl-tinyfd\/3.2.1\/lwjgl-tinyfd-3.2.1-natives-windows.jar","size":207577,"sha1":"85750d2ca022852e15f58c0b94b3d1d4e7f0ba52","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-tinyfd\/3.2.1\/lwjgl-tinyfd-3.2.1-natives-windows.jar"},"sources":{"path":"org\/lwjgl\/lwjgl-tinyfd\/3.2.1\/lwjgl-tinyfd-3.2.1-sources.jar","size":5034,"sha1":"c375699fd794c4c87d935e0f9a84e7d80d0de77e","url":"https:\/\/libraries.minecraft.net\/org\/lwjgl\/lwjgl-tinyfd\/3.2.1\/lwjgl-tinyfd-3.2.1-sources.jar"}},"artifact":{"path":"org\/lwjgl\/lwjgl-tinyfd\/3.3.0\/lwjgl-tinyfd-3.3.0.jar","size":6768,"sha1":"e3bf58d4830e2b35ee7e6f40b1eafd8637c290b8","url":"https:\/\/f001.backblazeb2.com\/file\/minecraft-jar-command\/patch\/lwjgl\/lwjgl-release-3.3.0\/lwjgl-tinyfd.jar"}},"natives":{"osx":"natives-macos"},"name":"org.lwjgl:lwjgl-tinyfd:3.3.0"},{"name":"com.mojang:text2speech:1.12.4","downloads":{"artifact":{"path":"com\/mojang\/text2speech\/1.12.4\/text2speech-1.12.4.jar","size":12874,"sha1":"1f618f522dbdd93218c270bcfd8f8dd84be31717","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/text2speech\/1.12.4\/text2speech-1.12.4.jar"}}},{"name":"com.mojang:text2speech:1.12.4","downloads":{"classifiers":{"sources":{"path":"com\/mojang\/text2speech\/1.12.4\/text2speech-1.12.4-sources.jar","size":5242,"sha1":"2c08f3a985dfc7f86dcd705a360e5e1a13eac068","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/text2speech\/1.12.4\/text2speech-1.12.4-sources.jar"},"natives-windows":{"path":"com\/mojang\/text2speech\/1.12.4\/text2speech-1.12.4-natives-windows.jar","size":81379,"sha1":"7e37c535186a058d730ec03491182fae2efb57be","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/text2speech\/1.12.4\/text2speech-1.12.4-natives-windows.jar"},"natives-linux":{"path":"com\/mojang\/text2speech\/1.12.4\/text2speech-1.12.4-natives-linux.jar","size":7833,"sha1":"9571b1360a268311d7fa625614186965914f0215","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/text2speech\/1.12.4\/text2speech-1.12.4-natives-linux.jar"}},"artifact":{"path":"com\/mojang\/text2speech\/1.12.4\/text2speech-1.12.4.jar","size":12874,"sha1":"1f618f522dbdd93218c270bcfd8f8dd84be31717","url":"https:\/\/libraries.minecraft.net\/com\/mojang\/text2speech\/1.12.4\/text2speech-1.12.4.jar"}},"natives":{"linux":"natives-linux","windows":"natives-windows"}},{"rules":[{"os":{"name":"osx"},"action":"allow"}],"downloads":{"classifiers":{"javadoc":{"path":"ca\/weblite\/java-objc-bridge\/1.0.0\/java-objc-bridge-1.0.0-javadoc.jar","size":174060,"sha1":"fb0092f22cb4fe8e631452f577b7a238778abf2a","url":"https:\/\/libraries.minecraft.net\/ca\/weblite\/java-objc-bridge\/1.0.0\/java-objc-bridge-1.0.0-javadoc.jar"},"sources":{"path":"ca\/weblite\/java-objc-bridge\/1.0.0\/java-objc-bridge-1.0.0-sources.jar","size":43283,"sha1":"865837a198189aee737019561ece842827f24278","url":"https:\/\/libraries.minecraft.net\/ca\/weblite\/java-objc-bridge\/1.0.0\/java-objc-bridge-1.0.0-sources.jar"},"natives-osx":{"path":"ca\/weblite\/java-objc-bridge\/1.0.0\/java-objc-bridge-1.0.0-natives-osx.jar","size":5629,"sha1":"08befab4894d55875f33c3d300f4f71e6e828f64","url":"https:\/\/libraries.minecraft.net\/ca\/weblite\/java-objc-bridge\/1.0.0\/java-objc-bridge-1.0.0-natives-osx.jar"}},"artifact":{"path":"ca\/weblite\/java-objc-bridge\/1.0.0\/java-objc-bridge-1.0.0.jar","size":40502,"sha1":"6ef160c3133a78de015830860197602ca1c855d3","url":"https:\/\/libraries.minecraft.net\/ca\/weblite\/java-objc-bridge\/1.0.0\/java-objc-bridge-1.0.0.jar"}},"natives":{"osx":"natives-osx"},"name":"ca.weblite:java-objc-bridge:1.0.0"},{"name":"ca.weblite:java-objc-bridge:1.0.0","downloads":{"artifact":{"path":"ca\/weblite\/java-objc-bridge\/1.0.0\/java-objc-bridge-1.0.0.jar","size":40502,"sha1":"6ef160c3133a78de015830860197602ca1c855d3","url":"https:\/\/libraries.minecraft.net\/ca\/weblite\/java-objc-bridge\/1.0.0\/java-objc-bridge-1.0.0.jar"}},"rules":[{"os":{"name":"osx"},"action":"allow"}]}],"mainClass":"net.minecraft.client.main.Main","complianceLevel":1,"arguments":{"jvm":[{"value":"-XstartOnFirstThread","rules":[{"os":{"name":"osx"},"action":"allow"}]},{"value":"-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump","rules":[{"os":{"name":"windows"},"action":"allow"}]},{"value":["-Dos.name=Windows 10","-Dos.version=10.0"],"rules":[{"os":{"name":"windows","version":"^10\\."},"action":"allow"}]},{"value":"-Xss1M","rules":[{"os":{"arch":"x86"},"action":"allow"}]},"-Djava.library.path=${natives_directory}","-Dminecraft.launcher.brand=${launcher_name}","-Dminecraft.launcher.version=${launcher_version}","-cp","${classpath}"],"game":["--username","${auth_player_name}","--version","${version_name}","--gameDir","${game_directory}","--assetsDir","${assets_root}","--assetIndex","${assets_index_name}","--uuid","${auth_uuid}","--accessToken","${auth_access_token}","--clientId","${clientid}","--xuid","${auth_xuid}","--userType","${user_type}","--versionType","${version_type}",{"value":"--demo","rules":[{"action":"allow","features":{"isDemoUser":true}}]},{"value":["--width","${resolution_width}","--height","${resolution_height}"],"rules":[{"action":"allow","features":{"hasCustomResolution":true}}]}]},"logging":{"client":{"argument":"-Dlog4j.configurationFile=${path}","file":{"size":888,"id":"client-1.12.xml","sha1":"bd65e7d2e3c237be76cfbef4c2405033d7f91521","url":"https:\/\/launcher.mojang.com\/v1\/objects\/bd65e7d2e3c237be76cfbef4c2405033d7f91521\/client-1.12.xml"},"type":"log4j2-xml"}},"releaseTime":"2022-02-28T10:42:45Z","minimumLauncherVersion":21,"assetIndex":{"size":348330,"id":"1.18","totalSize":466558267,"sha1":"7fcda714d4a391a711ce434fa1dbbebe73ecf179","url":"https:\/\/launchermeta.mojang.com\/v1\/packages\/7fcda714d4a391a711ce434fa1dbbebe73ecf179\/1.18.json"}}

Running Minecraft 1.19 or later? Start at Step 6

In the instructions below, replace <version> with the official version name. For example, 1.18-pre6 or 1.18.1

  1. Run <version> in the official Minecraft Launcher, then quit both the game and the launcher.
  2. Open ~/Library/Application Support/minecraft/versions.
  3. Duplicate the folder <version> and name the new one <version>-arm64.
  4. Open that new folder up and delete <version>.json. Download this <version>-arm64.json file and put it in this new folder.
  5. Rename the file <version>.jar to <version>-arm64.jar.
  6. Download a Java 17 JRE for Apple Silicon. Recommend the latest Java 17 LTS JRE. You can download the zip and store it anywhere, but I recommend the installer package. This will install it to /Library/Java/JavaVirtualMachines for you.
  7. Open Minecraft Launcher and create a new profile. Choose <version>-arm64 from the list.
  8. Expand the profile options and choose to set a Java executable. If you installed it in /Library/Java/JavaVirtualMachines go there, then open up your JRE > Contents > Home > bin and select java.

Should be all set!

@Southpaw1496
Copy link

I managed to get the arm64 version to show up in the version list and download the files it needs, however, after it did that, it crashed, with this log output: https://paste.gg/p/Southpaw1496/48f19f411dbb40458db1d0a5c1c1b299

My custom ARM Java executable is located at /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin/java, do you have any ideas as to what I could do to fix the problem?

@ezfe
Copy link
Author

ezfe commented Jan 8, 2022

@Southpaw1496 That looks like that libraries, probably for LWJGL, weren't linked in properly. Did you manually try to assemble them or is this just running in the launcher?

@Southpaw1496
Copy link

I manually assembled them using the instructions at the top of this gist.

@halpz
Copy link

halpz commented Jan 13, 2022

is there a way to get this to work with optifine versions?
i tried following the steps above, duplicating my optifine version but it seems to run a vanilla arm64 instance instead

@smithlandon
Copy link

Am I missing something, followed these verbatem and not having luck with an optifine-modded version. These still hold up today, or from this thread, is there a better step by step walkthrough?

@ezfe
Copy link
Author

ezfe commented Mar 9, 2022

@halpz @smithlandon These instructions should work for vanilla install, but it doesn't modify the actual vanilla install so the regular optifine install process won't automatically pick this up.

I've done this for other mods - I followed the install process for that mod, then edited the installed profile to point towards the new 1.18arm profile this gist walks through installing.

I get good performance without Optifine on my MacBook Air M1 - so I'm not sure this is something you need unless you've got a different reason?

@benceszentivanyi
Copy link

@ezfe @halpz @smithlandon I'm also trying to use Optifine on an arm64 install without any luck. I understand superficially what needs to be edited, but can't seem to make it work.

I'd like to run shaders on my M1 Macbook Air, that's why I need Optifine to work. With Intel emulation, it manages 25-30 fps with the shaders of my choice (Chocapic13_HighPerformance_Low), so the performance boost would be really nice.

@jacyhung
Copy link

jacyhung commented Mar 19, 2022

@ezfe @halpz @smithlandon I'm also trying to use Optifine on an arm64 install without any luck. I understand superficially what needs to be edited, but can't seem to make it work.

I'd like to run shaders on my M1 Macbook Air, that's why I need Optifine to work. With Intel emulation, it manages 25-30 fps with the shaders of my choice (Chocapic13_HighPerformance_Low), so the performance boost would be really nice.

I've got Optifine working while using the official launcher method. Fairly straightforward. Follow this guide: https://github.com/jacyhung/m1-native-minecraft-optifine

In short: if you've already followed everything in THIS gist, and have named your version <version>-arm64, then you can literally download the optifine folder from my repo and add that into your versions list, then add it as a new installation source in your launcher.

If you want to tackle it yourself,

  1. Download and install Optifine here.
  2. Navigate to ~/Library/Application Support/minecraft/versions. Rename the newly created Optifine folder and append -arm64 to the folder name.
  3. Open that folder, and rename both the .jar and .json files by appending -arm64 to the end of both file names.
  4. Open and edit the .json file.
  5. Change the (e.g. 1.18.1) "id": "1.18.1-OptiFine_HD_U_H4", line to "id": "1.18.1-OptiFine_HD_U_H4-arm64",.
  6. Change the "inheritsFrom": "<version>", line to "inheritsFrom": "<version>-arm64",.
  7. Open your launcher and create a new installation. Point your version to that new optifine-arm64 folder we just modified.
  8. Set your Java to the correct ARM java version.
  9. Done.

@DubstepLejand
Copy link

@jacyhung when i try that it gives me a "Sorry, unable to start Minecraft. Please check your configuration." error. I'm trying to use 1.18.2 and I think I set everything up right but it isn't working for some reason. I edited the .json in the optifine folder (and added -arm64 to everything), and changed the original 1.18.2 folder/jar/json names, along with editing the 1.18.2 json by doing the method of exporting the modified json from m1craft app. Any ideas why?

@ezfe
Copy link
Author

ezfe commented Mar 27, 2022

I do hope to be able to add, perhaps, an optifine installer option to my M1Craft app, but I've been super busy. Hopefully you can sort this in the meantime

@jacyhung
Copy link

@DubstepLejand

When you exported the 1.18.2-arm64.json file from m1craft, did you edit the json file? I realized that by default, the exported json contains (in the first line) {"id":"1.18.2". You would need to modify this to be {"id":"1.18.2-arm64", since that is the correct ID you are inheriting from the 1.18.2-OptiFine-arm64.json OptiFine file.

Also, I realized that I have a slight error in my original instructions. Hopefully you have installed OptiFine manually, and not by downloading the folder from my repo, as I did not include the libraries for OptiFine. Although this will produce an entirely different error (optifine file not found) when launching, so I'm assuming you downloaded it manually from their website.

Check your json file for your 1.18.2-arm64 installation and make changes if necessary. If that doesn't work, I suggest uploading your files to a GitHub repo or somewhere, so that I can take a look and see if you've missed something.

@DubstepLejand
Copy link

Yep that worked, thank you!

@Yuahde
Copy link

Yuahde commented Apr 2, 2022

@jacyhung

When you exported the 1.18.2-arm64.json file from m1craft, did you edit the json file? I realized that by default, the exported json contains (in the first line) {"id":"1.18.2". You would need to modify this to be {"id":"1.18.2-arm64", since that is the correct ID you are inheriting from the 1.18.2-OptiFine-arm64.json OptiFine file.

Also, I realized that I have a slight error in my original instructions. Hopefully you have installed OptiFine manually, and not by downloading the folder from my repo, as I did not include the libraries for OptiFine. Although this will produce an entirely different error (optifine file not found) when launching, so I'm assuming you downloaded it manually from their website.

Check your json file for your 1.18.2-arm64 installation and make changes if necessary. If that doesn't work, I suggest uploading your files to a GitHub repo or somewhere, so that I can take a look and see if you've missed something.

how did you get the 1.18.2 json file in the first place

@jacyhung
Copy link

jacyhung commented Apr 2, 2022

@jacyhung

When you exported the 1.18.2-arm64.json file from m1craft, did you edit the json file? I realized that by default, the exported json contains (in the first line) {"id":"1.18.2". You would need to modify this to be {"id":"1.18.2-arm64", since that is the correct ID you are inheriting from the 1.18.2-OptiFine-arm64.json OptiFine file.

Also, I realized that I have a slight error in my original instructions. Hopefully you have installed OptiFine manually, and not by downloading the folder from my repo, as I did not include the libraries for OptiFine. Although this will produce an entirely different error (optifine file not found) when launching, so I'm assuming you downloaded it manually from their website.

Check your json file for your 1.18.2-arm64 installation and make changes if necessary. If that doesn't work, I suggest uploading your files to a GitHub repo or somewhere, so that I can take a look and see if you've missed something.

how did you get the 1.18.2 json file in the first place

You can download the 1.18.2.json file through M1Craft app. You have to launch a 1.18.2 session first, then from the main app window, you can export it from the finder bar. I did not include them in my repository as it is not my work, it is @ezfe’s!

@ezfe
Copy link
Author

ezfe commented Apr 2, 2022

I'll update the gist, whoops thanks for reminding me. Feel free to publish the JSON files yourself, @jacyhung, if you want

@jacyhung
Copy link

jacyhung commented Apr 2, 2022

I'll update the gist, whoops thanks for reminding me. Feel free to publish the JSON files yourself, @jacyhung, if you want

Sounds good, I'll update my repo with it. Thanks for your work!

@Southpaw1496
Copy link

I feel like we've been over this, but I followed all the steps and I got this error in the output log:

17:38:05.226
Preparing to launch minecraft client for 1.18.2-arm64
17:38:07.169
Minecraft client 1.18.2-arm64 is ready to start.
17:38:07.170
Starting!
17:38:07.195
Using default game log configuration client-1.12.xml (outputs XML)
17:38:17.560
[STDERR]: [LWJGL] Failed to load a library. Possible solutions:
	a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath.
	b) Add the JAR that contains the shared library to the classpath.
17:38:17.566
[STDERR]: [LWJGL] Enable debug mode with -Dorg.lwjgl.util.Debug=true for better diagnostics.
17:38:17.566
[STDERR]: [LWJGL] Enable the SharedLibraryLoader debug mode with -Dorg.lwjgl.util.DebugLoader=true for better diagnostics.
17:38:18.185
[STDERR]: java.lang.NoClassDefFoundError: Could not initialize class com.mojang.blaze3d.systems.RenderSystem
17:38:18.199
[STDERR]: 	at ac.a(SourceFile:65)
17:38:18.204
[STDERR]: 	at dyr.a(SourceFile:2394)
17:38:18.204
[STDERR]: 	at dyr.a(SourceFile:2389)
17:38:18.208
[STDERR]: 	at net.minecraft.client.main.Main.main(SourceFile:206)

This is the JSON that I am using: https://files.southpaw1496.me/1.18.2-arm64.json (GitHub doesn't support JSON files).

Is there any way I can fix it?

@DrAhoss
Copy link

DrAhoss commented Apr 10, 2022

Got this running, gotta say it's a dream! Runs so smooth without changing any settings in game. Got a question though: Can I use fabric with this? I tried changing the fabric-loader.json "inheritsFrom":"1.18.2" argument to 1.18.2-arm64 but either way the game crashes on startup. Has anybody got this working?
Thanks!

@ezfe
Copy link
Author

ezfe commented Apr 10, 2022

I did it by manually applying the inheritance. Go through the arm json and copy it into the fabric one. Anything already in the fabric one, don’t copy. Do copy the LWJGL files.

@DrAhoss
Copy link

DrAhoss commented Apr 10, 2022

Thanks, that worked! Had to beautify the json files first, then it was basically just a matter of copy-pasting! Got it working now with fabric and a few other mods, super fluid in my m1 macbook air.

@Southpaw1496
Copy link

I feel like we've been over this, but I followed all the steps and I got this error in the output log:

...

This is the JSON that I am using: https://files.southpaw1496.me/1.18.2-arm64.json (GitHub doesn't support JSON files).

Is there any way I can fix it?

After appending -Dorg.lwjgl.util.Debug=true to my JVM flags, I now have this output

22:09:47.634
Preparing to launch minecraft client for 1.18.2-arm64
22:09:49.661
Minecraft client 1.18.2-arm64 is ready to start.
22:09:49.661
Starting!
22:09:49.690
Using default game log configuration client-1.12.xml (outputs XML)
22:10:00.937
[STDERR]: Version: 3.3.0 build 21
22:10:00.958
[STDERR]: 	 OS: Mac OS X v11.3
22:10:00.959
[STDERR]: 	JRE: macOS x86_64 17.0.1
22:10:00.959
[STDERR]: 	JVM: OpenJDK 64-Bit Server VM v17.0.1+12 by Eclipse Adoptium
22:10:00.990
[STDERR]: Loading JNI library: lwjgl
22:10:00.991
[STDERR]: 	Module: org.lwjgl
22:10:01.001
[STDERR]: 	macos/x64/org/lwjgl/liblwjgl.dylib not found in java.library.path=/Users/southpaw/Library/Application Support/minecraft/bin/6d65-6105-deec-5f3d
22:10:01.004
[STDERR]: 	liblwjgl.dylib not found in java.library.path
22:10:01.120
[STDERR]: [LWJGL] Failed to load a library. Possible solutions:
	a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath.
	b) Add the JAR that contains the shared library to the classpath.
22:10:02.140
[STDERR]: java.lang.NoClassDefFoundError: Could not initialize class com.mojang.blaze3d.systems.RenderSystem
22:10:02.141
[STDERR]: 	at ac.a(SourceFile:65)
22:10:02.142
[STDERR]: 	at dyr.a(SourceFile:2394)
22:10:02.144
[STDERR]: 	at dyr.a(SourceFile:2389)
22:10:02.144
[STDERR]: 	at net.minecraft.client.main.Main.main(SourceFile:206)

@neuhaus
Copy link

neuhaus commented Apr 24, 2022

@Southpaw1496 i am using Azul JRE 17 from https://www.azul.com/downloads/?package=jre#download-openjdk

OpenJDK Runtime Environment Zulu17.34+19-CA (build 17.0.3+7-LTS)
OpenJDK 64-Bit Server VM Zulu17.34+19-CA (build 17.0.3+7-LTS, mixed mode, sharing)

@neuhaus
Copy link

neuhaus commented Apr 25, 2022

hello @ezfe what is the source of all those jar files located at f001.backblazeb2.com?
How do we know they are trustworthy?

@ezfe
Copy link
Author

ezfe commented Apr 25, 2022

They are sourced from the LWJGL download page and rehosted as a courtesy to the LWJGL folks.

you could verify them by downloading the corresponding jars from the LWJGL site and comparing SHA hashed. You can use the command shasum.

@benkropf
Copy link

benkropf commented Apr 28, 2022

In the future, could you publish a version of the JSON file with direct links to the original LWJGL jars? It would simply your process and would remove any concerns of downloading potentially untrustworthy jars.

@ezfe
Copy link
Author

ezfe commented Apr 28, 2022

@benkropf Understood - I'll investigate finding a good way to mirror the jars while removing those concerns. In the meantime, I've created a copy of this json file that points directly to lwjgl.org: https://gist.github.com/ezfe/fcd2410a123cb596786bed3702660808

@neuhaus
Copy link

neuhaus commented Apr 28, 2022

Thanks a lot for everything

@AbhinavRobinson
Copy link

Thanks, that worked! Had to beautify the json files first, then it was basically just a matter of copy-pasting! Got it working now with fabric and a few other mods, super fluid in my m1 macbook air.

Hi @DrAhoss, can you provide the fabric file here, that would be great thanks :)

@ezfe
Copy link
Author

ezfe commented May 22, 2022

Starting with 1.19 the default profile includes ARM binaries so only modifying the Java runtime is needed. I've updated the instructions to indicate this.

@ezfe
Copy link
Author

ezfe commented May 22, 2022

Even if they don't officially support it, it will mean installing mods should be much easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment