974 Commits

Author SHA1 Message Date
Wesley Wolfe
f54d9354e8 Make class loader preference predictable; Fixes BUKKIT-1591 2012-05-25 15:47:39 -05:00
Acrobot
9f3b14f323 Use existing function to get opposite block face 2012-05-25 05:01:47 -05:00
Wesley Wolfe
eb8f92c83a Add getName() to AnimalTamer 2012-05-24 22:33:45 -05:00
Travis Watkins
f4bee983b0 Optimize ChatColor.getLastColors.
ChatColor searches from the start to the end of a string for chat format
characters but this always has to search the entire string. By starting
from the end of the string and working backwards we can stop searching once
we find a color code or a reset code as any previous formatting is wiped
out by these.
2012-05-16 18:42:39 -05:00
Travis Watkins
5a7f09f1a7 Add IgniteCause.FIREBALL for BUKKIT-1566 2012-05-09 01:41:47 -05:00
feildmaster
f83a59e19f Set help index page to 1 for invalid numbers. Fixes BUKKIT-1569 2012-04-30 17:47:27 -05:00
Wesley Wolfe
5c32e54226 Making MemorySection much more efficient; Addresses BUKKIT-1454 2012-04-30 16:54:00 -05:00
feildmaster
a11efdcfb7 Made clearPermissions public. Addresses BUKKIT-1541 2012-04-27 12:31:42 -05:00
feildmaster
1eb3d54c4b We default to OP 2012-04-27 04:59:53 -05:00
Travis Watkins
78f7c8038d Add API for managing mob spawn limits per-world. Fixes BUKKIT-1565 2012-04-23 21:53:52 -04:00
Wesley Wolfe
1fd825cb7b Adding ceil to NumberConversions 2012-04-15 18:25:57 -05:00
feildmaster
55c12d5dd5 Add SpawnReason.DEFAULT, to make SpawnReason.CUSTOM solely for plugins 2012-04-14 01:31:59 -05:00
feildmaster
92821498f0 Added SpawnReason.SLIME_SPLIT. Addresses BUKKIT-790 2012-04-14 00:59:29 -05:00
feildmaster
3fb02d56b3 Fix createSection getting sections from itself. Fixes BUKKIT-1513 2012-04-14 00:59:22 -05:00
Wesley Wolfe
9030ba5f99 Adds address to PlayerLoginEvent; Addresses BUKKIT-431
This also deprecates old constructors left for compatibility. Address
will default to null in these cases.
2012-04-03 17:00:05 -05:00
EvilSeph
20779ab582 Removed pointless counter and use .length in PluginsCommand. Thanks nallar! 2012-04-02 16:28:58 -04:00
Wesley Wolfe
6650625987 Add new SmoothBrick texture; Addresses BUKKIT-1417 2012-03-31 08:37:32 -05:00
Wesley Wolfe
6240b9a37c Fix Wood(plank) and add Sandstone MaterialData; addresses BUKKIT-1384 2012-03-31 08:35:59 -05:00
Dinnerbone (Laptop)
a0be4ef416 Updated version to 1.2.5-R0.1-SNAPSHOT, changed commands to match vanilla 2012-03-30 23:34:18 +02:00
rmichela
1dc7eadf80 [Bleeding] Removing the last metadata item for a key now sets hasMetadata(key) to false. Addresses BUKKIT-1380 2012-03-28 19:21:57 -04:00
rmichela
e9064329e6 [Bleeding] MetadataBase now properly takes the metadata key into account when computing hasMetadata(). Addresses BUKKIT-1211 2012-03-28 19:21:25 -04:00
Wesley Wolfe
7ce3a4dbcc [Bleeding] Add null check to getFacing(); Fixes BUKKIT-1249 2012-03-27 20:38:03 -04:00
feildmaster
979d54e78d [Bleeding] Added SpawnReason.BREEDING. Addresses BUKKIT-1356 2012-03-27 20:27:41 -04:00
Warren Loo
f520069aa6 Reverting the Drop API for now, we need to re-evalute this as it is causing too many issues and blocking releases.
This reverts commit 2d17b0c24e2de982c09ad6050a95db0fac70c3ad.
2012-03-27 19:54:54 -04:00
EvilSeph
7f5c03101e Added plugin count to the PluginsCommand. 2012-03-22 21:40:31 -04:00
Nathan Adams
ce87b04aae Fixed an index out of range error in ChatColor.getLastColors 2012-03-22 23:09:10 +00:00
Nathan Adams
97ba2ff938 Added isFormat, isColor and getLastColors methods to ChatColor 2012-03-22 23:01:44 +00:00
Nathan Adams
4a3a177ddd Added player.isFlying|setFlying to check if a player is flying, or make them fly/not. This implements BUKKIT-1281. 2012-03-22 22:03:47 +00:00
EvilSeph
2854528ba5 Added new MELTING DamageCause. Addresses BUKKIT-1244 2012-03-22 17:33:32 -04:00
EvilSeph
ec9fdd4811 Added configurable Connection Throttle. Addresses BUKKIT-1274 2012-03-22 16:55:57 -04:00
Nathan Adams
557c4f0a75 Added some new ChatColors. Surprise! :D 2012-03-22 20:47:09 +00:00
Wesley Wolfe
e6539615a7 [Bleeding] Fixed soft-dependencies broken by previous commit. 2012-03-22 03:12:00 -04:00
rmichela
816d7d850c [Bleeding] Made IndexHelpTopic more conducive to subclassing. Addresses BUKKIT-1263 2012-03-22 00:48:48 -04:00
zml2008
45d5f691b1 [Bleeding] Added swamp trees and small jungle trees to TreeType. Addresses BUKKIT-1162
- Also added in xpansive's tweaks to BlockChangeDelegate for extra methods
2012-03-21 20:30:48 -04:00
Wesley Wolfe
aff0ded5a7 [Bleeding] Added loadbefore property; Addresses BUKKIT-843 2012-03-21 15:44:43 -04:00
aPunch
3bd599f8ab [Bleeding] Added Ageable interface for Villagers and Animals to extend. Addresses BUKKIT-1232 2012-03-21 15:43:19 -04:00
Celtic Minstrel
066ccf6062 [Bleeding] Added getting and setting drops to all appropriate events. Fixes BUKKIT-397 and fixes BUKKIT-1252 2012-03-21 12:31:22 -04:00
Celtic Minstrel
bf771c192d [Bleeding] Fixed some issues with no-effect potions, and added more potion tests. Fixes BUKKIT-1251 2012-03-21 12:31:21 -04:00
Celtic Minstrel
132ee04542 [Bleeding] Add Chest.getBlockInventory() for convenience; this always returns a single chest inventory. Addresses BUKKIT-1247 2012-03-20 19:49:40 -04:00
Celtic Minstrel
3da0557aa0 [Bleeding] Add iterator() with starting index. Addresses BUKKIT-1246 2012-03-20 19:49:39 -04:00
aPunch
c74338d550 [Bleeding] Added way to get/set if an Iron Golem was player created. Addresses BUKKIT-1229 2012-03-20 05:13:22 -04:00
Wesley Wolfe
e4ca064cdc [Bleeding] Add ExpBottleEvent; Addresses BUKKIT-888 2012-03-20 03:24:37 -04:00
rmichela
3a737b3a27 [Bleeding] Moved HelpTopicComparator to Bukkit.jar. Addresses BUKKIT-1193 2012-03-16 03:48:22 -04:00
rmichela
606f33903c [Bleeding] Added ChatColor.translateAlternateColorCodes(). Addresses BUKKIT-1191 2012-03-16 02:48:54 -04:00
rmichela
776745c335 [Bleeding] Added automatically generated plugin-level sub-indexes to the master help index. Addresses BUKKIT-1180 2012-03-16 02:47:14 -04:00
rmichela
d6e1f63529 Aesthetic changes to the /help command. 2012-03-16 02:44:30 -04:00
rmichela
494c913fef [Bleeding] Added option to remove entire plugins from the help index using the help.yml file. Addresses BUKKIT-1178 2012-03-16 02:42:12 -04:00
Celtic Minstrel
4507bd922f [Bleeding] Add Inventory.{get,set}MaxStackSize(). Addresses BUKKIT-1076 2012-03-15 22:33:15 -04:00
Celtic Minstrel
09eacb968d [Bleeding] Make InventoryView.setItem(-999, item) drop the item on the ground by default. 2012-03-15 22:24:23 -04:00
Celtic Minstrel
f528e62a84 [Bleeding] CraftItemEvent.getInventory() now returns CraftingInventory for convenience. 2012-03-15 22:24:01 -04:00