Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Are you using a large modpack? Do you also experience insanely high launch times when using it?
Then my mod "Lightspeed" might be just what you are looking for.
Request: If you notice any issues please report them (on GitHub) - no improvement is worth having any crashes or incompatibility.
💡About
Lightspeed is a launch optimization mod, that aims to significantly reduce minecrafts launch time when using (heavy) modpacks.
At the moment Lightspeed decreases minecraft's launch time by approx. 48% - 62%
This mod is still work in progress and all optimizations will be added bit by bit to ensure a stable and slowy getting better experience.
To let you track the launch time improvement for every update Lightspeed displays the launch time at the title screen (look at the Images tab).
You can leave your thoughts on the CurseForge mod page
📜 Motivation
I'm using a large modpack myself that includes 273 mods (Minecraft 1.18.2). Minecraft takes half an eternity to start - even though I have a solid pc setup. An up-to-date computer takes 7 minutes, a setup of 2015 approx. 15 min and a notebook of 2018 even needs more than 20 min to launch minecraft. That's not really good.
🔭 Roadmap
At the moment Lightspeed decreases minecraft's launch time by approx. 48% - 62%. Every future update aims to improve it at least by 10%.
My final goal is that Lightspeed make your launch 3 to 4 times faster than without using it.
Meaning an unoptimized launch of 7 minutes should be reduced to 2 minutes, 15 minutes to 4 minutes and so on.
If you like this mod, I would be happy if you post a comment with your inital launch time and the time achieved by using Lightspeed.
🧭Maxims (Guiding principles)
To ensure that my goal (improved loading times for everyone) is actually achieved, Lightspeed follows or should follow a few guiding principles:
- Efficiency over multithreading: Not everyone has a gaming cpu with 12, 16 or even 20 cores. Therefore, Lightspeed relies on caches and other measures to minimize operations wherever possible.
- Minimally invasive: Even though Lightspeed is changing existing source code, it's not an completely overhaul or rearrangement of it. Every adjustment takes place with utmost care.
- (Ideally) no incompatiblilites: It's my goal that Lightspeed is and will be compatible with almost all mods out there - if you experience any crashes, weird behaviours or other issues please create an issue on GitHub.
- Configurability: I'm aware that not all mods can be compatible with Lightspeed. But you can still use Lightspeed by disabling the problematic optimization feature in the config file.
⚗️How it works
Minecraft and Forge are using some ineffiecient or redundant ways to load, hold and process data. I found some of these. I implemented an alternative algorithm per inefficiency and then observed the startup again to verify that the change resulted in the expected improvement. Lightspeed's optimizations will mainly focus on:
- reducing file system operations (especially read access)
- parallelizing suitable processes
- caching computed results and data
- improved data structures
🖥️ Test-Setup & Compatibilties
The following section contains all mods that I'm using in my modpack. Which means that all of these mods should be compatible with Lightspeed.
Mod list
AbsentByDesign AdditionalAdditions AdditionalLanterns AdditionalLights Alcocraft Alexsmobs AmbientAdditions AmbientSounds Appetite AppleSkin AppollosAdditionalStructures Aquaculture Architects Architectury Artifacts AutoRegLib AwesomeDungeonEnd AwesomeDungeonNether AwesomeDungeonOcean Awesomedungeon BadMobs Balm Beautify Bettas BetterAdvancements BetterAnimalsPlus BetterBiomeBlend BetterFpsDist BetterModsButton BeyondEarth BiomesO'Plenty BlockCarpentry BlueSkies Bookshelf BotanyPots BottleYourXp BottledAir Breezy BuildersAddition BuildersDelight Camera Canary Chipped Chiseled Citadel ClothConfig CofhCore ColdsStructures Collective CombatRoll Configured ConnectedTexturesMod CookingForBlockheads CornDelight Create CreativeCore CreaturesAndBeasts CrittersAndCompanions Croptopia CulturalDelights Curios DecorationDelightMod DecorativeBlocks DeeperInTheCaves Delightful Diet DimDungeons DisplayCase DoggyTalents DomesticationInnovation DomumOrnamentum DrawerFps Duckies DungeonCrawl DungeonsArise DynamicSurroundings Ecologics EntityCollisionFpsFix EntityCulling ExlineFurniture ExoticBirds Expandability ExpandedCaves ExtendedLights FallingLeaves FantasyFurniture FarmersDelight FastLeafDecay FastWorkbench FeatureNbtDeadlockBeGone FerriteCore FinsAndTails FixMySpawnR Floralis Flowery FloweryCore Flywheel FoodEnhancements ForgottenBiomes FramedBlocks Furnish Geckolib Gemsnjewels GoProne Goodall GrapplingHookMod Gravestone GuardVillagers GuiClock HappyHolidays Hedgehog HopoBetterUnderwaterRuins Hyle ImmersiveEngineering ImmversiveFX InControl Incendium IndustrialForegoing InfinityButtons IntegratedStructuresAndDungeons Jade Jeed Jei JeiIntegration JourneyMap Kiwi KnightQuest Koremods KotlinForForge Krypton LazyDfu LibraryFerret LightMeals Lightspeed MacawsBridges MacawsBridgesBOP MacawsDoors MacawsFences MacawsFencesBOP MacawsFurniture MacawsLights MacawsPaths MacawsRoofs MacawsRoofsBOP MacawsTrapdoors MacawsWindows Mantle ManyIdeasCore ManyIdeasDoors Mapperbase McjtyLib MmLib ModernXl MonkeMadness MoogsVoyagerStructures MoreBeautifulPlates MoreStorageDrawers MoreVillagers MouseTweaks MrCrayfish'sFurniture Multibeds NamelessTrinkets Naturalist NaturesCompass Nekoration Nightlights NockEnoughArrows NotJustSandwich Notes Observable ObsidianBoat OhTheBiomesYou'llGo Optifine OutOfSight Pam'sHarvestcraftCrops Pam'sHarvestcraftFoodCore Pam'sHarvestcraftFoodExtended Pam'sHarvestcraftTrees Paraglider Patchouli Phireworks PickUpNotifier Placebo PlayerAnimator PresenceFootsteps PrettyBeaches PrimalReservation ProjectVibrantJourneys PuzzlesLib Pyrotastic Quark QuickPlant Reblured Rechiseled RecipesLibrary RefinedStorage Relics Reliquary RepurposedStructures RexsAdditionalStructures RfToolsBase RoughTweaks Searchlight SecretRooms SecurityCraft Selene ShetiphianCore Shrines Signpost SimpleDivingGear SimplyHouses SimplyLight Sit SmarterFarmers SmoothChunk SnowRealMagic SnowUnderTrees SnowySpirit SophisticatedBackpacks SophisticatedCore SophisticatedStorage SoundPhysics SpiceOfLife SpyglassImprovements Starlight StorageDrawers Structory StructureGel StylishEffects SuperMartijn642ConfigLib SuperMartijn642CoreLib Supplementaries SushiGoCrafting SushiMod TerraBlender Terralith TheAbyss2 TheVeggieWay ThermalCultivation ThermalExpansion ThermalFoundation ThermalInnovation ThermalIntegration ThermalLocomotion Titanium ToughAsNails TownsAndTowers Trapcraft UTeamCore UnionLib Unstructured UntamedWilds UnusualDrill UnusualEnd UsefulBackpacks VanillaDegus Villagernames Waddles Waystones WildBackport Wilds XercaMod Xnet XtraArrows YungsApi YungsBetterDesertTemples YungsBetterDungeons YungsBetterMineshafts YungsBetterStrongholds YungsBetterWitchHuts mOREs
❗Important Notes
- The optimizations will only show an effect if you are using several or a lot of mods.
- Some future optimizations may directly tweak other mods. If you don't want that Lightspeed directly improve other mods behaviour you can still disable it - but launch times will be better with keeping them activated.
- It will probably not be possible to reduce the launch time down or near to vanilla level (about 40 seconds), because in spite of optimizations there is more to do than not using any mods - But I will try my best to retract that statement at some point.
📝FAQ
Questions
Q: Can I use Lightspeed in my modpack?
A: Yes - Feel free to include Lightspeed into your modpack - Remember to give credit and don't claim Lightspeed as your own creation.
Q: Which Minecraft versions are supported?
A: Lightspeed is currently available for 1.18.2. Other version will hopefully come soon - feel free to request a specific version.
Q: Are there any known incompatibilities with other mods?
A: Not yet - most mods should be compatible with Lightspeed. If you are facing any problems when using Lightspeed please create an issue on GitHub.
Q: I'm still facing high launch times. Why?
A: This mod is still work in progress - look at the Roadmap section for more info. Maybe some mods you are using contain inefficient algorithms. Feel free to create an issue on GitHub with your mod list. I will try to profile and to improve it. Another reason might be your maximum memory allocation (via -XMX) - if this value is too low, minecraft will try to free memory more often and this will hurt the launch time.