OptimizationsAndTweaks

OptimizationsAndTweaks

Mod

Mod that add some Optimizations/Bugfix/Tweakings for minecraft 1.7.10 and mods

Client and server Optimization

9,662 downloads
13 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter channels...

V1.13.9

by quentin452 on Feb 4, 2024
Download

Disable MixinPathEntity + MixinPathNativate for now,it causing crash


java.lang.ArrayIndexOutOfBoundsException: 27
at net.minecraft.pathfinding.PathEntity.func_75881_a(SourceFile:591)
at net.minecraft.pathfinding.PathNavigate.func_75508_h(SourceFile:161)
at net.minecraft.pathfinding.PathNavigate.func_75501_e(SourceFile:127)
at net.minecraft.entity.EntityLiving.func_70619_bc(EntityLiving.java:3316)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:1774)
at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:367)
at net.minecraft.entity.monster.EntityMob.func_70636_d(SourceFile:25)
at com.hoopawolf.mam.entity.EntityDendroid.func_70636_d(EntityDendroid.java:96)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1611)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:206)
at net.minecraft.entity.monster.EntityMob.func_70071_h_(SourceFile:30)
at net.minecraft.world.World.func_72866_a(World.java:2070)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)
at net.minecraft.world.World.func_72870_g(World.java:2034)
at net.minecraft.world.World.optimizationsAndTweaks$updateLoadedEntities(World.java:52143)
at net.minecraft.world.World.func_72939_s(World.java:52072)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:2646)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:2744)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:3083)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:2840)
at java.lang.Thread.run(Thread.java:748)
57671116
src/main/java/fr/iamacat/optimizationsandtweaks/asm/Mixin.java

V1.13.8

by quentin452 on Feb 4, 2024
Download

Try fixing indexOutOfBoundIssues from PathEntity

optimize/reduce uneeded codes in MixinWorld

Fix #116

Add MixinPathEntity

V1.13.7

by quentin452 on Feb 1, 2024
Download

Mixin Added

-MixinPathNavigate (Vanilla) (Made tryMoveToEntityLiving Asyncronous)

Mixin Updated

-MixinEntity (Vanilla) (redundant code remover)

-MixinEntityTracker (Vanilla) (Use A Thread safe HashSet instead of not thread safe)

-MixinMinecraft (Vanilla) (Remove unecessary optimizations)

-MixinMinecraftServer (Vanilla) (Made tick method synchronized and add a a name to Save Thread)

-MixinNBTTagCompound (Vanilla) (Use ConcurrentHashMap instead of HashMap to prevent ConcurrentModificationException)

-MixinVec3 (Vanilla) (made setComponents synchronized)

-MixinWorld (Vanilla) (Improve Thread Safety)

-MixinWorldServer (Vanilla) (Improve Thread Safety + make it more memory efficient

-MixinBiomeGenBase (Vanilla) (made genBiomeTerrain synchronized)

Mixin Removed

-MixinChunkCoordIntPair (Vanilla) (Removed because Hodgepodge has a better optimization)

-MixinDedicatedServer (Vanilla) (Removed because unecessary optimizations)

Other

-rename NoiseGeneratorOctavesMultithread to NoiseGeneratorOctavesTwo (and remove threaded features)

-rename NoiseGeneratorImprovedMultithread to NoiseGeneratorImprovedTwo (and remove threaded features)

-rename NoiseGeneratorPerlinMultithread to NoiseGeneratorPerlinTwo (and remove threaded features)

-rename NoiseGeneratorSimplexMultithread to NoiseGeneratorSimplexTwo (and remove threaded features)

-Made ArrayListThreadSafe class

-Made ConcurrentSkipListSetThreadSafe class

-Made HashSetThreadSafe class

-Made TreeSetThreadSafe class

-add a name to CompressTask thread

V1.13.6

by quentin452 on Jan 29, 2024
Download

-ClasscastException + mistake fixes for MixinDataWatcher

-Add MixinBasic (Mythical Creatures)

-Remove MixinEntityTrackerEntry (causing issues)

-MixinNetHandlerPlayClient : prevent non livingentity to add attributes

V1.13.5

by quentin452 on Jan 29, 2024
Download

-Removed MixinObjectIntIdentityMap (causing large bottleneck)

V1.13.4

by quentin452 on Jan 29, 2024
Download

-Rewrite ThaumcraftCraftingmanager to reduce loading time

V1.13.3

by quentin452 on Jan 28, 2024
Download

-Fix cascading worldgens caused by BlockGrass2 Class

-Prevented some crashes

-greatly reduced lags caused by func_147456_g/onTick method from Chunk while using high render distance

-various bugfix/crashes fixes

-try making MixinWorldChunkManager thread safe

-try improving datawatcher thread safety

-make MixinIntCache thread safe

-etc.....

reupload of V1.13.2HOTFIX4 with some more patches

-Fix alot of CMEs(Concurrent Modification Exceptions) crashes

-Probably fix crash with Gregtech caused by world null

KNOWN ISSUES

-SOME CRASHES CAUSED BY Concurrent Modifications Exception

other

Revert "getBlockLightValue_do Cascading worldgens fixer" (it causes lightning issues)

FORGOT TO REENABLE THREADED ENTITY SPAWNING

ALOT OF BUGFIXES

getBlockLightValue_do Cascading worldgens fixer

seem to fix these bugs :

Thread safe issues with entityLists can cause crash , know to make crash instant with Cocoutil

Mobs can spawn into blocks (NOT PROPERLY FIXED)

Fire can break blocks really fast

cascading worldgens caused by populateChunk from MixinChunk

crash caused by MixinPatchSpawnerAnimals

There is an attempt to load a chunk (-42,64) in dimension 0 that is already being loaded. This will cause weird chunk breakages.

Server attempted to spawn an unknown entity using ID: {0} at ({1}, {2}, {3}) Skipping!

NPE caused by optimizationsAndTweaks$isTargetEntityValid

Crash Don't know how to add class tumbleweed.common.EntityTumbleweed! (NOT PROPERLY FIXED)

V1.13.2

by quentin452 on Jan 25, 2024
Download

Known issues

Thread safe issues with entityLists can cause crash , know to make crash instant with Cocoutil

Mobs can spawn into blocks

Fire can break blocks really fast

Mixin Added

-MixinFantasticEvents (Fantastic Fish) (Fixing cascading worldgens while Spawning Entity)

-MixinChunkCoordIntPair (Vanilla) (Optimizing ChunkCoordIntPair)

-MixinLongHashMap (Vanilla) (Optimizing LongHashMap)

-MixinIntHashMap (Vanilla) (Optimizing IntHashMap)

-MixinPathPoint (Vanilla) (Optimizing PathPoint)

-MixinObjectIntIdentityMap (Vanilla) (Optimizing ObjectIntIdentityMap)

-MixinBlockFluidBase (Vanilla) (Try fixing ClassCastException net.minecraft.block.BlockStaticLiquid cannot be cast to net.minecraftforge.fluids.BlockFluidBase)

Mixin Updated

-MixinBlockLeaves (Vanilla) (try fixing cascading worldgens)

-MixinCompressedStreamTools (Vanilla) (Made compress method non server blocking)

-MixinEntity (Vanila) (Optimizing setFlag + getBrightness method)

-MixinEntityAINearestAttackableTarget (Vanilla) (cleanup code)

-MixinEntityLookHelper (Vanilla) (Remove uneccesary checks)

-MixinEntityTracker (Vanilla) (Reenable Entity is already tracked! logging)

-MixinEntityTrackerEntry (Vanilla) (Try optimizing func_151260_c method)

-MixinGodZillaFix (Orespawn) (Remove uneccesary checks)

-MixinMapGenStructure (Vanilla) (Optimizing func_143028_c method)

-MixinMinecraft (Vanilla) (code cleanup)

-MixinMinecraftServer (Vanilla) (Try making saveAllPlayerData/saveAllWorlds non server blocking)

-MixinNibbleArray (Vanilla) (Optimizing the class)

-MixinPatchSpawnerAnimals (Vanilla) (made Entity Spawning non server blocking (probably making some bugs but making significant performance boost)

-MixinSaveHandler (Vanilla) (Optimizing checkSessionLock method)

-MixinWorld (Vanilla) (Optimizing more the class)

-MixinWorldGenMinable (Vanilla) (Optimizing more the class)

-MixinWorldServer (Vanilla) (Optimizing more the class)

-MixinEventHandlerNEP (Not Enough pets) (code cleanup)

-MixinBlockTickingWater (CofhCore)

-MixinBlockDynamicLiquid (Vanilla)

-MixinBlockLeaves (Vanilla) (Optimizing more)

-MixinIntegratedServer (Vanilla) (optimizing more)

-MixinPathFinder (Vanilla) (Optimizing more)

-MixinMobSpawnerGoblinLogic (Goblin mod) (code cleanup)

-MixinBlockGrass (Vanilla) (Try fixing cascading worldgens)

-MixinChunk (Vanilla) (Optimizing more)

-MixinChunkProviderServer (Vanilla) (Optimizing more)

-MixinEntityLiving (Vanilla) (Cleanup code)

Mixin Removed

-MixinLeaves (Vanilla) (Dupplicated from MixinBlockLeaves LOL)

Fixe

-seem to fix https://github.com/quentin452/OptimizationsAndTweaks/issues/110

-try fixing cascading worldgens caused by optimizationsAndTweaks$spreadGrass from BlockGrass2

-fixing some cascading worldgens by removing some unecessay checks from ThaumcraftWorldGenerator class

Other

-Optimizing Object2ObjectHashMap from agrona collection

-Optimizing LongHashMap2

-Optimizing ChunkProviderGenerateTwo

V1.13.1

by quentin452 on Jan 22, 2024
Download

-Crash fix

V1.13

by quentin452 on Jan 22, 2024
Download

Other

-disabling MixinWorldServer by default see : https://github.com/quentin452/OptimizationsAndTweaks/issues/110

Other

-revert experimental thread from MixinCompressedStreamTools : causing crashes

Mixin Updated

-MixinColoredIron (Colored Iron)

-MixinWorldServer (Vanilla)

-MixinCompressedStreamTools (Vanilla)

-MixinPatchSpawnerAnimals (Vanilla)

-MixinWorldGenMinable (Vanilla)

-MixinWorld (Vanilla)

-NoiseGeneratorOctavesMultithread (Vanilla)

Other

-Add concurrentlinkedhashmap embedded lib (+ Optimize it)

Fixe

-HOTFIX FIX GENERATIONS ISSUES BY REVERTING https://github.com/quentin452/OptimizationsAndTweaks/commit/83186eda5afeb1c64ad5d758626cb60e44c9ed63

V1.12.8

by quentin452 on Jan 21, 2024
Download

Mixin Updated

-MixinEntityTracker (Vanilla)

-MixinPatchSpawnerAnimals (Vanilla)

-MixinWorld (Vanilla)

-MixinWorldGenMinable (Vanilla)

-MixinWorldServer (Vanilla)

-MixinBiomeBlobGen (Netherlicious)

Other

-optimize Object2ObjectHashMap

-optimize TidyChunkBackportEventHandler

-various bottleneck/performances fixes

V1.12.7

by quentin452 on Jan 20, 2024
Download

Mixin Added

-MixinSaveHandler (Vanilla)

Mixin Updated

-MixinBiomeGenBase (Vanilla)

-MixinGrassSpread (Vanilla)

-MixinLoader (Vanilla)

-MixinThreadedFileIOBase (Vanilla)

-MixinWorld (Vanilla)

-MixinWorldGenMinable (Vanilla)

-MixinWorldServer (Vanilla)

-MixinLanguageRegistry (Vanilla)

-MixinPatchSpawnerAnimals (Vanilla)

Mixin Removed

-MixinNoiseGeneratorImproved (Vanilla) (Removed due to redundant things and causing issue)

Fixe

-Fix worldgen problem with aether mods

Other

-Reduced tidychunkBackport lags

-Update NoiseGeneratorOctavesMultithread


Project members

quentin452

Owner

Details

Licensed GPL-3.0-only
Published a year ago
Updated 8 months ago