Commit Graph
27 Commits
Author SHA1 Message Date
Andrew Ardill b1a3aa602a Clean-up some events to maintain general style 2011-12-05 19:23:40 +11:00
Andrew Ardill 9455ff1777 cleanup of projectiles 2011-11-29 21:30:37 +11:00
Erik Broes 345ea36c7b Update for 1.0.0 2011-11-20 00:01:33 -08: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
sunkid 7d4ec8b183 Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent. 2011-07-28 01:51:09 -04:00
sunkid 30a382a6dc Made ProjectileHitEvent fire instantly when projectiles don't hit entities. 2011-07-14 22:37:31 -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
sunkid 155874eec9 Implemented the concept of a projectile. 2011-06-18 22:21:02 -04: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
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
Dinnerbone 87c36febeb Updated to Minecraft version 1.4 2011-03-31 21:40:00 +01:00
Erik Broes 09aa37fe4a Generic code cleanup 2011-02-23 14:12:33 +01:00
Dinnerbone f759e0b60d Update to Minecraft 1.3 beta 2011-02-23 02:37:56 +00:00
Dinnerbone f659231e34 N.M.S cleanup in preparation for update 2011-02-21 22:30:01 +00:00
Erik Broes da00e2e3a9 Fixed rogue chmods 2011-01-30 20:18:15 +01:00
Erik Broes b2a0c5a2ae Reworked getEntity; Hi instanceof, bay 16 classes 2011-01-30 16:15:24 +01:00
Erik Broes df69047324 Port to new mc-dev format. 2011-01-30 13:24:39 +01:00
Andrew Ardill 1cbde901ba Entity audit. Adds checks for null entities, and adds conformity. 2011-01-21 16:54:30 +11:00
Andrew Ardill 11de6b91da Fixes to projectile events to check for null entities. 2011-01-20 20:26:19 +11:00
Andrew Ardill 26a590f030 fixed imports on all Entities 2011-01-18 17:16:05 +11:00
Andrew Ardill 5f2c8108b7 Updates to all Entities to use getBukkitEntity() any time an event is
raised.
Similar update to CraftVehicle and CraftLivingEntity
2011-01-18 00:13:32 +08:00
Andrew Ardill 2de3e2e7e4 created getBukkitEntity() in minecraft.server.Entity
This returns a protected field that is set in the constructor of each
minecraft.server.Entity to a new CraftEntity of some specific type.
2011-01-18 00:13:31 +08:00
Andrew Ardill ceaf94d5bb Implementation of the EntityDamage*Events.
Many files were added to enable the correct hooking of these events, and a new
event EntityDamageByProjectileEvent. EntityDamageByProjectileEvent adds the
ability to get the projectile entity (such as an egg) and also set if the
projectile 'bounces'. Only two projectiles currently respond to bouncing, Arrow
and Fish - were if the fish bounces it means the fish is not hooked. Bouncing
is independent of any damage caused via the event. In addition, the changes to
EntityDamageEvent that enable setting post-event damage were implemented in all
hooks.

Finally, a bug in CraftArrow was fixed, where the constructor was not declared public.
2011-01-16 14:14:30 +01:00