Travis Watkins
5f089137ee
Cleanup comments, formatting, etc
2013-03-25 00:51:36 -05:00
Chad Waters
93fd33e218
Implement Entity.isOnGround(). Adds BUKKIT-3787
2013-03-17 22:25:05 -05:00
Wesley Wolfe
2cb9cbf05c
Handle the newly refactored minecarts.
2013-03-16 02:15:51 -05:00
Travis Watkins
83d29e461c
Update CraftBukkit to Minecraft 1.5
2013-03-15 13:28:59 -05:00
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
23b6764374
Update CraftBukkit to Minecraft 1.4.6
2012-12-20 10:43:00 -06:00
Travis Watkins
846a22304c
Provide a faster way to get a location. Adds BUKKIT-3120
...
Currently when a plugin wants to get the location of something it calls
getLocation() which returns a new Location object. In some scenarios this
can cause enough object creation/destruction churn to be a significant
overhead. For this cases we add a method that updates a provided Location
object so there is no object creation done. This allows well written code
to work on several locations with only a single Location object getting
created.
Providing a more efficient way to set a location was also looked at but
the current solution is the fastest we can provide. You are not required
to create a new Location object every time you want to set something's
location so, with proper design, you can set locations with only a single
Location object being created.
2012-12-07 21:15:05 -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
Travis Watkins
a21f038fc3
Mark entities as invalid when they get despawned. Addresses BUKKIT-810
2012-06-28 19:34:31 -05:00
feildmaster
99aeb32d0d
Remove Player cache and edit CraftPlayer.equals to account for EntityID. Fixes BUKKIT-1541 and Addresses BUKKIT-761
2012-04-27 12:33:40 -05:00
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