XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.7.4
    • Fix Version/s: Minecraft 14w32a
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      I have looked in the Minecraft Source Code and found a Error/Problem in the Speed Calculation.

      This stand in the obfuscated Code from the Minecraft Client (1.7.4):

      float f1 = this.bm.a(paramahz);
      if (f1 > 1.0F) { //Higher than 1.0F
      	int j = aem.c(this);
      	abu localabu = this.bm.h();
      
      	if ((j > 0) && (localabu != null)) {
      		float f2 = j * j + 1;
      		
      		if ((localabu.b(paramahz)) || (f1 > 1.0F)) { //<--- Here is the Error
      			f1 += f2;
      		else
      			f1 += f2 * 0.08F;
      		}
      	}
      }

      The float f1 is always higher then 1.0F.

      Here is the problem too: https://github.com/Bukkit/mc-dev/blob/master/net/minecraft/server/EntityHuman.java#L511
      And here: https://github.com/Bukkit/CraftBukkit/blob/master/src/main/java/net/minecraft/server/EntityHuman.java#L593

        Attachments

          Activity

            People

            • Assignee:
              dinnerbone [Mojang] Nathan Adams
              Reporter:
              Howaner Franz Reiter
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: