feildmaster
7b5a8d0c23
Don't teleport entities that are considered dead. Addresses BUKKIT-1331
...
Teleportation should never be processed on dead entities. If you wish
to teleport an entity, do it on a living entity. If you wish to
teleport a player, set their respawn location in PlayerRespawnEvent.
2012-12-29 19:18:36 -06:00
feildmaster
ced0646351
Implement entity max health methods. Adds BUKKIT-266
2012-12-23 07:29:06 -06:00
feildmaster
4e1793f363
Report valid health when getting Entity health. Fixes BUKKIT-3210
2012-12-23 07:29:05 -06:00
feildmaster
23b6764374
Update CraftBukkit to Minecraft 1.4.6
2012-12-20 10:43:00 -06:00
feildmaster
3692209fe6
Missed a rename
2012-12-10 19:17:47 -06:00
feildmaster
430d352a5a
Add EntityEquipment API. Adds BUKKIT-3103
...
Adds:
- Getting/Setting equipment
- getting/setting drop rates
- getting/setting ability to pick up items
-- As an added feature, players with this flag start off with a canceled PlayerPickupItemEvent
2012-12-10 19:01:50 -06:00
h31ix
684ba31c39
[Bleeding] Correct getEyeHeight value. Fixes BUKKIT-3130
2012-12-10 01:41:00 -06:00
feildmaster
c74fd4196f
Use shooter constructor for Fireballs. Fixes BUKKIT-3121
...
Fixes fireballs exploding in the shooter's face and not having a shooter for the projectile. (Two birds with one stone!)
2012-12-07 05:25:20 -06:00
feildmaster
78bc0ad1d5
Add the ability to launch WitherSkulls. Fixes BUKKIT-3106
2012-12-07 05:25:11 -06:00
Travis Watkins
4dadf0e2b5
Implement API for mob despawn when away from players. Adds BUKKIT-2986
...
As of 1.4 mobs have a flag to determine if they despawn when away from a
player or not. Unfortunately animals still use their own system to prevent
despawning instead of making use of this flag. This change modifies them
to use the new system (defaults to true) and to add API for plugins to adjust
this.
2012-12-04 20:10:23 -06:00
Travis Watkins
7f7192f8fd
Update CraftBukkit to Minecraft 1.4.4.
2012-11-13 16:09:52 -06:00
Travis Watkins
60819c6693
Update CraftBukkit to Minecraft 1.4(.2).
2012-10-27 22:19:03 -04:00
feildmaster
a43d621c01
Update CraftBukkit to Minecraft 1.3.1
2012-08-02 04:58:50 -05:00
feildmaster
0a0d5ebf20
Clean entity.damage functions. Fixes BUKKIT-1822
2012-07-02 22:22:03 -05:00
TomyLobo
412b7eaa12
Implement LivingEntity.hasLineOfSight. Addresses BUKKIT-1255
2012-06-23 10:48:08 -05:00
feildmaster
f15785669a
Launch fireballs at eye location. Fixes BUKKIT-1155
2012-06-03 05:34:58 -05:00
Travis Watkins
c1bc0df718
Add in checks for potential NPEs. Fixes BUKKIT-1706 and BUKKIT-1590.
2012-05-24 19:12:56 -05:00
Travis Watkins
73ae279e8d
Update players when potion effects are moved from them. Fixes BUKKIT-789
2012-04-24 21:58:35 -04:00
TomyLobo
53e4a034f4
Moved getVehicle, leaveVehicle and isInsideVehicle from CraftLivingEntity to CraftEntity. Addresses BUKKIT-811
2012-02-29 13:30:46 -05:00
aPunch
036b5c3956
[Bleeding] Added launchProjectile.
...
Use launchProjectile in place of individual throwSnowball, throwEgg, and shootArrow methods.
2012-02-23 15:07:41 -05:00
Celtic Minstrel
af51313ffb
[Bleeding] Added EntityType to replace CreatureType.
2012-02-22 22:06:29 -05:00
Erik Broes
137880b727
Deprecation cleanup.
2012-02-18 13:06:12 -05:00
fullwall
f52665348e
[Bleeding] Added Potions API. Fixes BUKKIT-389
2012-02-10 17:41:13 -05:00
Erik Broes
a4ce846d07
Fix formatting.
2012-01-15 10:54:57 +01:00
Nathan Adams
897551e39e
Update to mc-dev rename revision 01
2012-01-12 15:27:39 +00:00
Nathan Adams
b2af70e5c7
Implemented getKiller in LivingEntity
2011-12-11 16:05:27 +00: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
Erik Broes
345ea36c7b
Update for 1.0.0
2011-11-20 00:01:33 -08:00
EvilSeph
9177c205b4
Revert "Added callback line of sight methods. Thanks xZise!"
...
This reverts commit 49cf586f969626bdb59632bb2fd5adfe79d38057.
2011-10-03 15:17:34 -04:00
EvilSeph
aaefd4ecb5
Added callback line of sight methods. Thanks xZise!
2011-10-02 23:04:03 -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
Erik Broes
cc9ccc8976
Removed some old deprecated code and clean up javadocs + warnings
2011-07-17 18:14:45 +02: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
Erik Broes
9adc03abab
Generic cleanup of the org.bukkit.craftbukkit classes.
2011-06-12 12:51:54 +02:00
EvilSeph
3439b7f9d9
Made setHealth(0) trigger EntityDeathEvent and drops. Thanks yetanotherx!
2011-05-15 22:16: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
Erik Broes
3129348866
Implementation of LivingEntity maximumNoDamageTicks, noDamageTicks, lastDamage
2011-03-24 00:32:41 +01:00
Andrew Ardill
b819ffe8a4
Implemented LivingEntity.getEyeLocation()
2011-03-09 19:43:43 +00:00
Dinnerbone
6a99d8c412
Implemented LivingEntity.damage
2011-03-07 15:59:10 +00:00
Erik Broes
f54469f314
Let's handle (bwhaha) the Craft* entities a bit better.
2011-03-01 17:08:18 +01:00
Raphfrk
41fe211919
Added target block ray trace functionality.
2011-02-18 20:48:56 -05:00
Erik Broes
04be2b9b31
Generic cleanup/reformat.
2011-02-02 00:39:08 +01:00
Dinnerbone
7369ef7300
Implemented getRemainingAir/setRemainingAir/getMaximumAir/setMaximumAir on LivingEntity
2011-01-31 01:23:10 +00:00
Erik Broes
df69047324
Port to new mc-dev format.
2011-01-30 13:24:39 +01:00
Tahg
c20a40a581
fixed health
2011-01-17 16:45:20 -05:00
Andrew Ardill
431f2f62cf
New Entity Classes implementing the new Bukkit interfaces.
2011-01-18 00:13:33 +08: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
Dinnerbone
9150e8d85d
All entity stuff in org.bukkit.craftbukkit moved to org.bukkit.craftbukkit.entity
2011-01-15 21:24:07 +00:00