13
0
geforkt von Mirrors/Paper
Commit graph

61 Commits

Autor SHA1 Nachricht Datum
feildmaster
77ef051095 [Bleeding] Added new target events. Fixes BUKKIT-935 2012-03-10 02:08:33 -05:00
Nathan Adams
543c4879fe Updated CraftBukkit to 1.2 2012-03-01 14:38:31 +00:00
Erik Broes
33ba9f0a2f Updated to rename revision 02 2012-03-01 01:12:41 +00:00
Celtic Minstrel
0842bab48b [Bleeding] Implementation of inventory framework. Addresses BUKKIT-856
See the corresponding Bukkit commit for details.

Implementation details:
- Any packets that include an itemstack will send air stacks as null; maybe this will even eliminate the client crash that occurs if the client receives an air stack
- Better handling of null itemstacks in general (ie less converting them to air stacks)
- Inventory.setContents() can now take an array smaller than the inventory without error
- Player.updateInventory() should now correctly update the result slot in a crafting inventory

Some small credit goes to Afforess (initial implementation of openInventory() methods) and Drakia (initial implementation of InventoryOpenEvent and InventoryCloseEvent).
2012-02-29 15:19:07 -05:00
EvilSeph
56741552e5 Made damaging EntityEnderCrystals fire EntityDamageByEntity. Fixes BUKKIT-724 2012-02-09 23:31:10 -05:00
Feildmaster
fa6fd24f2a [Bleeding] Handle EntityHuman attack a bit more properly. 2012-02-09 20:17:03 -05:00
Nathan Adams
b0f29b1755 Throw PlayerLevelChangeEvent and PlayerExpChangeEvent events. Thanks to feildmaster for the PR. 2012-01-19 16:07:18 +00:00
Erik Broes
a4ce846d07 Fix formatting. 2012-01-15 10:54:57 +01:00
Erik Broes
61ec751ca1 Update for 1.1_01 renames.
We know these updates (can) break plugins bypassing Bukkit. They are needed for
smooth updates however. There will be another one right before before 1.1-R1.
2012-01-15 10:52:37 +01:00
Erik Broes
7219d4dd85 Updated to Minecraft 1.1 2012-01-12 23:10:13 +01:00
Nathan Adams
897551e39e Update to mc-dev rename revision 01 2012-01-12 15:27:39 +00:00
Erik Broes
7f079a0cd6 Fix CraftBukkit comments. 2012-01-12 12:07:38 +01:00
Andrew Ardill
67dbe71bd9 Fix calling CombustEvent caused by enchantment
The CombustEvent created when an Entity attacks with a fire enchanted weapon
was never raised through the plugin manager. Thanks for pointing it out
EdGruberman!
2012-01-09 10:46:07 +11:00
sunkid
066a95769c fixed double firing of EntityDamageByEntityEvent 2011-12-27 20:21:28 +01:00
Andrew Ardill
b1a3aa602a Clean-up some events to maintain general style 2011-12-05 19:23:40 +11:00
Nathan Adams
8fbe78a2c3 Updated to use mc-dev rename revision 1 2011-11-30 21:46:19 +00:00
Andrew Ardill
3da00ee41a Implementation of reworked EntityCombustEvents
Also includes some extra comments, and a refactoring of the
PaintingBreakByEntity event that is raised when lighting strikes a painting.
2011-11-29 18:20:21 +11:00
Erik Broes
345ea36c7b Update for 1.0.0 2011-11-20 00:01:33 -08:00
Nathan Adams
fd57c7111c Fixed fauxSleeping check on leaving bed 2011-10-11 02:38:32 +01:00
EvilSeph
d532136903 Fixed bed spawns for multiworld worlds. Thanks Meaglin! 2011-10-01 13:37:20 -04:00
Dinnerbone
79e7ae85dd Swapped an =="" for "".equals in EntityHuman 2011-09-25 01:36:05 +01:00
Dinnerbone
0118a20d6a Update to mcdev rename revision 01 for 1.8.1 2011-09-24 22:05:22 +01:00
Erik Broes
75ac4e00b2 Cancel bed return method if entity is ignoring sleep. Thanks to EdGruberman. 2011-09-23 21:05:23 +02:00
EvilSeph
0a52c7f334 Made health regeneration only occur if difficulty is set to 0 (Peaceful). 2011-09-20 23:44:43 -04:00
Dinnerbone
2b5a61f03d Rename revision 2 2011-09-15 17:39:17 +01:00
Dinnerbone
5b2c774edc Update for Minecraft 1.8 2011-09-15 01:23:52 +01:00
EvilSeph
1e8bbbfbd5 Fixed PlayerDropItem event cancelling. 2011-08-27 01:18:36 -04:00
sunkid
7d4ec8b183 Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent. 2011-07-28 01:51:09 -04:00
EvilSeph
8a521ec629 Added reasons for entities regaining health. 2011-06-30 13:42:18 -04:00
Dinnerbone
a679e7f380 Update to Minecraft 1.7 2011-06-30 15:19:25 +01:00
Erik Broes
a98c7ba2c7 Massive renaming update in nms. If you bypassed Bukkit, you will likely break.
Also minimized all the nms diffs and generic cleanups all around.
2011-06-27 00:47:03 +02:00
EvilSeph
ff67eda4c4 Fixed players not healing in other worlds when spawn-monsters is false. 2011-06-22 12:52:02 -04:00
EvilSeph
a6e5c97223 Fixed losing an infinite item when interacting with an entity. Thanks for the help Rigby! 2011-06-19 04:25:57 -04:00
EvilSeph
b292a9dfbc Added more events for Wolves. Thanks Deaygo!
Added events for when wolf owner attacks an entity, or is attacked. Also added event for when a non-tame wolf targets a sheep.
2011-06-18 22:37:52 -04:00
Rigby
0c56bfb62f Possible Player.dat fixes to address issues with switching between Vanilla and Bukkit or vice versa. 2011-06-17 01:00:19 -04:00
Erik Broes
96b1b8a10c Generic cleanup 2011-06-12 00:30:52 +02:00
Tahg
ca0711fdb3 fixed support for multiworld beds 2011-06-09 09:46:55 -04:00
Tahg
5296f97cde Portal changes. 2011-06-08 16:57:46 -04:00
EvilSeph
6bd509ebde Fixed durability changing regardless of whether or not damage was successful. Thanks Xolsom!
Note: Plugins may need to update the client to keep it in synch.
2011-06-07 01:00:30 -04:00
EvilSeph
ef9295707a Fixed entity damaged by entity event firing twice when players damage each other. Thanks Xolsom! 2011-06-07 00:57:36 -04:00
Erik Broes
62b5da4e3a Update for 1.6.6 2011-05-31 15:56:05 +02:00
Erik Broes
6dbd710bbf Update for 1.6.5 2011-05-30 22:37:34 -04:00
Dinnerbone
6903f20242 Implemented 1.6! 2011-05-26 13:48:22 +01:00
EvilSeph
8de2b52a02 Removed double firing of EntityDamage events by arrows. Thanks sunkid! 2011-05-16 00:04:40 -04:00
Erik Broes
309846d732 Whitespace + general cleanup 2011-05-15 13:41:46 +02:00
Erik Broes
a6c8a36dce Update for 1.5_02. 2011-04-21 04:25:46 -04:00
Erik Broes
483a878b8b Update for 1.4_00_01 -- if you bypassed Bukkit, you will most likely break. 2011-04-20 19:05:14 +02:00
sk89q
8de85b8afb Fixed potential NPE with bed leave event. 2011-04-11 17:07:20 -07:00
sk89q
86c467cb50 Fixin' the problem of AFK people not in bed. 2011-04-11 11:48:31 -07:00
sk89q
27d3396a35 Added bed events and methods. 2011-04-07 11:26:51 -07:00