Merge remote-tracking branch 'origin' into optimize

Signed-off-by: Chris Sanders <zidane@outlook.com>
Fixed up sync entities. Entities now successfully sync to NS but players have issues.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Use the transform passed in when constructing a SpoutPlayer.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Fixed redstone (physics) bug
Removed Model Batcher, removed enabling of specific elements in
preparation for determining the elements at batch time
Implemented player message sending from API

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>
Merge pull request #1972 from bergerkiller/master

Implemented player message sending from API
A commit that adds spout player positional saving.
Uses saveEntity like all good code should.  Saves in data/players/player.dat
Signed-off-by: Raymond Beehler <21GunSoftware@comcast.net>
Merge pull request #1973 from R-T-B/master

Added SpoutPlayer positional saving.
Only pings regions when the sequence numbers match
Added lighting tick stage, after physics and dynamic updates have settled down
Added check that entities are in a loaded region when loading chunks
Removed blocking of chunk unload for regions without entities
Redundant cast and variable creation.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Prevents NPE on startup due to writer being read by the log flush thread before being set
Only set chunkLive/entityManagerLive if position changes. This does need to be fixed better.
Signed-off-by: Chris Sanders <zidane@outlook.com>
Add method to get completion manager and use SyncedRootCommand

Signed-off-by: zml2008 <zach@zachsthings.com>
Input

Signed-off-by: Jack Huey <kitskub@gmail.com>
Merge pull request #1971 from kitskub/input

Making input work
When an exception is thrown in addPlayer, we still need to connect ;).

(Note this may have broken input but login is stable again).

Signed-off-by: Chris Sanders <zidane@outlook.com>