Commit graph

2248 commits

Author SHA1 Message Date
CraftBukkit/Spigot
74902a47aa SPIGOT-2936: Simplify WorldBorder diff
By: md_5 <git@md-5.net>
2016-12-19 23:05:39 +11:00
CraftBukkit/Spigot
595c69ab7b SPIGOT-2930: Shift calling of PlayerItemBreakEvent to before break.
By: md_5 <git@md-5.net>
2016-12-18 09:26:36 +11:00
CraftBukkit/Spigot
75f7baf1ad SPIGOT-2926: Check spawn-npcs setting for NPCs.
Probably should refactor this code to be more similar to Vanilla in future.

By: md_5 <git@md-5.net>
2016-12-17 14:26:09 +11:00
CraftBukkit/Spigot
348449a44a SPIGOT-2923: Added PotionEffectType#getColor()
By: Lukas Hennig <lukas@wirsindwir.de>
2016-12-16 17:22:21 +01:00
CraftBukkit/Spigot
fe586949bf SPIGOT-2924: Improve handling of Jukeboxes playing nothing.
By: md_5 <git@md-5.net>
2016-12-17 09:45:14 +11:00
CraftBukkit/Spigot
d69f49d486 SPIGOT-1036: Add API to manipulate sendTitle timings.
By: md_5 <git@md-5.net>
2016-12-16 09:48:14 +11:00
CraftBukkit/Spigot
694b7ad459 SPIGOT-2918: Always call EnchantItemEvent
By: md_5 <git@md-5.net>
2016-12-14 14:38:55 +11:00
CraftBukkit/Spigot
54e60aee75 SPIGOT-2913: Only one enchantment applied to items
By: md_5 <git@md-5.net>
2016-12-13 08:44:50 +11:00
CraftBukkit/Spigot
d381e7b934 SPIGOT-2912: Fix enchanting with ID of 0
By: md_5 <git@md-5.net>
2016-12-12 09:35:31 +11:00
CraftBukkit/Spigot
a9e3f93ed3 Add getLocation for InventoryEnderChest
By: md_5 <git@md-5.net>
2016-12-11 16:41:40 +11:00
CraftBukkit/Spigot
b5bd9528a0 Add EnchantmentOffer to PrepareItemEnchantEvent
By: md_5 <git@md-5.net>
2016-12-11 11:10:38 +11:00
CraftBukkit/Spigot
25e61b60e4 SPIGOT-2242: Handle changed item in PlayerPickupArrowEvent
By: md_5 <git@md-5.net>
2016-12-10 12:48:56 +11:00
CraftBukkit/Spigot
87d502339e SPIGOT-2524: Update inventory for cancelled air right click
By: md_5 <git@md-5.net>
2016-12-10 12:36:09 +11:00
CraftBukkit/Spigot
8b77464a94 SPIGOT-2907: Improve EntityResurrectEvent handling
By: md_5 <git@md-5.net>
2016-12-10 12:16:14 +11:00
CraftBukkit/Spigot
b4a50e447b SPIGOT-2908: Correctly spawn LlamaSpit
By: md_5 <git@md-5.net>
2016-12-10 12:10:28 +11:00
CraftBukkit/Spigot
05fbc8df18 Clean up BlockFlowing
By: md_5 <git@md-5.net>
2016-12-09 12:56:49 +11:00
CraftBukkit/Spigot
2fa7ac3174 SPIGOT-2886: Call BlockFormEvent when Lava and Water collide
By: Brokkonaut <hannos17@gmx.de>
2016-12-09 12:53:15 +11:00
CraftBukkit/Spigot
9e8988306c Use CraftEventFactory for BlockFormEvent
By: md_5 <git@md-5.net>
2016-12-09 12:45:21 +11:00
CraftBukkit/Spigot
cd5305a554 Add API to get default value of an Attribute
By: md_5 <git@md-5.net>
2016-12-09 12:31:08 +11:00
CraftBukkit/Spigot
597dc19283 SPIGOT-2894: Preserve unreadable spawn egg data in memory
By: md_5 <git@md-5.net>
2016-12-07 10:44:57 +11:00
CraftBukkit/Spigot
00609fd3df SPIGOT-2891: Remove chunks if first check is false
Minecraft does double checking for synchronous generation, but since we generate chunks asynchronously we are required to check the first condition also in case the chunk was loaded between ticks. We leave the other logic to be cleaned up by the loops below.

By: md_5 <git@md-5.net>
2016-12-06 22:05:58 +11:00
CraftBukkit/Spigot
9c16a5f61a Implement pre-spawn API to allow modifications to spawned entities.
See preceding commit for why this change was included.

By: Xor Boole <mcyoung@mit.edu>
2016-12-06 21:39:20 +11:00
CraftBukkit/Spigot
dd89db67a5 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:15:10 +11:00
CraftBukkit/Spigot
e40bffa82a SPIGOT-2890: SetBiome not saving changes
By: md_5 <git@md-5.net>
2016-12-06 20:46:04 +11:00
CraftBukkit/Spigot
db5c1e3e66 Implement EntityDeathEvent for ArmorStands
By: Senmori <thesenmori@gmail.com>
2016-12-03 16:32:13 -05:00
CraftBukkit/Spigot
24fdb26050 SPIGOT-2889: Error cancelling creative InventoryClickEvent
By: md_5 <git@md-5.net>
2016-12-05 09:07:25 +11:00
CraftBukkit/Spigot
5443bf1110 #326: Convert BlockMeta to handle older serialized items.
By: Jacob Martin <jjm_223@hotmail.com>
2016-12-03 10:51:53 +11:00
CraftBukkit/Spigot
83cf54fd9d SPIGOT-2879: Change order of entity addition for ender pearls
By: md_5 <git@md-5.net>
2016-12-03 09:55:36 +11:00
CraftBukkit/Spigot
bdf0df74a9 SPIGOT-911: Add hitBlock to PorjectileHitEvent
By: md_5 <git@md-5.net>
2016-12-02 09:38:50 +11:00
CraftBukkit/Spigot
a00951dd57 SPIGOT-2871: Improve BlockStates + BlockStateMeta
By: md_5 <git@md-5.net>
2016-12-02 09:29:33 +11:00
CraftBukkit/Spigot
159538aaba Reduce outdated build delay further.
By: md_5 <git@md-5.net>
2016-12-01 10:19:09 +11:00
CraftBukkit/Spigot
e593f348c8 Add some expansions to Anvil Inventory API
By: Xor Boole <mcyoung@mit.edu>
2016-11-30 16:40:40 +11:00
CraftBukkit/Spigot
081c11644f SPIGOT-2867: Update inventory on cancelled interacts too
By: md_5 <git@md-5.net>
2016-11-30 15:33:29 +11:00
CraftBukkit/Spigot
ccedad711d Fangs degree => radians (and back)
By: md_5 <git@md-5.net>
2016-11-30 09:56:09 +11:00
CraftBukkit/Spigot
21a4e56ad5 Expand definition of isFrozen
By: md_5 <git@md-5.net>
2016-11-30 09:16:01 +11:00
CraftBukkit/Spigot
e12c8edd14 SPIGOT-2862: Cannot spawn evoker fangs
By: md_5 <git@md-5.net>
2016-11-30 08:37:06 +11:00
CraftBukkit/Spigot
140a834de3 SPIGOT-2860: Don't create 0 exp orbs when breeding
By: md_5 <git@md-5.net>
2016-11-29 15:42:46 +11:00
CraftBukkit/Spigot
5cdc0bbd0e Add hitEntity to ProjectileHitEvent
By: md_5 <git@md-5.net>
2016-11-28 12:47:01 +11:00
CraftBukkit/Spigot
3f8ec9a859 SPIGOT-2855: Empty ItemStacks in PlayerDeathEvent drops
By: md_5 <git@md-5.net>
2016-11-28 12:34:21 +11:00
CraftBukkit/Spigot
ad94b29ad6 Build expiry is now 1 week
By: md_5 <git@md-5.net>
2016-11-28 10:19:33 +11:00
CraftBukkit/Spigot
8eb1f2cdd7 SPIGOT-1401: Issues placing blocks adjacent to eachother
By: md_5 <git@md-5.net>
2016-11-28 10:13:49 +11:00
CraftBukkit/Spigot
1070f2682f Fix possible leaks in vanish API
By: md_5 <git@md-5.net>
2016-11-28 10:02:40 +11:00
CraftBukkit/Spigot
8399bc349a SPIGOT-2850: NPE in CraftInventoryCrafting
By: md_5 <git@md-5.net>
2016-11-27 17:03:28 +11:00
CraftBukkit/Spigot
0dcf5cb67e SPIGOT-2695: Added BrewingStandFuelEvent and added fuel level to the BrewEvent
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-24 18:03:48 +01:00
CraftBukkit/Spigot
c6077651a7 Added method for spawning a falling block with the BlockData
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-26 19:23:20 +01:00
CraftBukkit/Spigot
0069e6122a Fix banner color. Banners have inverted color bytes.
By: kaenganxt <kaenganxt@yahoo.de>
2016-11-25 21:02:13 +01:00
CraftBukkit/Spigot
223f2ee80f SPIGOT-2842: Improve item age handling
By: md_5 <git@md-5.net>
2016-11-25 10:31:53 +11:00
CraftBukkit/Spigot
d722f59600 Farmland is a pickable block
By: md_5 <git@md-5.net>
2016-11-24 21:29:41 +11:00
CraftBukkit/Spigot
4ed4ac8d00 SPIGOT-619: Force rotate head of entities when setting location.
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-23 22:21:08 +01:00
CraftBukkit/Spigot
5a3215856c SPIGOT-2833: Tile entities occasionally wiped after placement
By: md_5 <git@md-5.net>
2016-11-24 09:30:01 +11:00
CraftBukkit/Spigot
874e784b8a SPIGOT-2836: ProjectileHitEvent not always firing for FishHook
By: md_5 <git@md-5.net>
2016-11-23 22:50:37 +11:00
CraftBukkit/Spigot
2f768a3cfb SPIGOT-2835: CraftBlock getDrops Returns Air
By: md_5 <git@md-5.net>
2016-11-23 22:02:36 +11:00
CraftBukkit/Spigot
c85a3c331b SPIGOT-2765: Special case entity triggered explosions for HangingBreakEvent
By: md_5 <git@md-5.net>
2016-11-23 10:34:08 +11:00
CraftBukkit/Spigot
6b773ce751 SPIGOT-2824: Llama Strength API
By: md_5 <git@md-5.net>
2016-11-23 10:27:49 +11:00
CraftBukkit/Spigot
90d646054a SPIGOT-2822: Droppers are droppers
By: md_5 <git@md-5.net>
2016-11-22 20:21:19 +11:00
CraftBukkit/Spigot
1eee4ff9cb Add Unbreakable to ItemMeta
By: md_5 <git@md-5.net>
2016-11-22 14:35:54 +11:00
CraftBukkit/Spigot
fe2d118352 Implement default title for custom merchants
By: md_5 <git@md-5.net>
2016-11-22 10:53:36 +11:00
CraftBukkit/Spigot
22dd0c1849 SPIGOT-2817: Custom Merchant title omits color
By: md_5 <git@md-5.net>
2016-11-22 10:30:01 +11:00
CraftBukkit/Spigot
db370129b4 Fix setCarryingChest not resizing horse inventory
By: md_5 <git@md-5.net>
2016-11-21 21:56:17 +11:00
CraftBukkit/Spigot
f6dd4eff69 SPIGOT-2272: Add API for virtual Merchants
By: Lukas Hennig <lukas@wirsindwir.de>
2016-11-21 15:29:36 +11:00
CraftBukkit/Spigot
8d52a891a4 SPIGOT-2810: Fix entity statistics
By: BlackHole <black-hole@live.com>
2016-11-20 20:10:39 +01:00
CraftBukkit/Spigot
6d1f84a8e1 SPIGOT-2807: Update inventory when attack cancelled
By: md_5 <git@md-5.net>
2016-11-20 14:13:21 +11:00
CraftBukkit/Spigot
1026d97b35 SPIGOT-2806: Fix PlayerDropItemEvent for disconnected players
By: md_5 <git@md-5.net>
2016-11-20 10:19:22 +11:00
CraftBukkit/Spigot
0193564053 Fix cancelling PlayerEditBookEvent
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-19 12:40:42 +01:00
CraftBukkit/Spigot
a68281e279 SPIGOT-2800: Can only smelt 63 stack
By: md_5 <git@md-5.net>
2016-11-19 21:14:46 +11:00
CraftBukkit/Spigot
a61117da28 SPIGOT-2801: Missing break in CraftMetaBlockState
By: md_5 <git@md-5.net>
2016-11-19 21:11:54 +11:00
CraftBukkit/Spigot
c8c4604bfd SPIGOT-2799: ItemFrame set null error
By: md_5 <git@md-5.net>
2016-11-19 20:28:04 +11:00
CraftBukkit/Spigot
0816d8a06f Add additional APIs for Evoker / EvokerFangs
By: momothereal <momothereal.mc@gmail.com>
2016-11-19 18:53:57 +11:00
CraftBukkit/Spigot
5fd13b693b Implement isCursed for new enchantments
By: Senmori <thesenmori@gmail.com>
2016-11-18 23:46:27 -05:00
CraftBukkit/Spigot
3095757b40 Change style of PAIL comments in README.md
By: md_5 <git@md-5.net>
2016-11-19 16:05:22 +11:00
CraftBukkit/Spigot
1159a15bf0 SPIGOT-2798: Fix ShulkerBox BlockStateMeta
By: md_5 <git@md-5.net>
2016-11-19 15:59:04 +11:00
CraftBukkit/Spigot
3e21482d20 Attempt to sync damage up again - golden apples this time
By: md_5 <git@md-5.net>
2016-11-19 14:53:19 +11:00
CraftBukkit/Spigot
38fb5c2469 Add stopSound for specific sound category & unit test for SoundCategory
By: md_5 <git@md-5.net>
2016-11-19 14:27:18 +11:00
CraftBukkit/Spigot
de0b8db8ad Implement SoundCategory for playing sounds.
By: LukBukkit <luk.bukkit@gmail.com>
2016-11-19 14:20:13 +11:00
CraftBukkit/Spigot
e73c499794 SPIGOT-2795: InventoryClickEvent issues
By: md_5 <git@md-5.net>
2016-11-19 13:51:10 +11:00
CraftBukkit/Spigot
a43e456dca Get Colors from ShulkerBox; Implement CustomName for Tiles.
By: Senmori <thesenmori@gmail.com>
2016-11-18 11:24:41 +11:00
CraftBukkit/Spigot
3fd399bd50 SPIGOT-2793: Revert Nameable changes
By: md_5 <git@md-5.net>
2016-11-19 03:10:04 +11:00
CraftBukkit/Spigot
9cf6536881 SPIGOT-2792: Return PIG for broken spawners
By: md_5 <git@md-5.net>
2016-11-18 15:32:27 +11:00
CraftBukkit/Spigot
f95e0cbeef SPIGOT-2790: Remove negative item ID filtering again
By: md_5 <git@md-5.net>
2016-11-18 15:12:11 +11:00
CraftBukkit/Spigot
2fb5813dc8 SPIGOT-2789: ShulkerBox missing override
By: md_5 <git@md-5.net>
2016-11-18 12:00:17 +11:00
CraftBukkit/Spigot
bd1ee334c6 Get Colors from ShulkerBox; Implement CustomName for Tiles.
By: Senmori <thesenmori@gmail.com>
2016-11-18 11:24:41 +11:00
CraftBukkit/Spigot
7e4dfe78e5 SPIGOT-2787: Keep performing getter null conversion at call sites
By: md_5 <git@md-5.net>
2016-11-18 11:07:02 +11:00
CraftBukkit/Spigot
9dad03430b SPIGOT-2777: Mobs not being angered by snowballs
By: md_5 <git@md-5.net>
2016-11-18 10:57:53 +11:00
CraftBukkit/Spigot
c1a05bcbea SPIGOT-2786: Restore some fireworks code lost in update
By: md_5 <git@md-5.net>
2016-11-18 10:11:19 +11:00
CraftBukkit/Spigot
59b6b056d4 Update to SQLite 3.15.x
By: md_5 <git@md-5.net>
2016-11-18 09:57:14 +11:00
CraftBukkit/Spigot
e5bc8e659e SPIGOT-2782: Custom Colors for Potions
By: md_5 <git@md-5.net>
2016-11-18 09:49:54 +11:00
CraftBukkit/Spigot
42ec813009 Remove more redundant code
By: md_5 <git@md-5.net>
2016-11-18 09:28:11 +11:00
CraftBukkit/Spigot
43609f7ab2 SPIGOT-2779: NPE when spawning firework with plugin
By: md_5 <git@md-5.net>
2016-11-18 09:22:40 +11:00
CraftBukkit/Spigot
4e151a9020 SPIGOT-2784: Fix Withers not being built
By: md_5 <git@md-5.net>
2016-11-18 09:20:14 +11:00
CraftBukkit/Spigot
3567940dda Remove now redundant code
By: md_5 <git@md-5.net>
2016-11-18 09:14:51 +11:00
CraftBukkit/Spigot
a75c80e93d Remove unit test based on now incorrect assumptions
By: md_5 <git@md-5.net>
2016-11-18 09:11:17 +11:00
CraftBukkit/Spigot
2513cf0b73 SPIGOT-2772, SPIGOT-2780: Improve empty ItemStack handling
By: md_5 <git@md-5.net>
2016-11-18 09:04:07 +11:00
CraftBukkit/Spigot
3d88bfd277 SPIGOT-2771: Safely execute command block commands
By: md_5 <git@md-5.net>
2016-11-18 08:54:22 +11:00
CraftBukkit/Spigot
1150126304 SPIGOT-2773: More fully implement ShulkerBox meta
By: md_5 <git@md-5.net>
2016-11-18 08:50:38 +11:00
CraftBukkit/Spigot
53a37d68fc SPIGOT-2785: Wrong effect ID for wither sounds
By: md_5 <git@md-5.net>
2016-11-18 08:41:21 +11:00
CraftBukkit/Spigot
5e5fe9d2ed SPIGOT-2770: Can Place Structure Blocks Even When Not Op
By: md_5 <git@md-5.net>
2016-11-17 21:01:15 +11:00
CraftBukkit/Spigot
1801a1d84a SPIGOT-2768: Fully implement map color
By: md_5 <git@md-5.net>
2016-11-17 17:24:20 +11:00
CraftBukkit/Spigot
4e412ab4e3 Update to Minecraft 1.11
By: md_5 <git@md-5.net>
2016-11-17 12:41:03 +11:00
CraftBukkit/Spigot
49bc1c57f9 Implement Entity Scoreboard Tags
By: Senmori <thesenmori@gmail.com>
2016-11-06 12:14:14 +11:00
CraftBukkit/Spigot
0fcb2058cf SPIGOT-2757: Player#stopSound Stops All Sounds
By: md_5 <git@md-5.net>
2016-11-06 10:36:38 +11:00