Move to fabric only

Forge unfortunately doesn't have the ability to mixin libraries
This commit is contained in:
Phoenix-Starlight 2023-10-17 19:25:03 -07:00
parent abaa442a3b
commit b1efc154be
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@
"modernfix.option.mixin.perf.boost_worker_count": "1.16 only. Removes the hardcoded cap on worker thread count, similarly to what Mojang did in 1.18.",
"modernfix.option.mixin.perf.cache_blockstate_cache_arrays": "All versions. Avoids creating fresh copies of enum arrays each time a blockstate cache is initialized. Minor optimization, but easy to do.",
"modernfix.option.mixin.perf.cache_model_materials": "All versions. Memoizes the `RenderMaterial` (texture) collection and dependency list that models return instead of requiring them to be recalculated on each request. Helps accelerate the model load/bake process.",
"modernfix.option.mixin.perf.cache_profile_texture_url": "1.20+. Avoids pointlessly creating a URL object and speeds up skull block rendering.",
"modernfix.option.mixin.perf.cache_profile_texture_url": "Fabric 1.20+. Avoids pointlessly creating a URL object and speeds up skull block rendering.",
"modernfix.option.mixin.perf.cache_strongholds": "All versions. Saves the generated list of stronghold positions with the world, instead of regenerating it on every world load. Saves a little bit of time on 1.16, and quite a bit more on 1.18 and 1.19.",
"modernfix.option.mixin.perf.cache_upgraded_structures": "All versions. Many mods ship outdated structure files, which requires the game to upgrade them using DFU every single time they are loaded. This can be quite slow. This patch adds logic to instead save the upgraded version of the structure, and reuse it on the next load. To handle the case that the mod changes a structure file but not the name, the original file's hash is compared against the cached version, and if they do not match the structure will be upgraded again.",
"modernfix.option.mixin.perf.compress_biome_container": "1.16 only. Minor optimization borrowed from Hydrogen, which attempts to save space in the biome container when possible. This gets disabled automatically if conflicting mods like BetterEnd or Chocolate are installed.",

View File

@ -1,4 +1,4 @@
package org.embeddedt.modernfix.common.mixin.perf.cache_profile_texture_url;
package org.embeddedt.modernfix.fabric.mixin.perf.cache_profile_texture_url;
import com.mojang.authlib.minecraft.MinecraftProfileTexture;

View File

@ -1,4 +1,4 @@
package org.embeddedt.modernfix.common.mixin.perf.cache_profile_texture_url;
package org.embeddedt.modernfix.fabric.mixin.perf.cache_profile_texture_url;
import com.mojang.authlib.minecraft.MinecraftProfileTexture;
import com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService;