Travis Watkins 2ea133bb99 Provide a faster way to get a location. Adds BUKKIT-3120
Currently when a plugin wants to get the location of something it calls
getLocation() which returns a new Location object. In some scenarios this
can cause enough object creation/destruction churn to be a significant
overhead. For this cases we add a method that updates a provided Location
object so there is no object creation done. This allows well written code
to work on several locations with only a single Location object getting
created.

Providing a more efficient way to set a location was also looked at but
the current solution is the fastest we can provide. You are not required
to create a new Location object every time you want to set something's
location so, with proper design, you can set locations with only a single
Location object being created.
2012-12-07 21:18:31 -06:00
..
2012-05-24 22:33:45 -05:00
2011-06-18 22:20:47 -04:00
2012-02-29 21:31:28 -05:00
2011-09-15 02:34:14 +01:00
2011-10-10 21:58:44 +01:00
2011-10-10 21:58:44 +01:00
2011-05-15 14:06:02 +02:00
2011-05-15 14:06:02 +02:00
2012-02-29 21:31:33 -05:00
2011-11-21 22:37:37 +00:00
2012-02-29 21:31:33 -05:00
2012-02-29 21:31:33 -05:00
2011-10-10 21:58:44 +01:00
2011-10-10 21:58:44 +01:00
2011-10-10 21:58:44 +01:00
2011-10-10 21:58:44 +01:00
2011-10-10 21:58:44 +01:00
2011-11-28 11:12:08 +11:00
2012-01-15 14:37:43 +01:00
2011-10-10 21:58:44 +01:00
2011-10-10 21:58:44 +01:00
2012-01-15 14:37:43 +01:00
2011-09-15 02:34:14 +01:00
2012-02-29 21:31:33 -05:00
2012-02-29 21:31:33 -05:00
2011-09-15 02:34:14 +01:00
2011-10-10 21:58:44 +01:00
2012-01-15 14:37:43 +01:00
2012-02-29 21:31:28 -05:00
2011-10-10 21:58:44 +01:00
2011-10-10 21:58:44 +01:00
2011-05-15 14:06:02 +02:00