Commit Graph

25 Commits

Author SHA1 Message Date
Celtic Minstrel
3604da1f55 [Bleeding] Add ways to retrieve and delete crafting recipes and fixed some issues with the existing recipe API.
- New recipe iterator which enables deleting specific recipes
- Functions to delete all recipes or revert to vanilla recipe set
- Fixed the recipes API; you should now be able to define recipes that take brewed potions!
- Fetch all recipes that result in a specific item
2012-02-21 04:11:58 -05:00
Wesley Wolfe
870d10b077 [Bleeding] Cleanup clone methods. 2012-02-20 05:47:03 -05:00
Wesley Wolfe
2131f6966e [Bleeding] Fixed class cast in ItemStack deserialization. Fixes BUKKIT-777 2012-02-19 01:22:07 -05:00
mushroomhostage
c634d7acdb Allow cloning ItemStacks with unsafe enchantments. Fixes BUKKIT-621
Prevents "IllegalArgumentException: Specified enchantment cannot be applied to this itemstack").
2012-02-13 00:46:34 -05:00
starrynte
46284565a7 Fixed casting in ItemStack.deserialize. 2012-02-03 01:54:00 -05:00
Nathan Adams
0023c705eb Configurations now properly support lists of serializable objects, and ItemStack is properly serializable. Big thanks to GICodeWarrior for the PR. This fixes BUKKIT-425 2012-01-15 11:15:58 +00:00
Nathan Adams
dae33a62c9 ItemStack.getMaxStackSize no longer incorrectly returns -1 when not backed by an NMS instance. Thanks to feildmaster for the PR. This fixes BUKKIT-530 2012-01-15 10:00:27 +00:00
EvilSeph
f131151325 Fixed NPE in ItemStack. Thanks jascotty2! 2012-01-07 19:58:26 -05:00
Erik Broes
dce83b6ce4 Generic cleanup of warnings, whitespace and style. 2011-12-25 16:02:30 +01:00
Nathan Adams
2d430c131b BREAKING: ItemStack no longer implements Serializable 2011-12-12 23:19:03 +00:00
Nathan Adams
4c8622a306 Fixed issue adding mass enchantments to items 2011-11-27 03:58:12 +00:00
Nathan Adams
514c79f42d Added utility methods to ItemStack to allow mass adding of enchantments 2011-11-27 02:45:08 +00:00
Nathan Adams
755b63ee0f Made ItemStack .equals take into account data and enchantments 2011-11-27 02:25:12 +00:00
Nathan Adams
4a005a0849 Added Enchantment API 2011-11-27 01:35:47 +00:00
Dinnerbone
55f405f4a8 Added new Configuration classes 2011-10-10 21:06:34 +01:00
Dinnerbone
e6c273e8b0 Many javadoc fixes thanks to Celtic Minstrel 2011-09-25 02:56:40 +01:00
Erik Broes
c4d444ce98 Whitespace + general cleanup 2011-05-15 14:06:02 +02:00
sk89q
2406a4496d Added dispenser event. 2011-05-08 02:57:26 -07:00
Erik Broes
d94fce59ff Updated README for line-ending demands, also fixed line-endigs. 2011-04-25 13:24:32 +02:00
EvilSeph
4ffc9a6d57 Fixed getData() not returning the correct values. 2011-04-25 07:17:12 -04:00
VictorD
cd490d826b Added a few null pointer checks and performed minor touchups (tried improving a few equals, clone and hashCode methods). 2011-03-05 12:27:51 +01:00
Dinnerbone
8ccfad9456 Renamed ItemStack.set/getDamage to durability, which is now a short. Added Material.getMaxDurability 2011-01-31 01:06:53 +00:00
Tahg
b274a7faec fixed storage of data field 2011-01-17 17:39:27 -05:00
Erik Broes
1f94399da6 Updated Inventory with proper generics, fixed ItemStack to have data as 'Byte' so we can put in nulls when not having data. 2011-01-17 01:50:33 +01:00
Dinnerbone
f419f23cf3 All inventory stuff in org.bukkit moved to org.bukkit.inventory 2011-01-15 21:27:40 +00:00