Commit Graph

100 Commits

Author SHA1 Message Date
Bukkit/Spigot ef84e6b90f SPIGOT-1592: Implement ItemMeta for Spawn Eggs
The Minecraft implementation of spawn eggs is able to construct an entity using all data that is present in the save format, however since the Bukkit API has no such way to construct an entity unattached to a world, and it appears creating such a way is a very challenging task, the decision was instead made to add this API now that 1.11 has entities which may not be represented by data values.
In the future it may be possible to implement a more expanded API cognate with this one.

By: Matthew <stteg@hotmail.com>
2016-12-06 21:12:13 +11:00
Bukkit/Spigot 8b0439979a Add some expansions to Anvil Inventory API
By: Xor Boole <mcyoung@mit.edu>
2016-11-30 16:41:08 +11:00
Bukkit/Spigot c3ecd0d680 Add Unbreakable to ItemMeta
By: md_5 <git@md-5.net>
2016-11-22 14:35:51 +11:00
Bukkit/Spigot 229ff86864 SPIGOT-2272: Add API for virtual Merchants
By: Lukas Hennig <lukas@wirsindwir.de>
2016-11-21 15:29:10 +11:00
Bukkit/Spigot 77cd4eb79a SPIGOT-2782: Custom Colors for Potions
By: md_5 <git@md-5.net>
2016-11-18 09:49:31 +11:00
Bukkit/Spigot 5004927672 SPIGOT-2768: Fully implement map color
By: md_5 <git@md-5.net>
2016-11-17 17:24:01 +11:00
Bukkit/Spigot f1fb3d9462 Update to Minecraft 1.11
By: md_5 <git@md-5.net>
2016-11-17 12:40:59 +11:00
Bukkit/Spigot f0bfb0fdf7 Fix JavaDoc typo in ItemStack#getAmount
By: md_5 <git@md-5.net>
2016-07-24 10:12:29 +10:00
Bukkit/Spigot 73089b49ee Update inventory properties to match current protocol
By: hibo98 <hibo98.niklas@gmail.com>
2016-07-10 18:07:13 +02:00
Bukkit/Spigot ef24ef29c8 SPIGOT-2499: Remove final from ItemStack hashCode
By: md_5 <git@md-5.net>
2016-07-07 10:49:27 +10:00
Bukkit/Spigot 7c4e75f4f2 Improvements to BookMeta API
* Added hasGeneration()
* Corrected javadoc of methods for consistency and accuracy according to CraftBukkit behavior

By: Roy Curtis <roy.adrian.curtis+github@gmail.com>
2016-06-14 22:21:06 +01:00
Bukkit/Spigot 515b95570f SPIGOT-783: API for book generation data.
By: Roy Curtis <roy.adrian.curtis+github@gmail.com>
2016-06-01 17:55:13 +01:00
Bukkit/Spigot 45f0e39e4d SPIGOT-2221: Update and document InventoryView slot conversion
By: md_5 <git@md-5.net>
2016-05-28 22:58:50 +10:00
Bukkit/Spigot e9ec8e1b58 Add some Inventory addItem / removeItem notes
By: md_5 <git@md-5.net>
2016-03-28 16:31:57 +11:00
Bukkit/Spigot 14838056ae Fixed Javadoc errors
By: Sycholic <c_chekay@yahoo.com>
2016-03-22 09:18:24 -04:00
Bukkit/Spigot 949890d29d SPIGOT-1638 / SPIGOT-1673: Rework Potions API
By: t00thpick1 <t00thpick1dirko@gmail.com>
2016-03-02 20:45:27 -05:00
Bukkit/Spigot fe152f147f SPIGOT-1806: Add HumanEntity#getMainHand
By: Matthew <stteg@hotmail.com>
2016-03-11 13:02:00 -05:00
Bukkit/Spigot b10b2605b1 SPIGOT-1526 / SPIGOT-1809: Expand Inventory API
By: md_5 <git@md-5.net>
2016-03-07 17:20:01 +11:00
Bukkit/Spigot ad7fee9850 BUILDTOOLS-203: Fix invalid javadoc
By: md_5 <git@md-5.net>
2016-03-04 16:16:59 +11:00
Bukkit/Spigot 34646e3aeb SPIGOT-1622: Add drop chance methods for off hand.
By: md_5 <git@md-5.net>
2016-03-02 17:02:52 +11:00
Bukkit/Spigot ab952a946f Add Merchant API
By: Xor Boole <mcyoung@mit.edu>
2016-03-01 08:30:04 +11:00
Bukkit/Spigot 128ff503e9 Add fuel related methods to BrewingStand API
By: lapry <lapry34@gmail.com>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot 3f578832ea Add custom experience levels for FurnaceRecipes.
By: hibo98 <hibo98.niklas@gmail.com>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot 93f59ff2de Add getLocation() to Inventory.
By: md_5 <git@md-5.net>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot 2e3099f3cf Implement API for "main hand" and "off hand" slots.
Also deprecate existing "hand" API as it is not specific about which hand is being referred to. Implementations should default this method to the "main hand".

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot bed18dc5ab SPIGOT-1325: Make ItemStack deserialization more robust.
By: md_5 <git@md-5.net>
2015-12-06 11:11:27 +11:00
Bukkit/Spigot 6a0e7d89a8 Fix javadoc HTML error with properly escaped symbols - SPIGOT-935
By: DemonWav <demonwav@gmail.com>
2015-05-28 03:32:25 -05:00
Bukkit/Spigot 4dea166df4 Add more detailed documentation for setItem() in PlayerInventory
By: DemonWav <demonwav@gmail.com>
2015-05-21 17:17:41 -05:00
Bukkit/Spigot 7e256ae56a Add BlockStateMeta which allows creating and editting 1.8's blockEntityTag
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-24 15:36:33 +00:00
Bukkit/Spigot 1917305f97 API for setting/removing hideflags on ItemStacks
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-12-14 16:24:09 +01:00
Bukkit/Spigot e8eb528aba Implement armor stand event.
By: FearThe1337 <admin@fearthe1337.com>
2014-12-10 12:29:58 +01:00
Bukkit/Spigot b2d54f59bb Clean up the javadoc to pass java 8's doclint
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 21:09:01 +00:00
Bukkit/Spigot 8344aacc6e Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/

By: md_5 <git@md-5.net>
2014-11-26 08:15:59 +11:00
Bukkit/Spigot 158b3ce2c1 [Bleeding] Fix logic for calculating slot in Creative mode. Fixes BUKKIT-4715
Previously, hotbar slots for player inventory would return 9 - 18 while in
Creative mode, rather than 0 - 9. This commit fixes the logic used for
calculating the returned slot based on the raw slot.

By: GJ <gjmcferrin@gmail.com>
2013-12-16 23:09:35 -05:00
Bukkit/Spigot bb50f1a774 Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.

By: Wesley Wolfe <weswolf@aol.com>
2013-12-15 01:07:43 -05:00
Bukkit/Spigot 67439804f4 Pulling all pending Bukkit-JavaDoc changes
By: Wesley Wolfe <weswolf@aol.com>
2013-09-10 21:02:53 -05:00
Bukkit/Spigot f9bec6eadd Deprecate magic values
By: Wesley Wolfe <weswolf@aol.com>
2013-08-19 13:32:18 -05:00
Bukkit/Spigot c648e5402c Fix missing closing bracket in addEnchantment. Fixes BUKKIT-4126
Prior to this commit the message would display as "...(given #, bounds
are # to #". This commit changes that by adding the missing bracket to
the end of the statement. This is strictly a visual error.

By: ST-DDT <ST-DDT@gmx.de>
2013-04-20 16:55:23 +03:00
Bukkit/Spigot 599ec05858 Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
2013-08-03 21:46:30 -04:00
Bukkit/Spigot 33843978fc Add Horse API. Adds BUKKIT-4424
API has been added to interface with Horses and to modify their inventories. A new event, HorseJumpEvent, has been added to be fired whenever a horse jumps.

This commit fixes BUKKIT-4393.

By: h31ix <zero_gravity@outlook.com>
2013-07-10 12:18:45 -04:00
Bukkit/Spigot 761a84cb1b Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
2013-04-02 00:11:22 -04:00
Bukkit/Spigot 189ecfe6da Add methods to check for conflicting enchantments. Adds BUKKIT-3830
By: GJ <gjmcferrin@gmail.com>
2013-03-20 01:14:02 -04:00
Bukkit/Spigot 07bdbf973d Add ability to change player item in hand. Adds BUKKIT-3318
By: Patrick Seidel <psycowithespn1@aim.com>
2012-12-27 17:08:09 -05:00
Bukkit/Spigot 0dc86a08f3 Map old wildcard recipe data to new 1.5 value. Fixes BUKKIT-3849
By: Travis Watkins <amaranth@ubuntu.com>
2013-03-21 21:03:30 -05:00
Bukkit/Spigot e5d1bf5f8d Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
2013-03-20 00:42:05 -04:00
Bukkit/Spigot 8065c9095a Improve javadoc in 26 files.
Addresses:
BUKKIT-1643, BUKKIT-1868, BUKKIT-1846, BUKKIT-2632, BUKKIT-3196,
BUKKIT-3187, BUKKIT-3198, BUKKIT-3200, BUKKIT-3201 and BUKKIT-3417.

By: feildmaster <admin@feildmaster.com>
2013-01-22 15:09:24 -06:00
Bukkit/Spigot ba8db742e4 Add method to get defult leather color. Adds BUKKIT-3203
The default leather color is already used internally in place of null. The
javadocs were updated appropriately to indicate as such.

By: Wesley Wolfe <weswolf@aol.com>
2012-12-27 10:45:56 -06:00
Bukkit/Spigot db2058e2d0 Add enchantment storage meta. Adds BUKKIT-3237
Books can 'store' enchantments that can be applied to other items later.
These enchantments exist seperately of enchantments that actually effect the
item, and are as stated 'stored' in the book instead of the book being
enchanted. The meta is generically named as the concept could be applied to
other item types later, such as a enchantment scroll.

All of the methods mimic those in the base meta, but instead specify
'stored' in each method name.

By: Wesley Wolfe <weswolf@aol.com>
2012-12-21 07:28:33 -06:00
Bukkit/Spigot 817fc4e584 Add FireworkEffect and respective item metas. Adds BUKKIT-3236
FireworkEffect is an immutable class that requires the builder pattern
to construct, to reduce ambiguity and help make code uses more readable.

FireworkMeta contains a list of effects, as well as a flight height.

FireworkEffectMeta contains a single effect for charges.

By: Wesley Wolfe <weswolf@aol.com>
2012-12-21 09:06:56 -06:00
Bukkit/Spigot ed7ae6c6d9 Update Bukkit to Minecraft 1.4.6
By: feildmaster <admin@feildmaster.com>
2012-12-20 08:38:59 -06:00