Commit Graph

179 Commits

Author SHA1 Message Date
Shoghi Cervantes
1ac7f9f061 Removed player foreach on Entity 2015-03-12 15:58:10 +01:00
Shoghi Cervantes
44dfb59409 Fixed Entity->setMotion() for Players 2015-03-12 11:43:50 +01:00
Shoghi Cervantes
2175d7922a Updated packet order, removed player entity id as 0 2015-03-12 11:43:50 +01:00
Shoghi Cervantes
bb71a3c4a6 Added Entity->fastMove() for players and direct-controlled entities, improved speed checking 2015-02-22 21:16:05 +01:00
Shoghi Cervantes
116ede3679 Improved flight detection, added Entity->resetFallDistance(), closes #2632 2015-02-15 17:40:17 +01:00
Shoghi Cervantes
63f1a50be4 Added new predictive flight protection 2015-01-14 23:47:01 +01:00
Shoghi Cervantes
83360187c9 Removed fence classes, added fence damage (¬¬ Mojang) 2015-01-08 17:51:29 +01:00
Shoghi Cervantes
d4e4430df0 Fixed Entities being placed in recreated chunks 2015-01-06 18:45:08 +01:00
Shoghi Cervantes
7a0118820c Improved chunk saving times by not marking it as changed when Players are added/removed 2015-01-04 23:07:08 +01:00
Shoghi Cervantes
074c8b876d Cleaned up code 2015-01-03 16:07:49 +01:00
Shoghi Cervantes
04bdb13103 Improved move offset check 2015-01-02 19:14:18 +01:00
Shoghi Cervantes
5fffabe05b Fixed players not calculating onGround correctly 2015-01-02 01:22:33 +01:00
Shoghi Cervantes
c81bbdaaa9 Possible fix for #2394 2014-12-12 12:05:36 +01:00
Shoghi Cervantes
312e064b07 Updated RakLib, changed some Entity move AABB calls 2014-12-11 17:39:59 +01:00
Shoghi Cervantes
ea8f10efa4 Limited death animation to Living entities 2014-12-09 14:57:28 +01:00
Shoghi Cervantes
ddfc9d9ce1 Fixed players not getting sound when they are harmed 2014-12-09 02:22:42 +01:00
Shoghi Cervantes
a4735eaf76 Replaced some instanceof to null checks 2014-12-09 02:22:18 +01:00
Shoghi Cervantes
306f492fc0 Added Player death animations, improved spawning behavior to correct invisible players, fixed players getting stuck when dead, closes #2304 2014-12-09 01:36:46 +01:00
Shoghi Cervantes
a98da3bab1 Renamed old getID() calls to getId() 2014-12-07 15:21:32 +01:00
Shoghi Cervantes
af82d616c1 Block creating and property handling rewrite, part2 2014-12-07 02:20:26 +01:00
Shoghi Cervantes
add7879720 Implemented no damage ticks 2014-12-05 02:24:08 +01:00
Shoghi Cervantes
1963d8fde0 Change last X/Y/Z/Yaw/Pitch on teleport 2014-11-30 12:49:35 +01:00
Shoghi Cervantes
a72488d41e Updated player movement processing and event handling 2014-11-29 12:43:34 +01:00
Shoghi Cervantes
38089af098 Improved global entity motion encoding using per-player queues 2014-11-27 14:26:36 +01:00
Shoghi Cervantes
9fd6a695f6 Fixed permission-related memory leak 2014-11-18 13:42:24 +01:00
Shoghi Cervantes
7e1095e28d Reenabled collision against entities on move 2014-11-06 12:57:17 +01:00
Shoghi Cervantes
cc7f12739d Added vertical and horizontal collision detection to Entities 2014-11-04 12:23:42 +01:00
Shoghi Cervantes
8fd6582e74 Automatically set Entity / Tile entity save identifiers 2014-11-04 12:04:08 +01:00
Shoghi Cervantes
75c0d8324c Fixed some inventory events not firing on players 2014-11-02 13:26:58 +01:00
Shoghi Cervantes
4d97827d44 Improved level switching for players 2014-11-01 17:39:09 +01:00
Shoghi Cervantes
7c361a52d2 Fixed #2252 2014-11-01 13:52:20 +01:00
Shoghi Cervantes
4569a73f3d Fixed Entity being set position after being closed 2014-10-31 23:10:29 +01:00
Shoghi Cervantes
8601405a88 Fixed CPU leak 2014-10-31 21:07:00 +01:00
Shoghi Cervantes
ce989876af Improved freeing chunks 2014-10-31 16:39:32 +01:00
Shoghi Cervantes
7ab3c57b00 Optimized networking code & AxisAlignedBB 2014-10-30 22:06:07 +01:00
Shoghi Cervantes
57d1847c50 Updated to receive new optimizations 2014-10-30 16:02:48 +01:00
Shoghi Cervantes
8a768cea33 EntityDamageEvent and children now only fire if the attack is possible, moved event trigger to Entity->attack() 2014-10-29 16:02:40 +01:00
Shoghi Cervantes
289bc56b4b Blocks now save their bounding box, fixed entity block collision check 2014-10-29 15:43:23 +01:00
Shoghi Cervantes
6f64af3066 Reuse even more objects! 2014-10-29 14:23:51 +01:00
Shoghi Cervantes
cbe0fe5e46 Added Entity->onGround setting when entities keep moving without checks 2014-10-29 00:41:13 +01:00
Shoghi Cervantes
8c4faa8622 Added extra Exceptions 2014-10-28 21:07:12 +01:00
Shoghi Cervantes
34ae760def New way to spawn entities/tiles using a global register table, allow overriding default entity/tile classes via classes 2014-10-28 13:09:27 +01:00
Shoghi Cervantes
350cee3d41 Added Event allocation pool, updated SPL with Class::onClassLoaded() 2014-10-28 10:47:40 +01:00
Shoghi Cervantes
144a871c07 Improved Vector3 and Block handling, less allocation on Positions 2014-10-28 10:03:10 +01:00
Shoghi Cervantes
db82f76c11 Improved network packets allocation 2014-10-27 20:30:33 +01:00
Shoghi Cervantes
7abf52e615 Implemented Vector3 List and AxisAlignedBB Pool to decrease object allocation 2014-10-27 15:39:20 +01:00
Shoghi Cervantes
580ade9092 Possible fix for entities not closing correctly 2014-10-21 19:26:16 +02:00
Shoghi Cervantes
e3e97a4205 Improved Player->onGround checking 2014-10-20 12:52:00 +02:00
Shoghi Cervantes
fec387d2ec Fixed entities not being pushed out of blocks 2014-10-20 12:37:17 +02:00
Shoghi Cervantes
15de0eece7 Improved inventory and window allocation, fixes #2200 2014-10-20 09:48:11 +02:00