93 Commits

Author SHA1 Message Date
blablubbabc
6dde4b9fda SPIGOT-5094: Allow opening merchant for wandering traders and hide the xp bar for custom merchants 2019-06-22 18:31:21 +10:00
md_5
7cc7719ffd SPIGOT-5037: Player.openMerchant does not show merchant level 2019-06-07 19:48:12 +10:00
md_5
c5e09ceaaa SPIGOT-4961: Cannot open various inventories 2019-05-20 19:46:20 +10:00
md_5
84400e66b8 SPIGOT-4871: Manually opened double chest doesn't have close animation 2019-05-05 18:39:58 +10:00
md_5
09a453aede SPIGOT-4835: Manually opened chest doesn't have close animation 2019-05-03 17:57:05 +10:00
md_5
5193f762a7 SPIGOT-4803: Fox related APIs 2019-04-28 17:59:12 +10:00
md_5
e3df3d5cda Add Override annotations where appropriate 2019-04-28 11:38:01 +10:00
md_5
1fafd8f3f2 Allow direct opening of another player's inventory
Not recommended - bugs may result, especially re: slot updates
2019-04-27 13:14:40 +10:00
md_5
6bb1f087e7 Loosen restrictions on inventory sizing
Allows creating (but not opening) inventories created eg via Bukkit.createInventory(..., InventoryType.PLAYER);
2019-04-27 12:50:43 +10:00
md_5
ed20842bcf Update to Minecraft 1.14 2019-04-25 12:00:00 +10:00
md_5
5fea790398 Apply import ordering rules to CraftBukkit classes 2019-04-23 14:56:58 +10:00
md_5
a2d787f6eb Update to Minecraft 1.14-pre5 2019-04-23 12:00:00 +10:00
blablubbabc
8d8475fc46 SPIGOT-4666: Force parameter in HumanEntity#sleep
Also moved the application of the force parameter inside EntityHuman, to
no longer allow bypassing of very essential checks.
2019-03-13 18:31:59 +11:00
md_5
917411fd80 Remove redundant BlockPosition creation from sleep API 2019-01-02 22:58:07 +11:00
md_5
8e65d8df6c SPIGOT-4560: Add HumanEntity.sleep and related APIs 2019-01-02 14:43:12 +11:00
md_5
b4230a9a7e Update to Minecraft 1.13.2 2018-10-23 06:00:00 +11:00
Parker Hawke
7a2f486768 Implement PlayerRecipeDiscoverEvent and methods to (un/)discover recipes 2018-10-01 19:15:12 +10:00
md_5
ce1af0c348 Update to Minecraft 1.13.1 2018-08-26 12:00:00 +10:00
blablubbabc
a0c7bcf02a Fix merchant inventories with custom titles 2018-08-01 08:50:08 +10:00
Senmori
3599dbe3c2 SPIGOT-3981: Make custom inventories return specialised types where practical. 2018-07-25 18:03:37 +10:00
md_5
fa1340f7a6 SPIGOT-4022: Improve utility of Entity.getName for non-players 2018-07-17 06:36:08 +10:00
md_5
421c1728c8 Update to Minecraft 1.13-pre7 2018-07-15 10:00:00 +10:00
md_5
4119224efe Fix opening shulker inventories 2018-01-08 16:07:18 +11:00
md_5
dccd2763bd SPIGOT-690: Try to make force opened enchant tables work a bit better 2017-11-18 10:48:16 +11:00
Jannyboy11
79e55b6dcf SPIGOT-1107: Shift clicking and delegation for custom inventories
PR #398
2017-08-18 18:54:49 +10:00
BlackHole
3ecbb59cbb SPIGOT-3248: Don't set shoulder compounds of EntityHuman to null 2017-05-18 07:34:25 +10:00
md_5
5195487ec6 Update to Minecraft 1.12-pre2 2017-05-14 12:00:00 +10:00
md_5
be9ef980b9 Implement cooldown API 2017-04-19 18:04:32 +10:00
md_5
4316a8c246 SPIGOT-3110: SHULKER_BOX InventoryType 2017-03-08 17:56:08 +11:00
md_5
7c743ff64b SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant 2016-12-27 09:01:22 +11:00
Lukas Hennig
0b154b1852 SPIGOT-2272: Add API for virtual Merchants 2016-11-21 15:29:36 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
md_5
48b88ed202 SPIGOT-2656: HumanEntity#isHandRaised()Z 2016-09-04 11:59:41 +10:00
md_5
c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
Matthew
1fefbf9b98 SPIGOT-1806: Implement HumanEntity#getMainHand 2016-03-12 08:15:43 +11:00
md_5
aa008dff0f Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
Thinkofdeath
a0d2928ba4 Add a missing break statement for openInventory, fixes opening dropper inventories 2015-09-18 21:42:40 +01:00
0x277F
2d4f577bbf Fixed how Dropper inventories are shown to players. 2015-09-18 15:16:50 +10:00
Riccardo Paolo Bestetti
5e85956281 SPIGOT-1080: Added support for opening all inventories implementing Bukkit's Inventory class. 2015-07-31 18:47:09 +10:00
md_5
25de1e6baf SPIGOT-769: Fix opening custom inventories. 2015-05-24 10:42:53 +10:00
md_5
6e0120a058 SPIGOT-323: Enchanting tables can no longer be force opened. (reverted from commit bbe75338c18624e66efd56b599d82eb476e5b76c) 2015-03-13 17:53:15 +11:00
md_5
bbe75338c1 SPIGOT-323: Enchanting tables can no longer be force opened. 2015-03-13 17:48:57 +11:00
Thinkofdeath
d8a9c7be42 Update to Minecraft 1.8.3 2015-03-04 09:48:58 +00:00
md_5
dde25d45ef SPIGOT-323: Allow force creating enchant table containers. Usefullness is not guaranteed. 2015-01-05 10:05:01 +11:00
md_5
c99cdafd3f SPIGOT-323: Enchanting tables can no longer be force opened. (reverted from commit 9784338acff089ad16bc6399fca13fe83d0a371a) 2015-01-05 10:00:26 +11:00
md_5
9784338acf SPIGOT-323: Enchanting tables can no longer be force opened. 2015-01-05 09:59:31 +11:00
Fabian Faßbender
497a7b4cfb Add ANVIL and BEACON custom inventories. Also handle a few special cases for inventory sizes 2014-12-03 16:20:55 +00:00
Thinkofdeath
24557bc2b3 Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/
2014-11-28 17:16:30 +11:00
mbax
2726696652 Update CraftBukkit to Minecraft 1.7.2 2013-11-30 19:26:12 -06:00
FrozenBrain
5f65cd9a1c Add support for custom Hopper inventories. Fixes BUKKIT-4722
Opening a hopper inventory created by Server.createInventory will
currently have no effect as proper handling code is missing in
CraftEntityHuman for hopper inventories that aren't associated with a tile
entity or minecart. Initialization logic for hoppers is also missing from
CraftContainer, which is necessary for the opening of custom hopper
inventories.

This commit fixes the two aforementioned by adding proper handling to
CraftHumanEntity for opening inventories not associated with a tile
entity, and by adding initialization logic for hoppers to CraftContainer.
2013-09-10 20:51:35 -05:00