Wesley Wolfe
b00de5f176
Cleaned up CraftBukkit comments in NMS.
...
Added newlines at the end of files
Fixed improper line endings on some files
Matched start - end comments
Added some missing comments for diffs
Fixed syntax on some spots
Minimized some diff
Removed some no longer used files
Added comment on some required files with no changes
Fixed imports of items used once
Added imports for items used more than once
2012-07-23 23:55:31 -05:00
Steve Anton
8b9aad8c2b
Add remaining missing setLastDamageCause's
2012-07-14 17:57:31 -05:00
feildmaster
00efc8c464
Apply setLastDamageCause after processing events and the event has not been canceled. Fixes BUKKIT-1881
...
This allows previous causes to be available during the event, as well as making the damage cause a valid one. If EntityDamageEvent is canceled, then it's not the last DamageCause.
Also prevents setting DamageCause involuntarily through construction.
2012-07-02 22:22:03 -05:00
Travis Watkins
a21f038fc3
Mark entities as invalid when they get despawned. Addresses BUKKIT-810
2012-06-28 19:34:31 -05:00
EvilSeph
8f6fe0a643
Rework clipping logic again, now works as well as the original implementation
2012-04-21 00:45:30 -04:00
Warren Loo
c100e20d60
Reverting the Drop API for now, we need to re-evalute this as it is causing too many issues and blocking releases.
...
This reverts commits:
- d2d03afc8854394aeefb40ea5ebf224c8032b19f
- 6245746e91123dd8ef70e5f15b7cdfc7e36d8e8c
- 41fae5c613e9e69a8f6bdf33b23bb09d7f407433
- c34bdecab42cf4098054a5ea43e1c2958d44ae92
- d7445084ac9a90fa0b66d8b050b8d0d2a062eaf3
- 6a6ed2e6ae2328a8a791bcc6857c44dc6c6a7030
- a783bc4dc95da8e26c673abe48fad96b550aba28
- cb50fd68766df8e07631ba5be85759f8257e8068
- 34dfff2ad5c407c712b2783f02960aac5e8649f2
- f33b513820de987b49a4338e85df80968217a601
- 5fd9fdfde055e6eb6a83db246d009b69377b7c94
- 2795b116f40d06551fbb7b96d1963c0ddbeac384
2012-03-27 20:04:26 -04:00
Nathan Adams
9d09e7d016
Updated to Minecraft version 1.2.4. Updated version string to 1.2.4-R0.1.
2012-03-22 20:39:39 +00:00
Celtic Minstrel
5ba8928041
[Bleeding] Added getting and setting drops to all appropriate events. Fixes BUKKIT-397 and fixes BUKKIT-1252
...
- Allows drops in creative mode by adding items to the getDrops() list
- Contents of containers are not reported
- Contents of storage minecarts are not reported
2012-03-21 12:42:51 -04: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
EvilSeph
0a52fd372a
Fixed VehicleBlockCollisionEvent returning the wrong block. Fixes BUKKIT-396
2012-02-08 06:18:04 -05: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
b0ab686964
Avoid some avoidable calls, clean PluginManager accessors
2011-12-19 18:32:35 +11:00
Sam Wilson
a7744ac751
Prevent VehicleEnterEvent being sent when player exits vehicle.
...
Fix for BUKKIT-223.
Issue BUKKIT-223: When a player exits a minecart or boat, both a
VehicleExitEvent and a VehicleEnterEvent are fired. Only the
VehicleExitEvent should fire.
Reason for bug: This occurs because the VehicleEnterEvent is fired in
EntityBoat.b and EntityMinecart.b *any* time a player right-clicks on
a vehicle, whether the right-click is to enter the vehicle or exit it.
Fix: By moving the creation of VehicleEnterEvents from EntityBoat.b
and EntityMinecart.b to Entity.setPassengerOf, we can create either a
VehicleEnterEvent or a VehicleExitEvent, depending on whether the
player is entering or exiting a vehicle.
2011-12-19 18:22:38 +11: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
ba608f55e4
Remove expensive debugcalls from production code
2011-11-26 18:27:39 +01:00
Erik Broes
345ea36c7b
Update for 1.0.0
2011-11-20 00:01:33 -08:00
Dinnerbone
0118a20d6a
Update to mcdev rename revision 01 for 1.8.1
2011-09-24 22:05:22 +01:00
Dinnerbone
2b5a61f03d
Rename revision 2
2011-09-15 17:39:17 +01:00
Dinnerbone
ca57a1a1af
1.8 rename fixes
2011-09-15 04:44:32 +01:00
Dinnerbone
5b2c774edc
Update for Minecraft 1.8
2011-09-15 01:23:52 +01:00
Erik Broes
f7712eb20c
Deprecated Block.getFace(Face) and Block.getFace(Face,int); use getRelative()
2011-07-17 18:14:45 +02:00
sunkid
30a382a6dc
Made ProjectileHitEvent fire instantly when projectiles don't hit entities.
2011-07-14 22:37:31 -04:00
Warren Loo
eb19e4e8dc
Fixed uuid code that was prematurely pushed.
2011-07-13 02:19:56 -04:00
Tahg
d0f904fc50
uuid changes
2011-07-13 00:06:07 -04:00
Dinnerbone
2f218ba6b1
Update for 1.7.3
2011-07-08 13:25:53 +01:00
Rigby
9ced39421f
Implements a World UID.
2011-07-07 14:20:05 -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
Rigby
0ef0bdb61c
I'm sorry Paintings... please come back...
2011-06-19 09:05:28 +08:00
EvilSeph
105cc5393c
Forgot to account for code shuffling with player.dat fixes.
2011-06-17 08:59:03 -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
EvilSeph
a98f4f8934
Fixed not being able to login if the world saved in your player.dat no longer exists. Thanks for the help Rigby and Verrier!
2011-06-10 05:45:17 -04:00
Tahg
5296f97cde
Portal changes.
2011-06-08 16:57:46 -04:00
EvilSeph
17c361a5e4
Exempt Vehicles from Entity.java's sanity check
2011-06-07 04:25:19 -04:00
EvilSeph
d33c06ead2
Added UniqueId to entities. Thanks Afforess!
2011-06-07 04:21:33 -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
sk89q
f463453d73
Fixed issue where the Bukkit entity was detected before the entirety of the entity's NBT data was read, causing affected entity types to not be differentiated correctly.
2011-05-23 19:42:30 -07:00
Erik Broes
309846d732
Whitespace + general cleanup
2011-05-15 13:41:46 +02:00
EvilSeph
0740e0c777
Fixes the whitescreen issue some people were having.
2011-04-24 20:16:01 -04:00
EvilSeph
5dfe732f18
Added reset for pitch/yaw if they are somehow set to NaN.
2011-04-23 04:18:00 -04:00
Dinnerbone
0586e04981
Implemented LIGHTNING damage
2011-04-21 17:29:35 +01:00