626 Commits

Author SHA1 Message Date
Shoghi Cervantes
01ffb14e39 Fixed #2204 2014-10-31 17:34:45 +01:00
Shoghi Cervantes
ce989876af Improved freeing chunks 2014-10-31 16:39:32 +01:00
Shoghi Cervantes
f8d6ebabf3 Removed some calls 2014-10-31 15:57:07 +01:00
Shoghi Cervantes
7ab3c57b00 Optimized networking code & AxisAlignedBB 2014-10-30 22:06:07 +01:00
Shoghi Cervantes
673b867ee8 Fixed players not loading chunks when stuck on a unloaded chunk 2014-10-30 20:05:40 +01:00
Shoghi Cervantes
8cb9dd9a14 Fixed #2244 2014-10-29 22:58:40 +01:00
Shoghi Cervantes
022a978ffb Added InventoryPickupArrowEvent 2014-10-29 16:29:00 +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
78f8d0280d Removed unused imports 2014-10-29 01:14:09 +01:00
Shoghi Cervantes
7eed92e8fb Use Player->forceMovement on MovePlayerPacket non-tick revert 2014-10-29 00:31:17 +01:00
Shoghi Cervantes
f772391866 Fixed InventoryPickupItemEvent 2014-10-28 22:05:54 +01:00
Shoghi Cervantes
8c4faa8622 Added extra Exceptions 2014-10-28 21:07:12 +01:00
Shoghi Cervantes
b6f7ee20fc Added Error -> Exception handling 2014-10-28 20:43:36 +01:00
Shoghi Cervantes
0fce83c671 Fixed #2189 2014-10-28 13:27:30 +01:00
Shoghi Cervantes
8080643cc9 Fixed plugins crashing the server when teleporting players on an invalid event 2014-10-28 13:18:40 +01:00
Shoghi Cervantes
5bf2174cad Fixed UseItemPacket being able to be sent before spawning 2014-10-28 13:16:20 +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
a5b85c549a Added Snowballs 2014-10-28 12:13:31 +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
a5a3f4801a Fixed entities not getting ticks on movement 2014-10-27 15:53:14 +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
8f7dfe0b71 Removed extra ; from if, fixes #2205 2014-10-21 18:37:29 +02:00
Shoghi Cervantes
ef97efcd96 Added explosion death message 2014-10-20 13:00:03 +02:00
Shoghi Cervantes
e3e97a4205 Improved Player->onGround checking 2014-10-20 12:52:00 +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
1c03c3afcf Decreased chunk ordering times 2014-10-17 09:57:18 +02:00
Shoghi Cervantes
94e9485be9 Improved broadcast packet encoding 2014-10-17 09:36:47 +02:00
Shoghi Cervantes
7760559be1 Improved chunk loading and order refresh times 2014-10-16 20:21:06 +02:00
Shoghi Cervantes
163a37ee23 Optimized Player->orderChunks() and chunk sending ordering algorithm 2014-10-16 14:54:55 +02:00
Shoghi Cervantes
c73a3e53be Added extra Entity metadata 2014-10-16 12:49:45 +02:00
Shoghi Cervantes
5dc5aba42c Match Player pickup area with Minecraft 2014-10-15 14:57:12 +02:00
Shoghi Cervantes
b71a4701d9 Fixed player using an invalid spawn chunk 2014-10-15 11:40:41 +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
464afb949e Increased Player->forceMovement check radius 2014-10-13 23:44:28 +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
79e4b3e3a9 Removed old Player->timeout property 2014-10-12 17:12:59 +02:00
Shoghi Cervantes
6246ad19c4 Added global block cache 2014-10-12 16:16:19 +02:00
Shoghi Cervantes
ebb844fa52 Removed unused code, fixed undefined variables 2014-10-11 22:22:51 +02:00
Shoghi Cervantes
48f591e5ce Removed workaround on flying check due to physics calculation fix, closes #2169 2014-10-11 16:43:14 +02:00
Shoghi Cervantes
341717c89d Increased Player->stepHeight to 0.6, closes #2156 2014-10-11 16:36:17 +02:00
Shoghi Cervantes
afdf7bc2b9 Added proper TextWrap width 2014-10-11 00:17:31 +02:00
Shoghi Cervantes
645c00b2f7 Added TextWrapper 2014-10-11 00:01:53 +02:00
Shoghi Cervantes
8b585fd9f7 Deprecated Level->getSpawn() in favor of Level->getSpawnLocation() 2014-10-10 11:43:54 +02:00
Shoghi Cervantes
eccf7b08d2 Added PlayerDeathEvent methods for inventory keeping 2014-10-09 11:06:05 +02:00