fixed entity position

This commit is contained in:
gnembon committed 2019-10-11 01:54:25 -03:00
1 parent 3b6c1d045e
commit 2591ae99a8
1 file changed
+2 -2
@@ -183,8 +183,8 @@ public class EntityValue extends Value
put("pos", (e, a) -> ListValue.of(new NumericValue(e.method_23317()), new NumericValue(e.method_23318()), new NumericValue(e.method_23321())));
put("location", (e, a) -> ListValue.of(new NumericValue(e.method_23317()), new NumericValue(e.method_23318()), new NumericValue(e.method_23321()), new NumericValue(e.yaw), new NumericValue(e.pitch)));
put("x", (e, a) -> new NumericValue(e.method_23317()));
put("y", (e, a) -> new NumericValue(e.method_23317()));
put("z", (e, a) -> new NumericValue(e.method_23317()));
put("y", (e, a) -> new NumericValue(e.method_23318()));
put("z", (e, a) -> new NumericValue(e.method_23321()));
put("motion", (e, a) ->
{
Vec3d velocity = e.getVelocity();