[MC-4805] Entity bounce when traversing blocks that have Y sizes in increments other than 0.5. Created: 16/Dec/12  Updated: 05/May/15  Resolved: 16/Dec/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.5
Fix Version/s: None

Type: Bug
Reporter: Robert Anthony Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MC-1594 Trying to walk from a block with a co... Resolved
Confirmation Status: Unconfirmed

 Description   

Attempting to walk up a block that does not have a Y height of 0.5 or 1 will cause the player to briefly fall downward to 0 or 0.5(depending on the entity's height).

A tested fix has already been found, although I'm sure that the official code will have other variable names, so the proper location should be able to be found from this snippet below.

if (var40 > 0.0D && !this.worldObj.isRemote)
{
this.ySize = (float)((double)this.ySize + var40 + 0.01D);
}

It exists at the end of the "move" profile section in the entity code. The remote world check makes this piece of code only run on the server side, thereby stopping the desync(and therefore the bounce) from occurring.



 Comments   
Comment by Tails [ 16/Dec/12 ]

Duplicate of MC-1594 , please use the search function to see if your bug has already been submitted. Currently over 35% of tickets are being closed as duplicate.

Generated at Sun Jan 12 12:05:48 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.