InstEnt

InstEnt

Mod

Removes the arbitrary update limits on entities server-side and fixes pathfinding and behavior bugs.

Server Game Mechanics MobsOptimization

90 downloads
4 followers
Follow Save

Inst Ent

Description

InstEnt is a mod for modern versions of minecraft that makes entity updates instant, as fast as your servers MSPT and internet connection. It now processes entity update delays purely off of network packets, eliminating all extra unnecessary delays on the server put in place by Mojang. This mod also fixes multiple client/server desync issues with entities, such as the infamous MC-4. As a bonus, this mod fixes issues relating to pathfinding and entity behavior, making the overall entity experience smoother.

Since entity updates rely on network packets since 1.3 (2012), why do ticking entities need a update delay on the server, if the delay is already handled by the network? Simple answer: To smooth out bad packets. This mod doesn't remove that smoothing, rather it forces entity updates to send every tick, bypassing any internal delays, while still keeping the visual experience smooth and choppy free. It does all of this without tanking computer or server performance.

Info

The fixes that come with the mod are configurable, just incase it doesn't fancy your vanilla. You can locate it in your minecraft directory, under the "config" folder. Below is the latest config file and what fixes it includes.

1.2 Config

Entities pursuing a target will use direct movement rather than following a strict grid, and fixes pathfinding stopping when an entity reaches a target. Land mobs will now pathfind from the center of their hitbox, and not the northwest corner. Fixes MC-89938 and MC-198068, partially fixes MC-21109 entity_persistent_targetting_fix=true

Players will now properly send movement data to the server when on the death screen. Fixes MC-159299 player_death_desync_fix=true

⚠️ This mod processes entites at a much faster rate, which means weaker CPUs could see some performance impacts, and high player count servers could experience lag. On a vanilla singleplayer server with a large amount of entities, Spark results show that this mod contributes 0% to the server load. This was tested on a i7-11700KF Intel processor.

⚠️ This mod shows the most up-to-date server position of all entities, including players. A bad client connection or high server load may rarely cause entities or players to stutter.

Usage

The mod supports Fabric and Minecraft versions 1.21.5 and above, unless something crticial changes. Its lightweight nature allows it to be compatible with snapshot versions aswell.

If you have any suggestions, or discover any issues or mod incompatibilities, report them in the github tracker linked on the mod page.

The mod will not be rewritten to support older versions. A neoforge port is planned.


Project members

cintlex

Member

Details

Licensed LGPL-3.0-only
Published 4 days ago
Updated a day ago