Commit graph

865 commits

Author SHA1 Message Date
CraftBukkit/Spigot
06409f9a27 [Bleeding] Implemented command aliases in help. Addresses BUKKIT-1028
By: rmichela <deltahat@gmail.com>
2012-03-10 16:16:48 -05:00
CraftBukkit/Spigot
328290fca4 [Bleeding] Moved DefaultHelpTopic and GenericCommandHelpTopic to public bukkit api.
By: rmichela <deltahat@gmail.com>
2012-03-10 14:43:03 -05:00
CraftBukkit/Spigot
6f7d9537f3 [Bleeding] Added support for linking custom CommandExecutor types to a HelpTopicFactory. Fixes BUKKIT-1027
By: rmichela <deltahat@gmail.com>
2012-03-09 01:17:45 -05:00
CraftBukkit/Spigot
a9a9110af2 Make setting slots to AIR set them to null. Addresses BUKKIT-1043
By: EvilSeph <evilseph@gmail.com>
2012-03-10 15:54:10 -05:00
CraftBukkit/Spigot
bdca84f357 [Bleeding] Added new target events. Fixes BUKKIT-935
By: feildmaster <admin@feildmaster.com>
2012-03-09 15:40:59 -06:00
CraftBukkit/Spigot
e9f7ab207b Made Chunk.getEntities() account for the world height increase. Fixes BUKKIT-1059
By: EvilSeph <evilseph@gmail.com>
2012-03-09 13:09:15 -05:00
CraftBukkit/Spigot
2cb004b945 (Re)restricted the nether to 128 world height. Fixes BUKKIT-976
By: EvilSeph <evilseph@gmail.com>
2012-03-09 12:08:59 -05:00
CraftBukkit/Spigot
6d1db7805b [Bleeding] Add updated interfaces for custom chunk generation. Addresses BUKKIT-874
By: Mike Primm <mike@primmhome.com>
2012-03-08 23:57:26 -06:00
CraftBukkit/Spigot
80ee2d93a8 [Bleeding] Add APIs for editing biome data, fix existing code to use persistent biome data. Addresses BUKKIT-1075
By: Mike Primm <mike@primmhome.com>
2012-03-04 10:41:06 -06:00
CraftBukkit/Spigot
5aeda06c72 [Bleeding] Added ConversationAbandonedEvent and supporting infrastructure. Whenever a conversation exits, the ConversationAbandonedEvent is triggered with details about how the conversation ended and what, if anything caused it to end. Fixes BUKKIT-986
By: rmichela <deltahat@gmail.com>
2012-03-04 16:30:14 -05:00
CraftBukkit/Spigot
110a32b647 Fixed copy error in DoubleChest's inventory
By: Tahg <tahgtahv@gmail.com>
2012-03-05 15:28:36 -05:00
CraftBukkit/Spigot
b171b6ee36 Updated version to 1.2.3-R0.2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-03-04 04:06:59 -05:00
CraftBukkit/Spigot
1b76d117bf Updated version to 1.2.3-R0.1 in pom.xml for beta.
By: EvilSeph <evilseph@gmail.com>
2012-03-04 03:03:02 -05:00
CraftBukkit/Spigot
d67053fa16 Fix worlds loading improperly. Fixes BUKKIT-991
This patch fixes an incorrect path being passed to the WorldLoaderListener. It expects the world container, then checks convertable on the name.

By: Eric Stokes <fernferret@gmail.com>
2012-03-03 18:36:16 -07:00
CraftBukkit/Spigot
6924051264 [Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602
By: Wesley Wolfe <weswolf@aol.com>
2012-03-02 13:23:27 -06:00
CraftBukkit/Spigot
5abe32ff6c Implemented Villager API for getting/setting Profession. This adds BUKKIT-887
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-03 01:58:40 +00:00
CraftBukkit/Spigot
2a44aa7a2a Slightly changed the Auto Updater error for when it can't find the current version
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-03 01:22:43 +00:00
CraftBukkit/Spigot
67dc792135 Fixed typo in help.yml header - this fixes BUKKIT-945. Thanks to a PR by turt2live
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-03 00:52:05 +00:00
CraftBukkit/Spigot
3efb03ea09 Minor optimization getting chest inventories
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-02 20:05:23 +00:00
CraftBukkit/Spigot
4b91b8d895 Fixed chest.getInventory for double chests, thanks to Acrobot. This fixes BUKKIT-901
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-02 20:02:45 +00:00
CraftBukkit/Spigot
d348c014ea Updated from 1.2.2 to 1.2.3. This fixes BUKKIT-943
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-02 19:31:06 +00:00
CraftBukkit/Spigot
868d42aad6 Implemented snapshot support for 1.2.
By: Mike Primm <mike@primmhome.com>
2012-03-01 13:54:59 -06:00
CraftBukkit/Spigot
14196c7d71 Preserve data if possible when dropping Items from entities. Partial solution for BUKKIT-15
By: Tahg <tahgtahv@gmail.com>
2012-03-01 22:57:30 -05:00
CraftBukkit/Spigot
02109efbfc World height related fixes - 128 -> 256. Addresses BUKKIT-889
By: Mike Primm <mike@primmhome.com>
2012-03-01 15:13:53 -06:00
CraftBukkit/Spigot
e38356b5ba Implemented new 1.2 entities - this fixes BUKKIT-872 and BUKKIT-885
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 18:02:16 +00:00
CraftBukkit/Spigot
41ba737a43 Made the auto-update-checker suggest channels to server administrators if they're upgrading past their preferred channel.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 16:04:18 +00:00
CraftBukkit/Spigot
d267b15b44 Fixed compile issues with StructureGrowDelegate not implementing the new isEmpty method
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 15:38:34 +00:00
CraftBukkit/Spigot
be0e906988 Fixed cast issues when passing delegates to world generators, and WorldGenMegaTree method exception. This fixes BUKKIT-866, and references BUKKIT-868.
Also bumped version to 1.2.2-R0.1-SNAPSHOT to match Bukkit.

By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 15:35:12 +00:00
CraftBukkit/Spigot
5c717f8732 Updated CraftBukkit to 1.2
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 10:49:23 +00:00
CraftBukkit/Spigot
d61b0b611f Updated version to 1.1-R6 for RB.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 13:53:03 +00:00
CraftBukkit/Spigot
b61b3ff3a5 Potentially fixed inventory issues. This (should) fix issue BUKKIT-860
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 13:35:36 +00:00
CraftBukkit/Spigot
3d2e09290a Updated version to 1.1-R5 for RB
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-03-01 10:54:21 +00:00
CraftBukkit/Spigot
2fef0a564c We build for 1.5.
By: EvilSeph <evilseph@gmail.com>
2012-03-01 04:48:04 -05:00
CraftBukkit/Spigot
aded9eee95 [Bleeding] Added Conversations API. Addresses BUKKIT-864
By: rmichela <deltahat@gmail.com>
2012-01-19 03:32:05 -05:00
CraftBukkit/Spigot
45e1b9cbfa [Bleeding] Added Help API. Addresses BUKKIT-863
By: rmichela <deltahat@gmail.com>
2012-03-01 00:19:11 -05:00
CraftBukkit/Spigot
7d4747f9f3 Fixed AchievementTest.java
By: feildmaster <admin@feildmaster.com>
2012-02-29 21:44:11 -06:00
CraftBukkit/Spigot
34d3cf9be4 Updated to rename revision 02
By: Erik Broes <erikbroes@grum.nl>
2012-02-29 22:31:04 +01:00
CraftBukkit/Spigot
ddf9216f11 Fix for Java 1.5
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-29 15:35:36 -05:00
CraftBukkit/Spigot
472b179cd1 [Bleeding] Implementation of inventory framework. Addresses BUKKIT-856
See the corresponding Bukkit commit for details.

Implementation details:
- Any packets that include an itemstack will send air stacks as null; maybe this will even eliminate the client crash that occurs if the client receives an air stack
- Better handling of null itemstacks in general (ie less converting them to air stacks)
- Inventory.setContents() can now take an array smaller than the inventory without error
- Player.updateInventory() should now correctly update the result slot in a crafting inventory

Some small credit goes to Afforess (initial implementation of openInventory() methods) and Drakia (initial implementation of InventoryOpenEvent and InventoryCloseEvent).

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-29 13:56:35 -05:00
CraftBukkit/Spigot
a3dccca671 Implementation of richer playEffect methods. Addresses BUKKIT-857
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 13:24:25 -05:00
CraftBukkit/Spigot
27ab478e59 Added EntityTargetEvent for Experience Orbs, happens when it starts moving towards a human entity! Addresses BUKKIT-820
By: ZNickq <ZNickq@ZNickq-PC>
2012-02-25 14:58:21 +02:00
CraftBukkit/Spigot
8f6cf890e0 Moved getVehicle, leaveVehicle and isInsideVehicle from CraftLivingEntity to CraftEntity. Addresses BUKKIT-811
By: TomyLobo <tomylobo@nurfuerspam.de>
2011-10-25 15:53:43 +02:00
CraftBukkit/Spigot
8b7d5cf8e1 [Bleeding] Implement Metadata framework for Entities, Blocks, and Worlds
By: rmichela <deltahat@gmail.com>
2011-12-08 00:33:59 -05:00
CraftBukkit/Spigot
c5912a199f [Bleeding] Fix generics. Addresses BUKKIT-844
By: Wesley Wolfe <weswolf@aol.com>
2012-02-29 10:27:38 -06:00
CraftBukkit/Spigot
3fad4cb7c3 Added plugin-profiling setting to bukkit.yml.
By: Travis Watkins <amaranth@ubuntu.com>
2012-02-10 13:56:16 -06:00
CraftBukkit/Spigot
ade8e8932f Adjusted CraftBukkit to work with the entity event convenience patch in Bukkit. Addresses BUKKIT-809
By: TomyLobo <tomylobo@nurfuerspam.de>
2012-02-21 13:51:56 +01:00
CraftBukkit/Spigot
0914806835 Fixed sneaking eye height. Addresses BUKKIT-808
By: TomyLobo <stabelweb@gmx.de>
2012-02-22 03:32:35 +01:00
CraftBukkit/Spigot
f0ed27ad63 Fixed CraftOfflinePlayer.getLastPlayed() returning the wrong result. Addresses BUKKIT-847
By: Olof Larsson <olof@sylt.nu>
2012-02-27 16:31:52 +01:00
CraftBukkit/Spigot
3487d1e709 Added plugin loading log entry
By: EdGruberman <ed@rjump.com>
2012-02-15 12:56:36 -07:00
CraftBukkit/Spigot
628f916af8 Implement PortalCreateEvent reason codes. Addresses BUKKIT-833
This commit modifies the construction of PortalCreateEvents to specify
a reason for the event.  Reasons are either:
1. FIRE: the portal is being created because a player set fire to an
obsidian frame.
2. DESTINATION: the portal is being created as a destination for an existing portal.

By: Sam Wilson <sam.wilson@gmail.com>
2011-12-25 22:13:25 -08:00
CraftBukkit/Spigot
65a08c8c6e CraftSign changes. Addresses BUKKIT-824
- Removed the useless world field.
- Made it so changes to a CraftSign (which is a Block*State*) no longer reflect into the world without calling sign.update().

By: TomyLobo <tomylobo@nurfuerspam.de>
2012-02-25 14:47:55 +01:00
CraftBukkit/Spigot
c28f0badc5 Updated README.md with more coding and pull request conventions and tips to get your pull request accepted.
By: EvilSeph <evilseph@gmail.com>
2012-02-23 23:46:41 -05:00
CraftBukkit/Spigot
dc6dd3828c [Bleeding] Override not applicable
By: Wesley Wolfe <weswolf@aol.com>
2012-02-23 17:48:30 -06:00
CraftBukkit/Spigot
585a62f3d3 [Bleeding] Undo changes to the tree WorldGenerators.
- All StructureGrowEvent handling for these is in BlockSapling now, using a BlockChangeDelegate to collect the data.
- Moved StructureGrowDelegate into a separate class

By: Zeerix <zeerix@draig.de>
2011-12-23 00:54:34 +01:00
CraftBukkit/Spigot
117ad7c1be [Bleeding] Fixed setTotalExp, any experience update bugs and removed Deprecated Methods. Fixes BUKKIT-798 and fixes BUKKIT-797
By: Feildmaster <admin@feildmaster.com>
2012-02-22 11:03:56 -06:00
CraftBukkit/Spigot
4122f831fb [Bleeding] Use player.getItemInHand(), instead of a new ItemStack. Addresses BUKKIT-767
By: Feildmaster <admin@feildmaster.com>
2012-02-18 09:14:44 -06:00
CraftBukkit/Spigot
2beeb597e3 Fixed pom.xml
By: Feildmaster <admin@feildmaster.com>
2012-02-22 07:00:42 -06:00
CraftBukkit/Spigot
4c339b247f [Bleeding] Added launchProjectile.
Use launchProjectile in place of individual throwSnowball, throwEgg, and shootArrow methods.

By: aPunch <alexpuncochar@yahoo.com>
2012-02-16 15:12:47 -06:00
CraftBukkit/Spigot
8d2559e42a [Bleeding] Added EntityType to replace CreatureType.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-06 00:19:23 -05:00
CraftBukkit/Spigot
0126ce2b16 [Bleeding] Added BlockGrowEvent. Addresses BUKKIT-104
By: Feildmaster <admin@feildmaster.com>
2012-02-11 23:32:24 -06:00
CraftBukkit/Spigot
bed15aa413 [Bleeding] Recipe API improvements and fixes. Addresses BUKKIT-738 and BUKKIT-624
Add a recipe iterator to make it possible to retrieve and remove recipes (BUKKIT-738), and updated the recipe classes to not clip the data to 127 (BUKKIT-624)

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-07-23 23:16:14 -04:00
CraftBukkit/Spigot
39944f7043 [Bleeding] Cleanup clone method.
By: Wesley Wolfe <weswolf@aol.com>
2012-02-19 12:52:49 -06:00
CraftBukkit/Spigot
da4df32343 [Bleeding] Fire EntityDamageByEntityEvent for EnderCrystal. Fixes BUKKIT-776
By: Feildmaster <admin@feildmaster.com>
2012-02-18 23:43:01 -06:00
CraftBukkit/Spigot
88fca68972 [Bleeding] Moved projectile EntityDamageByEntityEvent's to event factory. Addresses BUKKIT-775
By: Feildmaster <admin@feildmaster.com>
2012-02-10 08:32:11 -06:00
CraftBukkit/Spigot
00c54bbbb6 Add getEntitesByClass(Class<T>), getEntitiesByClasses(Class<?>...), deprecate getEntitiesByClass(Class<T>...)
By: Mike Primm <mike@primmhome.com>
2012-01-27 21:49:55 -06:00
CraftBukkit/Spigot
fa547512af Deprecation cleanup.
By: Erik Broes <erikbroes@grum.nl>
2012-01-30 21:51:53 +01:00
CraftBukkit/Spigot
818efc6bca Fixed NPE when running a custom build of CraftBukkit. This fixes issue #BUKKIT-765
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-02-18 14:06:21 +00:00
CraftBukkit/Spigot
cb0ee4963b Don't print stacktraces on DLB fetching errors. And because I forgot last commit; this adds BUKKIT-760
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-02-17 00:09:56 +00:00
CraftBukkit/Spigot
6ea3041bf5 Added a built-in update checker. See http://wiki.bukkit.org/Bukkit.yml#auto-updater for new bukkit.yml options.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-02-16 22:31:40 +00:00
CraftBukkit/Spigot
fa9de7d0b7 Updated version to 1.1-R5-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-02-13 14:30:00 -05:00
CraftBukkit/Spigot
dadf5be2b1 Updated version to 1.1-R4 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-02-13 11:31:40 -05:00
CraftBukkit/Spigot
9375bc5b94 Use createNMSItemStack on CraftingManager recipe registration. Fixes BUKKIT-602
By: Mushroom Hostage <mushroomhostage@yahoo.com>
2012-02-10 18:13:24 -08:00
CraftBukkit/Spigot
1f1bdfaf98 [Bleeding] Added Potions API. Fixes BUKKIT-389
By: fullwall <fullwall@optusnet.com>
2012-01-09 15:51:32 +08:00
CraftBukkit/Spigot
1bbc68df3d Added configurable animal and monster ticks per spawn setting.
By: EvilSeph <evilseph@gmail.com>
2012-02-10 10:23:52 -05:00
CraftBukkit/Spigot
712381a946 [Bleeding] Make sure we don't keep stale references to vanished players.
By: Travis Watkins <amaranth@ubuntu.com>
2012-02-09 20:08:00 -06:00
CraftBukkit/Spigot
3f25236f90 Prevent the Vanish API from sending unnecessary packets.
By: EvilSeph <evilseph@gmail.com>
2012-02-03 05:11:44 -05:00
CraftBukkit/Spigot
f59f095728 [Bleeding] Implemented Vanish API.
Remove players that cannot see a player from their EntityTrackerEntry and only
send user list updates to players who can see the player they reference.

By: Travis Watkins <amaranth@ubuntu.com>
2012-01-31 13:54:15 -06:00
CraftBukkit/Spigot
994b74a0fd Removed MONSTER CreatureType.
By: EvilSeph <evilseph@gmail.com>
2012-02-03 02:42:40 -05:00
CraftBukkit/Spigot
4cb9c42247 Updated version to 1.1-R4-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-30 04:00:50 -05:00
CraftBukkit/Spigot
69f7e1cde7 Updated version to 1.1-R3 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-30 03:22:16 -05:00
CraftBukkit/Spigot
9898f70806 Updated version to 1.1-R3-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-29 13:48:50 -05:00
CraftBukkit/Spigot
a048cfe1a5 Updated version to 1.1-R2 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-29 13:23:42 -05:00
CraftBukkit/Spigot
dfe46ed976 Added 'generate-structure' setting support and WorldCreator property.
Fixes BUKKIT-655 and BUKKIT-592

By: Eric Stokes <fernferret@gmail.com>
2012-01-29 10:40:45 -07:00
CraftBukkit/Spigot
841a60ca59 Added useExactLoginLocation(). Closes BUKKIT-145
useExactLoginLocation() looks for settings.use-exact-login-location within bukkit.yml.

If true, we will bypass Vanilla's behaviour of checking for collisions and moving the player if needed when they login.

If false, we will continue to follow Vanilla's behaviour and move players that 'collide' with objects when they login.

By: EvilSeph <evilseph@gmail.com>
2012-01-29 06:36:43 -05:00
CraftBukkit/Spigot
5695803314 Filter null/AIR from items dropped on death. Fixes: BUKKIT-653
By: Erik Broes <erikbroes@grum.nl>
2012-01-29 13:37:32 +01:00
CraftBukkit/Spigot
ef756d8eba Add some testing
By: Erik Broes <erikbroes@grum.nl>
2012-01-29 11:22:11 +01:00
CraftBukkit/Spigot
ff07115b3c Cleanup.
By: EvilSeph <evilseph@gmail.com>
2012-01-27 18:23:16 -05:00
CraftBukkit/Spigot
655831346f Updated version to 1.1-R2-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 04:40:11 -05:00
CraftBukkit/Spigot
40cd87e000 Updated versions to 1.1-R1 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-25 01:12:09 -05:00
CraftBukkit/Spigot
ccaef1ea05 Fixed CraftLivingEntity.damage when the entity is an EntityComplex.
Fixes BUKKIT-589: if you call damage on an instance of EnderDragon, no damage
is done.

Reason for bug: damage calls Entity.damageEntity.  But EntityComplex
overrides damageEntity to do nothing.

Fix: CraftComplexLiving should call EntityComplex.e instead of
Entity.damageEntity.  e is the method that actually does damage to an
instance of EntityComplex.

By: Sam Wilson <sam.wilson@gmail.com>
2012-01-23 22:04:18 -08:00
CraftBukkit/Spigot
0342a99482 [Bleeding] Implemented PotionSplashEvent. Closes BUKKIT-307
By: Zeerix <zeerix@draig.de>
2012-01-20 09:56:02 +01:00
CraftBukkit/Spigot
655b5d0aa9 Reverted changes to getItem(). Will be reimplemented after RB.
By: EvilSeph <evilseph@gmail.com>
2012-01-20 14:52:32 -05:00
CraftBukkit/Spigot
5d0878be04 Accounted for NMS getItem() returning null in recent commit.
By: EvilSeph <evilseph@gmail.com>
2012-01-20 11:45:37 -05:00
CraftBukkit/Spigot
d8ad13e979 Properly handle null and air items. Fixes BUKKIT-435 and BUKKIT-550
We'll probably want to implement an ItemStack.EMPTY and return that
instead of NULL in the near future.

By: EvilSeph <evilseph@gmail.com>
2012-01-20 02:26:26 -05:00
CraftBukkit/Spigot
2c16b85e3c Updated timing code for new event system
By: Tahg <tahgtahv@gmail.com>
2012-01-19 13:01:41 -05:00
CraftBukkit/Spigot
57da325786 Add updated repos to pom.xml
By: Erik Broes <erikbroes@grum.nl>
2012-01-19 23:02:46 +01:00
CraftBukkit/Spigot
7f9357bd63 Prevent re-use of internal world dimension IDs. This fixes BUKKIT-448. Thanks to snowleo for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-19 16:09:24 +00:00
CraftBukkit/Spigot
127e32a023 Throw PlayerLevelChangeEvent and PlayerExpChangeEvent events. Thanks to feildmaster for the PR.
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-19 16:06:27 +00:00
CraftBukkit/Spigot
0579af1ac0 Correctly take in ChatColor length when limiting player list size. This should fix BUKKIT-571
By: Nathan Adams <dinnerbone@dinnerbone.com>
2012-01-19 15:09:06 +00:00
CraftBukkit/Spigot
179363588e Actually close the inventory on a *cross*-world teleport.
By: Erik Broes <erikbroes@grum.nl>
2012-01-17 22:50:18 +01:00