Commit Graph

17 Commits

Author SHA1 Message Date
Bukkit/Spigot
91ffd11c33 #723: Add Furnace#getRecipesUsed
By: Doc <nachito94@msn.com>
2022-02-15 18:48:12 +11:00
Bukkit/Spigot
30a442aef7 Update to Minecraft 1.14-pre5
By: md_5 <git@md-5.net>
2019-04-23 12:00:00 +10:00
Bukkit/Spigot
416c865476 SPIGOT-2540: Add nullability annotations to entire Bukkit API
By: Darkyenus <darkyenus@gmail.com>
2019-03-13 17:42:57 +11:00
Bukkit/Spigot
3fbd969ca7 Add CookTimeTotal API to Furnace
By: md_5 <git@md-5.net>
2019-01-23 10:26:35 +11:00
Bukkit/Spigot
00b0722888 Clarify furnace burn time behaviour as per SPIGOT-844
By: md_5 <git@md-5.net>
2018-12-22 11:03:48 +11:00
Bukkit/Spigot
2ab655238c Improvements to BlockStates
* Update Javadoc of block state classes to better match implementation behaviour.
* Add Container interface which provides access to the snapshot inventory.

By: Lukas Hennig <lukas@wirsindwir.de>
2017-08-05 14:35:40 +10:00
Bukkit/Spigot
853b05b6ab Get Colors from ShulkerBox; Implement CustomName for Tiles.
By: Senmori <thesenmori@gmail.com>
2016-11-18 11:24:16 +11:00
Bukkit/Spigot
0da3e1a443 SPIGOT-2793: Revert Nameable changes
By: md_5 <git@md-5.net>
2016-11-19 03:09:06 +11:00
Bukkit/Spigot
07f7249cf2 Get Colors from ShulkerBox; Implement CustomName for Tiles.
By: Senmori <thesenmori@gmail.com>
2016-11-18 11:24:16 +11:00
Bukkit/Spigot
a05a1330d3 SPIGOT-2706: Implement support for Lock NBT Tag
Containers may now implement the Lockable interface.

By: Senmori <thesenmori@gmail.com>
2016-10-21 16:32:56 +11:00
Bukkit/Spigot
f442df089f Remove deprecated ContainerBlock
Replaced by InventoryHolder since March 2012.

By: Matt <mattbdev@outlook.com>
2016-03-01 08:30:02 +11:00
Bukkit/Spigot
c180de46e2 [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).

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-29 13:32:33 -05:00
Bukkit/Spigot
429eb80d6e Small javadoc cleanup
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-10 21:58:44 +01:00
Bukkit/Spigot
a8e72bdb91 Many javadoc fixes thanks to Celtic Minstrel
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 02:56:40 +01:00
Bukkit/Spigot
855f4133b6 Whitespace + general cleanup
By: Erik Broes <erikbroes@grum.nl>
2011-05-14 23:22:54 +02:00
Bukkit/Spigot
2556140901 Updated README for line-ending demands, also fixed line-endigs.
By: Erik Broes <erikbroes@grum.nl>
2011-04-25 13:24:32 +02:00
Bukkit/Spigot
b880bd518f Added full tile entity data support for all block types that use it, including chests, dispensers, furnaces, mob spawners, and note blocks.
By: sk89q <the.sk89q@gmail.com>
2011-01-23 00:37:36 -08:00