Commit Graph

1122 Commits

Author SHA1 Message Date
Erik Broes
75ac4e00b2 Cancel bed return method if entity is ignoring sleep. Thanks to EdGruberman. 2011-09-23 21:05:23 +02:00
Erik Broes
a2957c7b8f Stop sending multiple time packets to each client 2011-09-23 20:20:18 +02:00
EvilSeph
e08535d688 Fixed FoodLevelChange event adding too much to the food level. 2011-09-22 15:53:39 -04:00
EvilSeph
a7717d4d79 Added RegainReason.SATIATED.
This reason is used when a player regains health from generating due to their hunger being satisfied.
2011-09-22 01:36:31 -04:00
EvilSeph
aa0739d90a Added FoodLevelChange event. 2011-09-21 22:13:54 -04:00
EvilSeph
8d5a8667de Made death message handling check for 'null' to disable death messages, along with an empty string. 2011-09-21 18:02:59 -04:00
EvilSeph
217b414118 Added EntityDamageEvent for caused by starving. 2011-09-21 17:11:06 -04:00
Rigby
e6e9cec1e9 Added PlayerToggleSprint event and sprinting related API. 2011-09-21 16:25:26 -04:00
Rigby
1da2d1f5b6 Implements the ability to customise and remove Player death messages. 2011-09-21 16:55:27 +01:00
Dinnerbone
59908c43c9 Ok, this'll have to do for exp orbs. 2011-09-21 16:28:46 +01:00
Dinnerbone
02f6e99d9e Let's swap that around. More results! 2011-09-21 16:12:11 +01:00
Dinnerbone
5a8ec0cb9d This should reduce the amount of exp-orbs quite a bunch 2011-09-21 16:07:19 +01:00
Dinnerbone
20ddc944bb Refactored a bunch of death code into the event factory 2011-09-21 15:41:24 +01:00
Tahg
751ab82be0 stopgap build - mostly stable 2011-09-21 08:38:41 -04:00
Tahg
f6ab0f8611 more chest checks 2011-09-21 05:01:44 -04:00
Tahg
75e18f304a better chest fix 2011-09-21 04:26:05 -04:00
Tahg
d06d111b94 fix for stair data 2011-09-21 01:40:18 -04:00
EvilSeph
905b977670 Added getBedSpawnLocation to CraftPlayer. Thanks fernferret! 2011-09-20 23:44:44 -04:00
EvilSeph
3f04f04be6 Added/updated EntityDeathEvents to reflect changes to the Vanilla spec. 2011-09-20 23:44:44 -04:00
EvilSeph
0a52c7f334 Made health regeneration only occur if difficulty is set to 0 (Peaceful). 2011-09-20 23:44:43 -04:00
Dinnerbone
e4d58faf5b Fixed NPE when players are killed by (for example) dispensers 2011-09-21 00:50:35 +01:00
Dinnerbone
a0216584b0 Return OfflinePlayer for offline wolf tamers. Thanks robinjam 2011-09-20 19:10:06 +01:00
Dinnerbone
2d1d86b77e Fixed endermen not loading carried-data properly 2011-09-20 18:52:37 +01:00
Wizjany
2ae6b431b3 Added event for endermen picking up and placing blocks and methods to get/set what an enderman is holding. 2011-09-20 18:49:47 +01:00
EvilSeph
167febd8e6 Fixed allow-animals not applying to chunk generation.
Moved the legitimacy checking into World.addEntity for better organisation and to better account for future methods being added that control whether or not an entity should spawn.
2011-09-20 01:20:05 -04:00
Dinnerbone
d01a3acd82 Added missing //cb comments from dfa9c9bccb7feac44824c146d2dc11874b50b19d 2011-09-19 22:06:38 +01:00
Dinnerbone
5b68bae02e Fixed NPE when people experience the chest crash 2011-09-19 21:58:47 +01:00
Dinnerbone
914a8a0c04 Nullchex! 2011-09-19 14:26:46 +01:00
Erik Broes
9954a3d8b4 Missed closing the comment block -- doh 2011-09-18 14:26:26 +02:00
Erik Broes
a4355d4bd9 Remove pingpacket updating completely for now -- this needs a better fix, the default original implementation has a hug bug 2011-09-18 13:11:17 +02:00
sunkid
af6ba0f026 implementation of PlayerGameModeChangeEvent call 2011-09-18 11:19:08 +02:00
Dinnerbone
65052c8a59 Workaround for crash when chests mix up with furnaces - need to investigate cause 2011-09-18 11:19:03 +02:00
Mike Primm
3f4ee9ab56 Added support back in for biome temperature and rainfall in snapshots. 2011-09-17 17:12:44 -04:00
Tahg
5534efd66f painting fix 2011-09-17 16:47:33 -04:00
Dinnerbone
f5957c1831 Invalid position errors for chunks now display what world they're for 2011-09-17 14:53:14 +01:00
Erik Broes
0ae6e11761 Fix silly infiniteloop in pingpacket 2011-09-17 14:35:48 +02:00
EvilSeph
e83a197567 Removed extra addEntity call in SpawnerCreature. 2011-09-17 02:26:40 -04:00
EvilSeph
392e2a4272 Implemented configurable ping packet limit. 2011-09-16 22:26:49 -04:00
EvilSeph
096672b3c1 Added toString overrides to new Craft entities. 2011-09-16 22:26:11 -04:00
EvilSeph
820c51ab97 Added new entity mappings to CreatureSpawnEvent factory. 2011-09-16 20:10:49 -04:00
Tahg
fb26465c58 passive fix for chests (add an active fix later) 2011-09-16 16:25:16 -04:00
Dinnerbone
bd93cd7182 Fixed not being able to move properly around doors or trapdoors 2011-09-16 21:08:47 +01:00
Dinnerbone
900c541246 Bunchafixes which may or may not have any end result 2011-09-16 20:10:11 +01:00
Dinnerbone
94d1338feb Fix for doors breaking themselves in certain situations 2011-09-16 13:57:05 +01:00
EvilSeph
88e57fbf2d Fixed bow drawback not affecting arrow damage. 2011-09-16 07:11:48 -04:00
Rigby
456ce51711 More latency handling fixes.
Fixed Clientside rendering issues of the PlayerInfo window if max players > 126.
Limited PlayerInfo packets to 126 at a time as it cannot render anymore than 126.
2011-09-16 06:02:06 -04:00
EvilSeph
76493f9c76 Fixed fall distance accumulating while being in Creative mode. 2011-09-16 05:48:05 -04:00
EvilSeph
72e5ea6cc3 Fixed NPE when a client queries a server that is unable to handle it. 2011-09-16 05:32:25 -04:00
EvilSeph
85c0c1bb51 Fixed the client having an incorrect world seed on respawn/teleporting across worlds. 2011-09-16 05:19:07 -04:00
EvilSeph
f8d36cd09c Fixed food data not persisting appropriately. 2011-09-16 05:19:06 -04:00