CurseForge · Minecraft mod
BetterSMP (Client)
Client mod to correct entity positions received from the server to prevent glitches. Also fixes the bounding box of slimes.
Quick answer
Which BetterSMP (Client) release should I use?
BetterSMP (Client) SMPSlimeFix_1.2.4_r1.zip targets 1.0.0. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is BetterSMP (Client) required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does BetterSMP (Client) SMPSlimeFix_1.2.4_r1.zip need?
SMPSlimeFix_1.2.4_r1.zip. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add BetterSMP (Client) without breaking your instance.
Built for BetterSMP (Client) SMPSlimeFix_1.2.4_r1.zip. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use SMPSlimeFix_1.2.4_r1.zip. It targets 1.0.0; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside SMPSlimeFix_1.2.4_r1.zip. It opens that exact file at the source.
About this project
What does BetterSMP (Client) add?
Update: The server-side version of this fix (Amaranth's CraftBukkit implementation) is now part of CraftBukkit. So if you're on a Bukkit server with version 1.2.5-R0.1 (Build #02136) or later, you don't need BetterSMP at all - you can still use SMPSlimeFix to further improve slime behaviour though.
Corrects mob positions received from multiplayer servers to (mostly) prevent mobs from glitching through blocks. Also corrects the bounding box of slimes. Note that these issues are said to be gone by 1.3. The mods have no effect in singleplayer.
Video Demo: http:www.youtube.com/watch?v=oksq4S5ESTI
Server Mod
BetterSMP-Server is an alternative to BetterSMP-Client, providing an additional fix for permanent server-side glitches, but lacking the ability to fix the bounding box of slimes (that's where SMPSlimeFix comes into play). You can find it here: http:dev.bukkit.org/server-mods/bettersmp/
Which Mod To Use
- Use BetterSMP-Client if you don't have BetterSMP-Server installed on your Minecraft server, and your server is not running CraftBukkit 1.2.5-R0.1 (Build #02136) or later
- Use SMPSlimeFix if you do have BetterSMP-Server installed (or your server is running CraftBukkit 1.2.5-R0.1 (Build #02136) or later), in order to further improve the behavior of slimes.
Note that BetterSMP-Server also fixes permanent server-side glitches, which cannot be fixed with only client mods.
How it works
Every few ticks (depending on the entity movement and position) the server sends positions of entities to clients. However, three concerning things happen at the process:
- Positions are sent inaccurately (as multiples of 1/32, for performance reasons) and always rounded down towards negative infinity. Consequently, the client may think that the entity is in a different block than it really is. Example: A villager is enclosed in a 1 wide, 1 long cell, ranging from (x=0,z=0) to (1,1). Villagers have a bounding box of 0.6x0.6, so a villager could be at x = 0.3, barely touching the block at -1 < x < 0. When multiplying 0.3 with 32, rounding it down, and dividing it with 32 again, you end up with x = 0.28125. The new minimal x coordinate of the villager's bounding box is now -0,01875 (as opposed to 0.0). This is the cause for many visual (temporary, client-side) glitches.
- Sometimes (every few seconds, or if the entity teleported, i.e. moved a great distance), the server sends a different packet with absolute positions (as opposed to positions relative to the previously sent ones). The client (for some reason) adds 1/64 to the y coordinate, which may cause additional client-side glitches
- Slimes are not assigned the correct bounding box (67% of the time). Although the slime size itself (either 1, 2 or 4) is stored correctly, the bounding box is only set randomly when the mob is created
To fix these issues, the mod(s) do(es) the following
- attempts to correct inaccurate coordinates received from the server by iterating through possible positions (either the received coordinate or +1) to find a position which would result in the same colliding bounding boxes as the current client position (using the real coordinates, which are only known to the server, might be more reliable in theory; but this client-side correction seems to work equally well) <- BetterSMP only
- removes the addition of 1/64 to the Y-coordinate <- BetterSMP only
- resets (corrects) the bounding box of slimes as soon as the slime size is known <- BetterSMP and SMPSlimeFix
Compatibility
Both mods are available for both 1.2.4 and 1.2.5. You cannot use both mods at the same time, as SMPSlimeFix is integrated into BetterSMP-Client. See "Which Mod To Use".
Installation
- Download the desired mod (zip file) for your Minecraft version
- Paste its contents into your minecraft.jar
- Delete the META-INF folder inside minecraft.jar if you haven't done that yet
- Start Minecraft and enjoy =)
Project description from CurseForge.
Pick your setup
BetterSMP (Client) by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
BetterSMP (Client) versions and loaders
SMPSlimeFix_1.2.4_r1.zip
2 Apr 2012
BetterSMP_Client_1.2.4_r1.zip
2 Apr 2012
SMPSlimeFix_1.2.5_r1.zip
2 Apr 2012
BetterSMP-Client_1.2.5_r1.zip
2 Apr 2012
Looking for an older file? The official CurseForge project page is in Resources.