Commit Graph
54 Commits
Author SHA1 Message Date
Nathan Adams f1f9802ded Implemented new 1.2 entities - this fixes BUKKIT-872 and BUKKIT-885 2012-03-01 18:03:14 +00:00
Erik Broes 33ba9f0a2f Updated to rename revision 02 2012-03-01 01:12:41 +00:00
TomyLobo 53e4a034f4 Moved getVehicle, leaveVehicle and isInsideVehicle from CraftLivingEntity to CraftEntity. Addresses BUKKIT-811 2012-02-29 13:30:46 -05:00
rmichela 1394926e53 [Bleeding] Implement Metadata framework for Entities, Blocks, and Worlds 2012-02-29 19:21:25 +01:00
Erik Broes a4ce846d07 Fix formatting. 2012-01-15 10:54:57 +01:00
Nathan Adams d73c29aad7 Implemented entity.playEffect. Thanks to main-- 2012-01-14 17:36:47 +00:00
Nathan Adams 52c526f313 Small optimization in EntityPlayer by caching the hashcode. Thanks to a very old PR by Belphemur. In addition, changed and slightly improved the hashcode formula for entities 2012-01-14 15:01:44 +00:00
Nathan Adams 897551e39e Update to mc-dev rename revision 01 2012-01-12 15:27:39 +00:00
Nathan Adams 1185ca75fc Fixed player teleporting not working with a certain method. This fixes BUKKIT-198 2011-12-04 13:22:31 +00:00
Nathan Adams 55a532c251 Indicate when a teleport event was triggered by ender pearls or unknown internal teleports 2011-12-04 11:04:14 +00:00
Andrew Ardill c298c104ea Remove unused import 2011-12-02 21:38:50 +11:00
Nathan Adams 8fbe78a2c3 Updated to use mc-dev rename revision 1 2011-11-30 21:46:19 +00:00
Andrew Ardill 2759809ecb Fix Craft Entity constructors and toStrings.
Also, standardise getHandle and clean up in general.
getHandle is now using the 'entity' member variable instead of
super.getHandle, as this reduces the number of chained calls needed.
2011-11-29 21:22:35 +11:00
Andrew Ardill 89338db181 BUKKIT-57 Fix using Bukkit interface instead of nmc Entity for type check.
Thanks nidefawl!
2011-11-29 09:42:09 +11:00
Nathan Adams 99771b7b72 Fixed magma slimes from being nonspawnable 2011-11-28 05:08:28 +00:00
Nathan Adams 20a0b0a9be Changed Entity.isDead to be aware of health for living entities 2011-11-25 00:32:44 +00:00
Nathan Adams a83fc1d6a2 Implemented new EnderCrystal entity class 2011-11-21 22:39:33 +00:00
Erik Broes 345ea36c7b Update for 1.0.0 2011-11-20 00:01:33 -08:00
Nathan Adams af1838305c Implemented entity age methods 2011-10-11 02:23:10 +01:00
Dinnerbone 935313dea7 Fixed players not receiving broadcasts (and other similar issues) after signing out and in rapidly 2011-09-27 23:14:53 +01:00
Dinnerbone 0118a20d6a Update to mcdev rename revision 01 for 1.8.1 2011-09-24 22:05:22 +01:00
Dinnerbone ca4810e8d4 Implemented new entities 2011-09-15 02:33:50 +01:00
EvilSeph 226318d8af Removed deprecated methods.
getNote() that returns a byte has been replaced by getRawNote().
teleportTo(Location) has been replaced by teleport(location).
teleportTo(Entity) has been replaced by teleport(Entity).
SnowForm event has been replaced by BlockForm event.
2011-07-27 23:25:21 -04:00
Erik Broes cc9ccc8976 Removed some old deprecated code and clean up javadocs + warnings 2011-07-17 18:14:45 +02:00
Erik Broes 9adc03abab Generic cleanup of the org.bukkit.craftbukkit classes. 2011-06-12 12:51:54 +02:00
EvilSeph d33c06ead2 Added UniqueId to entities. Thanks Afforess! 2011-06-07 04:21:33 -04:00
EvilSeph 7f73594aa8 Added get/setLastDamageCause. Thanks sunkid! 2011-05-16 00:26:22 -04:00
Erik Broes 309846d732 Whitespace + general cleanup 2011-05-15 13:41:46 +02:00
sk89q 6739d6d75c Added World.strikeLightning(). Also renamed WeatherStorm -> LightningStrike. 2011-04-22 01:25:55 -07:00
Dinnerbone d5ee48a0c8 Implemented Weather and WeatherStorm 2011-04-21 16:51:58 +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
Tahg 7a99fd7327 added some API for entities 2011-04-04 01:07:39 -04:00
Stephen 5247bcba64 Implemented entity.getNearbyEntities() 2011-04-02 17:22:58 +02:00
afforess a0b2a26c3a implementation of Entity.isDead 2011-04-02 17:19:39 +02:00
Erik Broes c16ba1f940 Fix Entity.setVelocity 2011-04-01 12:28:55 +02:00
Dinnerbone baa8c53be0 Implemented Wolf 2011-03-31 22:10:48 +01:00
Erik Broes ec74fe8e37 Move passenger-handling to CraftEntity 2011-03-29 23:14:59 +02:00
Byron Shelden 376ac51cea Fixed the PLAYER_TELEPORT event so event.getTo().getWorld() is correct. (#451) 2011-03-23 18:34:53 +01:00
Dinnerbone 44c25340dc Velocity now sends updates to players 2011-03-05 18:48:58 +00:00
Dinnerbone 9a64d7ec1b Implemented Entity.get/setMomentum 2011-03-04 14:23:45 +00:00
Erik Broes f54469f314 Let's handle (bwhaha) the Craft* entities a bit better. 2011-03-01 17:08:18 +01:00
Dinnerbone bfca34cad4 ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer and updated the version number of mc 2011-02-23 11:33:41 +00:00
sk89q acd0344452 Added Entity.remove() which marks an entity for removal. 2011-02-19 18:02:12 -08:00
Protected e97889e80a Added setFireTicks(), getFireTicks() and getMaxFireTicks(). 2011-02-18 17:35:59 -05:00
Dinnerbone bf304ddc43 Fixed player teleportation 2011-02-07 01:45:32 +00:00
Erik Broes 04be2b9b31 Generic cleanup/reformat. 2011-02-02 00:39:08 +01: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