GlowstoneMC / Glowstone

A fast, customizable and compatible open source server for Minecraft: Java Edition
https://glowstone.net
Other
1.9k stars 273 forks source link

Enhance Player Throw #901

Closed jordanmurray closed 6 years ago

jordanmurray commented 6 years ago

This pull request attempts to solve the problem of a player not being able to throw an object with much velocity. The fix simply adds calculations to the initial velocity of the thrown object. The initial velocity is also randomized to match behavior on official server.

CLAassistant commented 6 years ago

CLA assistant check
All committers have signed the CLA.

aramperes commented 6 years ago

Hey, thank you for your contribution. May I ask where the values come from? Are they from trial-and-error?

jordanmurray commented 6 years ago

Yes, the values come from a process of trial-and-error to find the closest similar behavior to the official server.