You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GIVEN Steve has EnderChest installed on his system AND that system has Minecraft installed via both the official launcher and a MultiMC-derivative like PrismLauncher
WHEN he opens a terminal, navigates to his Minecraft root and runs the command:
$ enderchest gather --all
THEN EnderChest will search for valid Minecraft instances in a wide variety of common installation locations (see notes) AND THEN append or update the enderchest.cfg instance manifest with any valid instances it finds
SO that Steve doesn't have to manually specify the directories to search (a la#33)
Notes
So the good news is that python's Path.rglob is pretty forgiving--if you give it a path that doesn't exist, it'll just return empty. The bad news is that permission errors are a thing, and if you iterate over Path("/").rglob(".minecraft"), it'll try its darndest.
With that in mind, if I want to do this, I'm going to need to put in the work of finding out where exactly Minecraft gets regularly installed, and I want to do this on Windows and macOS as well as Linux.
The launchers to prioritize are going to be:
The official one, which is fairly straightforward (though I need to remember to check the flatpak)
MultiMC, the O.G.
PrismLauncher
ATLauncher
Curseforge
GDLauncher
Badlion?
and the ones that are available for Linux I'll need to check all their official installation methods (apt/deb/AUR, AppImage, Flatpak and yeah, maybe even snap 🤮)
The text was updated successfully, but these errors were encountered:
GIVEN Steve has EnderChest installed on his system
AND that system has Minecraft installed via both the official launcher and a MultiMC-derivative like PrismLauncher
WHEN he opens a terminal, navigates to his Minecraft root and runs the command:
THEN EnderChest will search for valid Minecraft instances in a wide variety of common installation locations (see notes)
AND THEN append or update the
enderchest.cfg
instance manifest with any valid instances it findsSO that Steve doesn't have to manually specify the directories to search (a la #33)
Notes
So the good news is that python's
Path.rglob
is pretty forgiving--if you give it a path that doesn't exist, it'll just return empty. The bad news is that permission errors are a thing, and if you iterate overPath("/").rglob(".minecraft")
, it'll try its darndest.With that in mind, if I want to do this, I'm going to need to put in the work of finding out where exactly Minecraft gets regularly installed, and I want to do this on Windows and macOS as well as Linux.
The launchers to prioritize are going to be:
and the ones that are available for Linux I'll need to check all their official installation methods (apt/deb/AUR, AppImage, Flatpak and yeah, maybe even snap 🤮)
The text was updated successfully, but these errors were encountered: