217 Commits

Author SHA1 Message Date
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
Shoghi Cervantes
2f8267aa1e Improved Level object deallocation 2014-10-19 20:45:03 +02:00
Shoghi Cervantes
94e9485be9 Improved broadcast packet encoding 2014-10-17 09:36:47 +02:00
Shoghi Cervantes
c73a3e53be Added extra Entity metadata 2014-10-16 12:49:45 +02:00
Shoghi Cervantes
9b85abd75e Micro-optimizations 2014-10-15 10:44:01 +02:00
Shoghi Cervantes
18f6bad48d Implemented scheduled and partial entity updates 2014-10-14 22:49:35 +02:00
Shoghi Cervantes
43a97c407d New PlayerMoveEvent, improved player movement event firing 2014-10-14 16:10:50 +02:00
Shoghi Cervantes
6e8144d5d9 Improved player movement event firing & corrections 2014-10-14 00:11:17 +02:00
Shoghi Cervantes
b26ee09f76 Removed a bunch of TODO and fixed item drops on block update 2014-10-13 18:54:34 +02:00
Shoghi Cervantes
8472349caf Improved global block cache 2014-10-12 17:02:27 +02:00
Shoghi Cervantes
6246ad19c4 Added global block cache 2014-10-12 16:16:19 +02:00
Shoghi Cervantes
0af3dfedd5 Improved Living entity ticking 2014-10-11 17:35:13 +02:00
Shoghi Cervantes
6f1f201c41 Workaround for entities glitching through the floor on the client-side 2014-10-11 17:02:41 +02:00