Commit Graph

970 Commits

Author SHA1 Message Date
Celtic Minstrel
e8f00c8fd8 Added Enchantment.conflictsWith() and EnchantmentTarget.includes(). Addresses BUKKIT-1159 and addresses BUKKIT-1160 2012-03-13 22:20:02 -04:00
Celtic Minstrel
e783a03aa3 [Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858 2012-03-13 19:41:33 -04:00
feildmaster
1f91dc694a [Bleeding] Added EntityBreakDoorEvent. Fixes BUKKIT-1134 2012-03-11 16:28:40 -04:00
Mike Primm
e0c3be1d9c [Bleeding] Add getWorldType() and getGenerateStructures() methods to Bukkit and Server. Fixes BUKKIT-855 2012-03-10 18:28:20 -05:00
rmichela
37b6724aed [Bleeding] Added support for amending help topic visibility permissions in help.yml. Addresses BUKKIT-1113 2012-03-10 18:21:57 -05:00
zml2008
55f18605a6 [Bleeding] Correct handling of blank lines in ChatPaginator. 2012-03-10 17:53:38 -05:00
rmichela
7372c68a49 [Bleeding] Implemented command aliases in help. Addresses BUKKIT-1028 2012-03-10 17:52:12 -05:00
rmichela
8e24c7653a [Bleeding] Moved DefaultHelpTopic and GenericCommandHelpTopic to public bukkit api. 2012-03-10 17:51:53 -05:00
rmichela
e06d436701 [Bleeding] Added support for linking custom CommandExecutor types to a HelpTopicFactory. Fixes BUKKIT-1027 2012-03-10 17:50:44 -05:00
feildmaster
37f1ab2052 [Bleeding] Add new sub-event for target goals, and DEFEND_VILLAGE TargetReason. Fixes BUKKIT-935 2012-03-10 02:02:08 -05:00
EvilSeph
4c2068702a Made Ocelot implement isSitting() and setSitting(). Fixes BUKKIT-993 2012-03-09 15:01:28 -05:00
SpaceManiac
6c1f2489ad [Bleeding] Added getting the hostname a player used to log in. Addresses BUKKIT-984 2012-03-09 11:48:04 -05:00
Mike Primm
b0b308e319 [Bleeding] Update generator interface for new generate methods. Addresses BUKKIT-874 2012-03-09 11:48:03 -05:00
EvilSeph
3e3a05000d Made zombie invasions fire CreatureSpawn event. Fixes BUKKIT-1090 2012-03-08 22:10:17 -05:00
EvilSeph
5f7c0aec5f Made iron golems fire CreatureSpawn event. Fixes BUKKIT-1089 2012-03-08 22:00:08 -05:00
Mike Primm
d9f0bfd6d9 [Bleeding] Correct errors in LongGrass and MonsterEggs materials. Addresses BUKKIT-1083 2012-03-08 16:05:42 -05:00
Celtic Minstrel
99e1a92191 Fix incorrect entity ID for iron golem. Addresses BUKKIT-1088 2012-03-08 15:11:27 -05:00
Celtic Minstrel
a052ce2449 Add missing JUNGLE TreeSpecies. Fixes BUKKIT-973 2012-03-08 15:08:34 -05:00
rmichela
898b0e119d [Bleeding] Added missing NPE protection to removeMetadata(). Fixes BUKKIT-933 2012-03-08 02:24:28 -05:00
rmichela
6fc7d4ae40 [Bleeding] ChatPaginator now preserves the color of a line after wrapping the line of text. Fixes BUKKIT-1048 2012-03-08 02:02:28 -05:00
rmichela
c254d84b06 [Bleeding] Help command should properly wrap command text - at least for english. Fixes BUKKIT-939 2012-03-08 02:02:12 -05:00
Mike Primm
2a310576d1 [Bleeding] Add APIs for editing biome data. Addresses BUKKIT-1075 2012-03-08 01:52:01 -05:00
rmichela
52fcb63c8e [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 2012-03-08 01:29:30 -05:00
rmichela
4cb1bc5c1e [Bleeding] Added local echo toggle to Conversation and ConversationFactory objects. Fixes BUKKIT-1007. 2012-03-08 01:29:25 -05:00
Nathan Adams
a2fbb41365 Fixed javadoc typo, it should read: "celticminstrel is a poopy head." 2012-03-03 02:26:13 +00:00
Nathan Adams
2c99437c1f Added three new effects for zombies nomming on doors. This adds BUKKIT-961 2012-03-03 02:22:22 +00:00
Wesley Wolfe
3d928b7d44 [Bleeding] Fixed crafting enchanted items, fixes BUKKIT-602 2012-03-02 21:01:41 -05:00
Nathan Adams
94a61cc3a5 Added Villager API for getting/setting Profession. This adds BUKKIT-887 2012-03-03 01:58:30 +00:00
Nathan Adams
23aaa912a4 Fixed Ocelot.Type lookup - this fixes BUKKIT-952 2012-03-03 00:46:27 +00:00
Nathan Adams
5d0d54f9b5 Added VERSION_1_1 WorldType 2012-03-02 18:38:12 +00:00
Nathan Adams
5df84f3f66 Added JUNGLE tree to TreeType enum - this fixes BUKKIT-886 2012-03-02 13:21:29 +00:00
Mike Primm
d7fac74298 Implemented snapshot support for 1.2. 2012-03-02 00:24:05 -05:00
Nathan Adams
25f303ccde Added a bunch of new 1.2 entities; this partially resolves BUKKIT-872 and BUKKIT-885. 2012-03-01 18:01:40 +00:00
Wesley Wolfe
31876058a4 [Bleeding] Fixed naughty plugins crashing server. 2012-03-01 10:36:07 -05:00
Nathan Adams
1c775f8a3c Added isEmpty to BlockChangeDelegate - this implements BUKKIT-868. Also changed version to 1.2.2-R0.1-SNAPSHOT for the upcoming beta. 2012-03-01 15:28:06 +00:00
Nathan Adams
8604b9d2af Updated Bukkit API for 1.2 2012-03-01 14:25:51 +00:00
EvilSeph
5d7f99acdf We build for 1.5. 2012-03-01 04:41:25 -05:00
rmichela
bba2e1cd2f [Bleeding] Added Help API. Addresses BUKKIT-863 2012-03-01 04:28:21 -05:00
rmichela
49c34510e3 [Bleeding] Added Conversations API. Addresses BUKKIT-864 2012-03-01 03:52:18 -05:00
Celtic Minstrel
276c1559c8 [Bleeding] MaterialData fixes. Addresses BUKKIT-842 2012-03-01 01:31:00 -05:00
Celtic Minstrel
08a68cff82 [Bleeding] Added sharp() and natural() factory functions to mirror the flat() one, sharped() and flattened() functions to get a note from an existing note, a toString(), and more tests. Addresses BUKKIT-861 2012-02-29 22:43:35 -05:00
Celtic Minstrel
088598b08a [Bleeding] Allow sharping notes that aren't sharpable, and a factory method to create flat notes. Addresses BUKKIT-861
- Uses enharmonic equivalences to rewrite the note in the normalized form, E-sharp becomes F and A-flat becomes G-sharp
2012-02-29 22:40:41 -05:00
Celtic Minstrel
a59f575382 Add missing achievements to the Achievement enum 2012-02-29 21:31:36 -05:00
Celtic Minstrel
18a4a25c8b Adding/expanding documentation 2012-02-29 21:31:33 -05:00
Celtic Minstrel
17403d617a Fix javadoc errors/warnings 2012-02-29 21:31:28 -05:00
Feildmaster
a628d2faff Revert Plugin to Interface, added PluginBase
Fixed Tests, moved TestPlugin out of messaging
2012-02-29 20:59:56 -05:00
Wesley Wolfe
5b3da3a044 [Bleeding] Optimized locToBlock. Addresses BUKKIT-815 2012-02-29 20:13:05 -05:00
Aidan Matzko
ba3da3ac97 Add optional prefix value to plugin.yml. Addresses BUKKIT-838 2012-02-29 19:58:05 -05:00
EvilSeph
de1a89f90f Re-added launchProjectile lost due to incorrect conflict resolution. 2012-02-29 18:31:20 -05:00
Celtic Minstrel
0b77483c2f [Bleeding] Inventory framework and events. Addresses BUKKIT-856
New events:
- InventoryOpenEvent
- InventoryClickEvent - detects any clicks on a slot or outside the window
  - In the creative inventory view, only clicks on the quickbar are detected
- InventoryCloseEvent
- BrewEvent - when a potion finishes brewing
- CraftItemEvent (a subevent of InventoryClickEvent) - fired when taking the crafted item
- PrepareItemCraftEvent - fired just before updating the result slot
Changes to existing events:
- EnchantItemEvent extends InventoryEvent and also has a new whichButton() method
- PrepareItemEnchantEvent also extends InventoryEvent
- FurnaceBurnEvent and FurnaceSmeltEvent now extend BlockEvent (as does BrewEvent)
- PlayerInventoryEvent is deprecated (though it never did anything anyway)
New subclasses of Inventory:
- BrewerInventory
- CraftingInventory
- DoubleChestInventory
- EnchantingInventory
- FurnaceInventory
New methods in Inventory:
- getViewers()
- getTitle()
- getType()
- getHolder()
- iterator() - Yes, inventories are now iterable!
  - The iterator is a ListIterator that does not support add or remove
New methods in Player:
- getOpenInventory()
- openInventory()
- openWorkbench()
- openEnchanting()
- closeInventory()
- setWindowProperty()
- getItemOnCursor()
- setItemOnCursor()
Other changes:
- createInventory() methods in Server to make inventories not linked to an object
- ContainerBlock is deprecated in favour of InventoryHolder
- New InventoryView class gives direct access to an inventory window!
- Removed the Slot class which did nothing and was used nowhere

Some small credit goes to Afforess (initial conception of openInventory() methods) and Drakia (initial conception of InventoryOpenEvent and InventoryCloseEvent).
2012-02-29 15:18:56 -05:00