Commit graph

955 commits

Author SHA1 Message Date
CraftBukkit/Spigot
d434857d8a [Bleeding] Added support for all TreeType entries to CraftWorld.generateTree(). Addresses BUKKIT-1161
By: zml2008 <zach@zachsthings.com>
2012-03-13 19:38:39 -07:00
CraftBukkit/Spigot
d6e7e41468 [Bleeding] Added Ageable interface for Villagers and Animals to extend. Addresses BUKKIT-1232
By: aPunch <theapunch@yahoo.com>
2012-03-19 14:12:17 -05:00
CraftBukkit/Spigot
4e5359c080 [Bleeding] Added getting and setting drops to all appropriate events. Fixes BUKKIT-397 and fixes BUKKIT-1252
- Allows drops in creative mode by adding items to the getDrops() list
- Contents of containers are not reported
- Contents of storage minecarts are not reported

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-05 14:21:43 -05:00
CraftBukkit/Spigot
7e41baa24b [Bleeding] Fix the openInventory methods for custom inventories. Fixes BUKKIT-1248
Details:
- The attributes of custom inventory views are no longer ignored
- Enchanting or crafting inventories no longer ignore the passed inventory and open a new one
- Inventories associated with tile entities no longer raise a class cast exception if there was no associated tile entity
- InventoryOpenEvent and InventoryCloseEvent (if they already had some other inventory open) now fire in all cases
- If for any reason the inventory failed to open, the method now returns null instead of returned the previous inventory they had open (or the default inventory, if none)

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-17 13:06:21 -04:00
CraftBukkit/Spigot
5f0bee3860 [Bleeding] Fixed NullPointerException in InventoryView.setCursor() if you tried to empty the cursor by setting it to null. Fixes BUKKIT-1043
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-13 21:46:00 -04:00
CraftBukkit/Spigot
b350a11bc0 [Bleeding] Fix some return types that could lead to ArrayStoreException
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-17 10:28:20 -04:00
CraftBukkit/Spigot
1a5043d05d [Bleeding] Add Chest.getBlockInventory() for convenience; this always returns a single chest inventory. Addresses BUKKIT-1247
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-19 15:01:53 -04:00
CraftBukkit/Spigot
51074e000d [Bleeding] Add iterator() with starting index. Addresses BUKKIT-1246
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-17 10:37:54 -04:00
CraftBukkit/Spigot
04dd6bd9fe [Bleeding] Added way to get/set if Iron Golem was player created. Addresses BUKKIT-1229
By: aPunch <alexpuncochar@yahoo.com>
2012-03-08 20:20:15 -06:00
CraftBukkit/Spigot
e470617011 [Bleeding] Implement ExpBottleEvent; Addresses BUKKIT-888
By: Wesley Wolfe <weswolf@aol.com>
2012-03-20 02:07:13 -05:00
CraftBukkit/Spigot
e1b4d5f3ae Reverted invalid clone. Fixes BUKKIT-1198
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-16 15:46:46 -04:00
CraftBukkit/Spigot
344f7d09a2 [Bleeding] Moved HelpTopicComparator to Bukkit.jar. Addresses BUKKIT-1193
By: rmichela <deltahat@gmail.com>
2012-03-16 03:41:41 -04:00
CraftBukkit/Spigot
177d81afaf [Bleeding] Added support for color codes in help.yml. Addresses BUKKIT-1191
By: rmichela <deltahat@gmail.com>
2012-03-16 00:41:13 -04:00
CraftBukkit/Spigot
8c07dee8c8 [Bleeding] Implemented the command-topics-in-master-index option in help.yml. Addresses BUKKIT-1189
When false, help topics that start with a slash are omitted from the mater index.

By: rmichela <deltahat@gmail.com>
2012-03-15 22:32:31 -04:00
CraftBukkit/Spigot
bb5bd5c069 [Bleeding] Added automatically generated plugin-level sub-indexes to the master help index. Addresses BUKKIT-1180
By: rmichela <deltahat@gmail.com>
2012-03-15 02:28:01 -04:00
CraftBukkit/Spigot
0a4dd7c032 [Bleeding] Added option to remove entire plugins from the help index using the help.yml file. Addresses BUKKIT-1178
By: rmichela <deltahat@gmail.com>
2012-03-14 23:39:19 -04:00
CraftBukkit/Spigot
f3941a2787 [Bleeding] Allow custom inventory views to change their type to BREWING or ENCHANTING, and also allow them to change their title and size. Fixes BUKKIT-1190
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 17:33:18 -04:00
CraftBukkit/Spigot
5cb45990cc [Bleeding] Implemented Inventory.{get,set}MaxStackSize(). Addresses BUKKIT-1076
- Custom inventories also respect this setting now.

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-14 10:00:54 -04:00
CraftBukkit/Spigot
abfdfbf0e2 [Bleeding] Make InventoryView.setItem(-999, item) drop the item on the ground by default.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-13 22:28:27 -04:00
CraftBukkit/Spigot
6f4a370798 [Bleeding] Made ItemStack constructors not default to an amount of 0. Fixes BUKKIT-610
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 16:59:00 -04:00
CraftBukkit/Spigot
4113afbd7c [Bleeding] DoubleChestInventory.getHolder() no longer returns null. Addresses BUKKIT-995
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 16:47:43 -04:00
CraftBukkit/Spigot
5a2b483937 Fix some improper item cloning instances that would have dropped enchantments
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-13 20:50:36 -04:00
CraftBukkit/Spigot
a247a422c1 Fix losing enchants from stacked items in custom inventories
By: Wesley Wolfe <weswolf@aol.com>
2012-03-02 12:52:45 -06:00
CraftBukkit/Spigot
852f37abfd [Bleeding] Implemented ProjectileLaunchEvent. Addresses BUKKIT-284
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 12:45:09 -04:00
CraftBukkit/Spigot
6219bc5085 Updating minecraft-server dependency.
By: EvilSeph <evilseph@gmail.com>
2012-03-15 06:38:46 -04:00
CraftBukkit/Spigot
34c3b6022a Disabled BukkitDLUpdaterServiceTests. Nice to have, but should not be run on every compile as it relies on DLB being up. Addresses BUKKIT-1140
By: EvilSeph <evilseph@gmail.com>
2012-03-15 05:46:27 -04:00
CraftBukkit/Spigot
af07ac93b0 [Bleeding] Fixed maxStack being incorrectly set to 0 in custom craft inventories. Fixes BUKKIT-1181
By: md_5 <md_5@bigpond.com>
2012-03-15 17:55:19 +11:00
CraftBukkit/Spigot
26325dfa92 Fixed EntityDamageByEntityEvent to call for every attackable entity. Fixes BUKKIT-1129, Fixes BUKKIT-1054 and Fixes BUKKIT-147.
By: feildmaster <admin@feildmaster.com>
2012-03-12 17:55:02 -05:00
CraftBukkit/Spigot
4f37e35665 [Bleeding] Call a LAVA BlockIgniteEvent in another place in BlockStationary. Fixes BUKKIT-970
Also adds CraftEventFactory.callEvent(Event), which returns the event called. Currently only used for n.m.s.BlockStationary's lava
BlockIgniteEvent calls.

By: zml2008 <zach@zachsthings.com>
2012-03-10 21:56:55 -08:00
CraftBukkit/Spigot
67f275fc78 Implemented Enchantment.conflictsWith(). Addresses BUKKIT-1159
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 15:32:46 -04:00
CraftBukkit/Spigot
70900406c9 [Bleeding] Added Player.isBlocking(). Addresses BUKKIT-858
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-03-12 10:55:00 -04:00
CraftBukkit/Spigot
cad4f85021 [Bleeding] Added EntityBreakDoorEvent. Fixes BUKKIT-1134
By: feildmaster <admin@feildmaster.com>
2012-03-10 18:43:35 -06:00
CraftBukkit/Spigot
9421839d6d Updated version to 1.2.3-R0.3-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-03-11 06:20:53 -04:00
CraftBukkit/Spigot
407cae8183 Updated version to 1.2.3-R0.2 in pom.xml for beta.
By: EvilSeph <evilseph@gmail.com>
2012-03-11 03:55:50 -04:00
CraftBukkit/Spigot
6ffa5eb075 [Bleeding] Help index now identifies itself as "Help: Index" rather than "Help: null"
By: rmichela <deltahat@gmail.com>
2012-03-11 03:47:27 -04:00
CraftBukkit/Spigot
8ce499e117 Made World.refreshChunk() refresh the chunk, thanks zerg960! Fixes BUKKIT-1014
By: EvilSeph <evilseph@gmail.com>
2012-03-04 16:16:16 -06:00
CraftBukkit/Spigot
a90a7edd76 Only remove blocks when golem is successfully spawned. Fixes BUKKIT-1094
By: feildmaster <admin@feildmaster.com>
2012-03-10 23:01:39 -06:00
CraftBukkit/Spigot
eaf42d8b35 Fixed potential packet loss issue with vanish API. Fixes BUKKIT-1125
By: Kevin Ingersoll <kingersoll@gmail.com>
2012-03-10 14:58:20 -08:00
CraftBukkit/Spigot
023ce58427 [Bleeding] Add getWorldType() and getGenerateStructures() to CraftServer. Fixes BUKKIT-855
By: Mike Primm <mike@primmhome.com>
2012-03-10 01:28:32 -06:00
CraftBukkit/Spigot
b102a1ce59 [Bleeding] Added support for amending help topic visibility permissions in help.yml. Addresses BUKKIT-1113
By: rmichela <deltahat@gmail.com>
2012-03-10 18:08:12 -05:00
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