Commit Graph

177 Commits

Author SHA1 Message Date
Erik Broes
992fa6d039 [Bleeding] Add Animals: setAgeLock(bool), bool getAgeLock, void setBaby, void setAdult, void setBreed(bool), bool canBreed and bool isAdult. 2012-01-17 19:44:18 +01:00
Erik Broes
eb9dc64493 Generic cleaning 2012-01-15 14:37:43 +01:00
Nathan Adams
c84c5a2132 Added Player set/getAllowFlight methods. Thanks to Qala for the PR. 2012-01-15 10:55:33 +00:00
Nathan Adams
3a89a0b643 Fixed documentation of getNearbyEntities in Entity. Thanks to epuidokas for the PR. 2012-01-15 07:38:14 +00:00
Nathan Adams
589f528f7f Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours 2012-01-14 17:42:57 +00:00
Nathan Adams
e03e2cc1c2 Added entity.playEffect, thanks to main-- in an (unfortunately old) PR. 2012-01-14 17:35:52 +00:00
Nathan Adams
55cc8722c8 Implemented new Plugin Message API - see http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/ 2012-01-13 08:53:14 +00:00
Erik Broes
dce83b6ce4 Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Tahg
23e3fbaa07 Fixed some naming issues for creature types. Fix for BUKKIT-367 2011-12-20 18:01:44 -05:00
Nathan Adams
0d41282a7f Added getKiller() method to LivingEntity, to determine the killer of an entity 2011-12-11 16:04:37 +00:00
Nathan Adams
19a96434b3 Added cause to PlayerTeleportEvent 2011-12-04 11:03:32 +00:00
Nathan Adams
6ea784f58c Deprecated player methods: getExperience setExperience due to new float value. Added giveExp, setExp, getExp 2011-11-30 22:30:47 +00:00
Andrew Ardill
b9862ea779 Extend EntityCombustEvent to allow setting combustion duration.
Also extend with two new events that track the entity or block that caused
the combustion.
2011-11-29 20:56:08 +11:00
Andrew Ardill
e1410a61c5 Add MagmaCube interface.
Also, add MagmaCube to CreatureType Enum, as per BUKKIT-57. Thanks snowleo!
2011-11-28 11:12:08 +11:00
Andrew Ardill
14bdefcaa1 BUKKIT-57 Add Snowman to CreatureType Enum. Thanks snowleo! 2011-11-28 10:48:02 +11:00
Nathan Adams
b2e91c6cc4 Added new set/get age methods to Animals 2011-11-24 20:16:16 +00:00
Nathan Adams
884d7daa9f Added EnderCrystal entity 2011-11-21 22:37:37 +00:00
Nathan Adams
bac82e018b Added various new 1.9 entities, blocks and items 2011-11-19 20:23:27 -08:00
Nathan Adams
2fff24e8a9 Added getMaxHealth to LivingEntity 2011-11-19 20:23:27 -08:00
Nathan Adams
09742f066e Added class type to CreatureType enum 2011-11-19 20:23:27 -08:00
Nathan Adams
5300d1b2d6 Added new entity.get/setTicksLived for identifying an entity's age 2011-10-11 02:22:38 +01:00
Nathan Adams
14d3401121 Small javadoc cleanup 2011-10-10 21:58:44 +01:00
EvilSeph
b1451f58cb Revert "Added callback line of sight methods. Thanks xZise!"
This reverts commit 1df3a823ba.
2011-10-03 15:15:50 -04:00
EvilSeph
1df3a823ba Added callback line of sight methods. Thanks xZise! 2011-10-02 23:04:09 -04:00
Dinnerbone
fdf6837d0f Renamed player.setListName to something a little more sensical 2011-10-03 00:34:04 +01:00
EvilSeph
ab29f6a3b5 Painting improvements. Thanks CelticMinstrel!
Added interface to get/set the art and facing direction on paintings, and expanded painting break events to catch more cases (including fire and lightning); removed PaintingBreakByWorldEvent since it's identical to its superclass
2011-10-01 13:55:56 -04:00
sk89q
f46f6d5e34 Added Player.get/setListName to change the name of the player on the player list. 2011-09-26 15:10:33 -07:00
sk89q
2b836f1b7b Boat get/set (double) occupied acceleration, (double) unoccupied deceleration, (boolean) work on land. Good values to maximize boat utility: 0.6 (fast accel.), 0.99 (no loss of boat), true/false, respectively. 2011-09-25 11:20:47 -07:00
Dinnerbone
348e56960e Added get/setPickupDelay on Item entities, thanks robin0van0der0v 2011-09-25 03:40:12 +01:00
Dinnerbone
e6c273e8b0 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
Rigby
b2e7c24e35 Added PlayerToggleSprint event and sprinting related API. 2011-09-21 16:19:17 -04:00
EvilSeph
ef124be4d4 Added getBedSpawnLocation to Player. Thanks fernferret! 2011-09-20 23:41:57 -04:00
Wizjany
bed0cc340b Added events for endermen pickup/placement blocks and methods to get/set the block that an enderman is holding. Thanks Wizjany 2011-09-20 18:48:56 +01:00
EvilSeph
c4a5521fa3 Added new entities to CreatureType ENUM. 2011-09-16 06:07:41 -04:00
Dinnerbone
777a17d284 Added Player saturation, exhaustion and food level methods 2011-09-15 06:23:58 +01:00
Dinnerbone
9b53b0acf5 Added methods for getting/setting how much exp is contained within an orb 2011-09-15 05:48:52 +01:00
Dinnerbone
57616733c0 Added Player.get/setExperience, totalExperience and level 2011-09-15 05:13:16 +01:00
Dinnerbone
dcd63c0f8f Added new Entity interfaces 2011-09-15 02:34:14 +01:00
Dinnerbone
3524fde5ff Added GameMode methods to Server and HumanEntity 2011-09-09 01:15:37 +01:00
Dinnerbone
0484a8bd84 Added the ability to access offline players & more reverse lookup fixes in Permissible. 2011-09-03 00:41:22 +01:00
Dinnerbone
20dd09d983 Some small fixes to permissions to register the correct Permissible in base and more accurate reverse lookups 2011-09-02 23:39:01 +01:00
EvilSeph
79ac053ef6 Revert "Interface for changing the view distance." 2011-08-15 14:26:42 -04:00
Andrew Ardill
362f1163d0 Interface for changing the view distance.
Can be changed server wide, per world and per player.
Only server wide changes are kept between server restarts.

Setting the server or world view distance should fail if the
view distance is not between 3 and 15
2011-08-15 15:11:34 +10:00
EvilSeph
7f12385332 Added API for manipulating map items. Thanks SpaceManiac, codename_B, sk89q and dested! 2011-08-12 22:02:15 -04:00
sunkid
317c17fbb9 Retiring EntityDamageByProjectileEvent in favor of EntityDamageEvent. 2011-07-28 02:23:40 -04:00
EvilSeph
1f5c90052a 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:18:33 -04:00
Dinnerbone
914da8e887 Added new permission system 2011-07-17 17:17:47 +01:00
Celtic Minstrel
7968683662 Added interface for setting and getting a pig zombie's anger level. 2011-07-14 14:52:29 -04:00
sunkid
7cab3de477 Added the concept of a projectile. 2011-06-18 22:20:47 -04:00
sunkid
d471de6bb1 Added the concept of an Explosive. 2011-06-17 16:54:23 -04:00