Commit graph

2319 commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
2215fc8e24 SPIGOT-2752: Fix resetMaxHealth
By: md_5 <git@md-5.net>
2016-11-04 18:11:36 +11:00
CraftBukkit/Spigot
259427c8af Add Enchantment#isTreasure()Z
Determines if the enchantment is a treasure enchantment - only available via means other than the enchantment table.

By: Senmori <thesenmori@gmail.com>
2016-10-25 11:16:50 -04:00
CraftBukkit/Spigot
714d2583c4 Explicitly log exception from asynchronous tasks.
Previously an UnhandledException would be thrown and the stack trace / message would be printed to System.err in the default UncaughtExceptionHandler for ThreadGroup. This was undesirable as it meant that logging frameworks / exception monitors such as Sentry were unable to get the exception. Additionally it would cause the death of the thread in the ExecutorService. This change mimics the behaviour of exceptions occuring during synchronous tasks.

By: hibo98 <hibo98.niklas@gmail.com>
2016-10-24 18:47:47 +11:00
CraftBukkit/Spigot
cf579b12bc SPIGOT-1903, MC-98153: Portal Location Sync Issues
By: md_5 <git@md-5.net>
2016-10-23 14:00:35 +11:00
CraftBukkit/Spigot
537ae5a7b0 SPIGOT-2738: Revert SPIGOT-1903 fix
Reverted from commit 69cae6228b

By: md_5 <git@md-5.net>
2016-10-23 12:45:07 +11:00
CraftBukkit/Spigot
4f9f31ccc0 SPIGOT-2737: Implement Statistic.PICKUP
By: md_5 <git@md-5.net>
2016-10-22 13:07:22 +11:00
CraftBukkit/Spigot
0228a9574e SPIGOT-2706: Implement support for Lock NBT Tag
Containers may now implement the Lockable interface.

By: Senmori <thesenmori@gmail.com>
2016-10-21 16:35:55 +11:00
CraftBukkit/Spigot
69cae6228b SPIGOT-1903: Only issue player location update after tick
Previously after a player tick, the player's location would be reset back to the location which they had prior to the tick, only to be (hopefully) corrected at a later point, after the client had attempted (and failed) to acknowledge the location change.

By: md_5 <git@md-5.net>
2016-10-19 20:43:47 +11:00
CraftBukkit/Spigot
49316bb556 SPIGOT-2726: Fix duplicate UUID check not always running
World.addEntity(Entity entity) calls addEntity(entity, SpawnReason.DEFAULT), which contains the code that was originally in addEntity (and some event code).

However, WorldServer previously only had addEntity(Entity entity), so if addEntity(Entity entity, SpawnReason spawnreason) was called directly, the UUID check that's found in it (the call to 'i') is skipped.  This happens, among other places, in ChunkRegionLoader.spawnEntity (which /summon uses).

I fixed this by making WorldServer override the SpawnReason version, rather than the regular version.  This is safe to do because the World version calls the SpawnReason version - it's not necessary to do the same thing in WorldServer.

By: Pokechu22 <Pokechu022@gmail.com>
2016-10-15 23:20:12 -07:00
CraftBukkit/Spigot
fc00e0cbca SPIGOT-2686: Vehicles cannot collide with air
By: md_5 <git@md-5.net>
2016-10-12 19:47:14 +11:00
CraftBukkit/Spigot
001b26f1ae Fix looting enchant using wrong variable
By: md_5 <git@md-5.net>
2016-10-10 17:02:49 +11:00
CraftBukkit/Spigot
1160f867a4 SPIGOT-2694: Update other half of door on BlockBreakEvent
By: md_5 <git@md-5.net>
2016-10-10 16:58:14 +11:00
CraftBukkit/Spigot
01ba47a5c0 SPIGOT-2717: /execute over RCON
By: md_5 <git@md-5.net>
2016-10-09 14:00:04 +11:00
CraftBukkit/Spigot
a4f5074da8 MC-54738: Fix ocean biome spikes due to minHeight sign inversion.
By: Ryan Michela <deltahat@gmail.com>
2016-10-06 22:31:53 -07:00
CraftBukkit/Spigot
11234326be SPIGOT-2711: CraftPlayer.getPlayerListName removes black colour
By: md_5 <git@md-5.net>
2016-10-05 19:33:33 +11:00
CraftBukkit/Spigot
502373d73c SPIGOT-2705: Portal cooldown getter / setter.
By: md_5 <git@md-5.net>
2016-10-01 12:26:20 +10:00
CraftBukkit/Spigot
dc3ec1e507 SPIGOT-2683: Missing BlockDispenseEvents
By: md_5 <git@md-5.net>
2016-09-19 18:20:15 +10:00
CraftBukkit/Spigot
40acfc98f2 SPIGOT-2679: Add meta for StructureBlock
By: md_5 <git@md-5.net>
2016-09-18 09:58:54 +10:00
CraftBukkit/Spigot
2a63c00f21 Run sync tasks scheduled for the same tick FIFO
By: AgentLV <contact@agentlv.net>
2016-09-10 23:09:29 +02:00
CraftBukkit/Spigot
0faf0e750e Remove unneeded change
By: md_5 <git@md-5.net>
2016-09-11 14:14:13 +10:00
CraftBukkit/Spigot
ceee1b96e1 SPIGOT-2639: Better state validation
By: md_5 <git@md-5.net>
2016-09-05 17:33:28 +10:00
CraftBukkit/Spigot
e6363be8b3 SPIGOT-2656: HumanEntity#isHandRaised()Z
By: md_5 <git@md-5.net>
2016-09-04 11:59:41 +10:00
CraftBukkit/Spigot
d9aefeb601 SPIGOT-2653: Better align combustion with vanilla behaviour
By: md_5 <git@md-5.net>
2016-09-03 16:39:21 +10:00
CraftBukkit/Spigot
6711effca1 SPIGOT-2644: Clearer error for invalid hanging spawns
By: md_5 <git@md-5.net>
2016-08-31 17:25:37 +10:00
CraftBukkit/Spigot
859ccb933b SPIGOT-2634: Concurrency issue in FileIOThread
By: md_5 <git@md-5.net>
2016-08-27 15:51:54 +10:00
CraftBukkit/Spigot
89ad42c3ab SPIGOT-2630: Console tab complete
By: md_5 <git@md-5.net>
2016-08-26 08:06:06 +10:00
CraftBukkit/Spigot
29623943f1 SPIGOT-2618: Register permissions before plugin enabled.
Brings behaviour in line with command registration, and won't affect plugins which don't already error.

By: md_5 <git@md-5.net>
2016-08-25 13:11:42 +10:00
CraftBukkit/Spigot
e82ad8c82f SPIGOT-215: Implement infrastructure for Location tab completes
By: DemonWav <demonwav@gmail.com>
2016-08-25 09:48:52 +10:00
CraftBukkit/Spigot
7b4d8c3f3f SPIGOT-2622: Ensure all players are safely disconnected on shutdown
By: md_5 <git@md-5.net>
2016-08-23 14:02:48 +10:00
CraftBukkit/Spigot
cf6a18e39f SPIGOT-2616: Fix dispensers dispensing TNT making squid sounds
This was caused by the wrong obfuscated sound effect being used, probably due to a merge issue.

By: Pokechu22 <Pokechu022@gmail.com>
2016-08-20 09:48:07 +10:00
CraftBukkit/Spigot
22d343c1f4 SPIGOT-2581: EntityAirChangeEvent
By: md_5 <git@md-5.net>
2016-08-08 18:24:21 +10:00
CraftBukkit/Spigot
44ea5ef72b SPIGOT-2578: Method to get PotionEffect of specific type.
By: md_5 <git@md-5.net>
2016-08-07 10:53:39 +10:00
CraftBukkit/Spigot
42a06f7c4b SPIGOT-2574: BlockPopulators added twice.
By: md_5 <git@md-5.net>
2016-08-06 10:04:06 +10:00
CraftBukkit/Spigot
1e446f7eac SPIGOT-2559: Kill all entities when called with setHealth(0)
By: md_5 <git@md-5.net>
2016-07-30 10:06:07 +10:00
CraftBukkit/Spigot
bd38417962 Deprecate and stop using Java15Compat class.
By: md_5 <git@md-5.net>
2016-07-29 17:28:51 +10:00
CraftBukkit/Spigot
f54537460b SPIGOT-2552: Aliases for Vanilla commands
By: md_5 <git@md-5.net>
2016-07-26 09:05:08 +10:00
CraftBukkit/Spigot
fa09d39f84 Hook into World for light getters due to additional validation.
By: md_5 <git@md-5.net>
2016-07-25 19:04:06 +10:00
CraftBukkit/Spigot
0237142cbd SPIGOT-2548: Don't special case spawn locations of falling blocks
By: md_5 <git@md-5.net>
2016-07-23 16:23:31 +10:00
CraftBukkit/Spigot
4e6c8a8362 Enhance Beacon Block API
By: md_5 <git@md-5.net>
2016-07-23 10:55:43 +10:00
CraftBukkit/Spigot
467c8686b0 Implement basic Beacon Block API
By: redwallhp <mcredwallhp@gmail.com>
2016-07-18 03:40:07 -04:00
CraftBukkit/Spigot
9baef28a81 SPIGOT-2537: Relax skull check even for nominally invalid skulls.
By: md_5 <git@md-5.net>
2016-07-22 20:34:17 +10:00
CraftBukkit/Spigot
234b54be67 Fall back to name if skull has no uuid when getting player.
By: md_5 <git@md-5.net>
2016-07-22 12:02:16 +10:00
CraftBukkit/Spigot
3aa2d8025a Simplify a few diffs
By: md_5 <git@md-5.net>
2016-07-15 20:08:04 +10:00
CraftBukkit/Spigot
1e7be02c6b SPIGOT-2520: Better skull validation
By: md_5 <git@md-5.net>
2016-07-13 11:47:57 +10:00
CraftBukkit/Spigot
a9eb9b3f1a SPIGOT-2495: Better validation of Skulls.
By: md_5 <git@md-5.net>
2016-07-12 20:18:08 +10:00
CraftBukkit/Spigot
b38424139e SPIGOT-113: Add save status to ChunkUnloadEvent
By: md_5 <git@md-5.net>
2016-07-11 21:10:56 +10:00
CraftBukkit/Spigot
a63680b107 SPIGOT-2427: Fix missed diff in armor damage handling
By: md_5 <git@md-5.net>
2016-07-10 12:02:18 +10:00
CraftBukkit/Spigot
4d977ad06a SPIGOT-1994: Revert collisions to Vanilla behaviour
By: md_5 <git@md-5.net>
2016-07-10 11:44:02 +10:00
CraftBukkit/Spigot
09f5487458 SPIGOT-2503: Optimize block set
By: md_5 <git@md-5.net>
2016-07-08 14:05:22 +10:00
CraftBukkit/Spigot
b46eb8a572 SPIGOT-2481: Implement EnchantmentTarget.BREAKABLE
By: md_5 <git@md-5.net>
2016-07-08 12:51:32 +10:00
CraftBukkit/Spigot
713c31929a Call EntityChangeBlockEvent for Fire Arrows hitting TNT
By: md_5 <git@md-5.net>
2016-07-08 11:20:15 +10:00
CraftBukkit/Spigot
9797cf7e43 SPIGOT-2490: Villager farming event
By: md_5 <git@md-5.net>
2016-07-08 11:12:40 +10:00
CraftBukkit/Spigot
6558543222 SPIGOT-2504: Save structure info for secondary worlds
By: md_5 <git@md-5.net>
2016-07-08 10:55:51 +10:00
CraftBukkit/Spigot
64ee97bc2f SPIGOT-2501: Remove period from default quit message
By: md_5 <git@md-5.net>
2016-07-07 10:43:49 +10:00
CraftBukkit/Spigot
52f38c04ff SPIGOT-1515: Use CUSTOM reason for GENERIC damage
By: md_5 <git@md-5.net>
2016-07-02 14:01:31 +10:00
CraftBukkit/Spigot
f2ad797555 SPIGOT-2474: Use .die() to set entity remove status
By: md_5 <git@md-5.net>
2016-07-02 11:24:14 +10:00
CraftBukkit/Spigot
7b2050e56f SPIGOT-1468: ENDER_PEARL SpawnReason
By: md_5 <git@md-5.net>
2016-07-01 12:30:28 +10:00
CraftBukkit/Spigot
3aeb832d79 SPIGOT-1373: Implement EntityTargetEvent for TEMPT.
This can be a high frequency event call. Use with care.

By: md_5 <git@md-5.net>
2016-07-01 11:40:42 +10:00
CraftBukkit/Spigot
d10a277066 SPIGOT-1364: sendMap should update entire map
By: md_5 <git@md-5.net>
2016-07-01 11:24:11 +10:00
CraftBukkit/Spigot
9f63f2a371 SPIGOT-1341: Cancelled cake interact decreases client hunger
By: md_5 <git@md-5.net>
2016-07-01 11:20:31 +10:00
CraftBukkit/Spigot
a9a318835b SPIGOT-1405: Call EntityChangeBlockEvent for Rabbits eating Carrots
By: md_5 <git@md-5.net>
2016-06-30 16:15:38 +10:00
CraftBukkit/Spigot
dc3f10a9a0 SPIGOT-1288: Sounds played for cancelled BlockPlaceEvent
By: md_5 <git@md-5.net>
2016-06-30 15:39:58 +10:00
CraftBukkit/Spigot
36998be28a SPIGOT-1284: Run scheduler consistently within a tick
By: md_5 <git@md-5.net>
2016-06-30 15:20:04 +10:00
CraftBukkit/Spigot
7af7537763 SPIGOT-1283: Copy data directory on world import in case it's required
By: md_5 <git@md-5.net>
2016-06-30 15:13:32 +10:00
CraftBukkit/Spigot
66392c6d78 SPIGOT-1264: Spurious BlockFadeEvent
By: md_5 <git@md-5.net>
2016-06-30 14:47:05 +10:00
CraftBukkit/Spigot
51742aae6c SPIGOT-1224: InventoryClickEvent issues for containers opened during event
By: md_5 <git@md-5.net>
2016-06-30 14:27:49 +10:00
CraftBukkit/Spigot
4013505f8c SPIGOT-1181: Ensure Minecart command updates visually
By: md_5 <git@md-5.net>
2016-06-30 13:33:26 +10:00
CraftBukkit/Spigot
d6f72f0b27 SPIGOT-1132: Duplicate Minecart interact event
By: md_5 <git@md-5.net>
2016-06-30 13:26:22 +10:00
CraftBukkit/Spigot
acd31bf4fb SPIGOT-1129: Fix spawning leash hitch without adjacent block
By: md_5 <git@md-5.net>
2016-06-30 13:21:22 +10:00
CraftBukkit/Spigot
a44a8f29d0 SPIGOT-1599: Allow teleporting disconnected players
By: md_5 <git@md-5.net>
2016-06-30 13:01:37 +10:00
CraftBukkit/Spigot
8af31adf18 SPIGOT-2461: Call player tick specifically
By: md_5 <git@md-5.net>
2016-06-28 11:44:48 +10:00
CraftBukkit/Spigot
3c256b8c84 SPIGOT-2456: Don't wipe tiles if type is still the same
By: md_5 <git@md-5.net>
2016-06-27 11:25:49 +10:00
CraftBukkit/Spigot
f155cbbaf2 BUILDTOOLS-251: Make much of Bukkit locale independent
By: md_5 <git@md-5.net>
2016-06-26 19:32:05 +10:00
CraftBukkit/Spigot
861ba7b0e9 Fix air setting block updates
By: md_5 <git@md-5.net>
2016-06-26 12:31:24 +10:00
CraftBukkit/Spigot
e6584da1b0 SPIGOT-1039: Improve DoubleChest semantics
By: md_5 <git@md-5.net>
2016-06-25 21:21:55 +10:00
CraftBukkit/Spigot
b020388b99 MC-100524: Fix log files getting overwritten
https://bugs.mojang.com/browse/MC-100524

Log files were previously overwritten when more than 7 were created on the same day.  This is caused by Log4J's default behavior with DefaultRolloverStrategy, which defaults to a max of 7.

While a max of 1000 doesn't fully stop this problem from happening, for 1000 log files in a single day to be reached the server would have to restart faster than once every 1.5 minutes, which is unlikely to happen.  So 1000 seems like a good limit.  A higher max isn't used because when it gets higher, there are performance hits due to the way Log4J checks for the next file.

By: Pokechu22 <Pokechu022@gmail.com>
2016-06-22 22:13:38 -07:00
CraftBukkit/Spigot
eecbca5942 MC-80966 / SPIGOT-957: Send additional lighting data
By: md_5 <git@md-5.net>
2016-06-25 20:44:12 +10:00
CraftBukkit/Spigot
a526b5311c SPIGOT-924: Compute attributes one last time after quitting
By: md_5 <git@md-5.net>
2016-06-25 20:38:13 +10:00
CraftBukkit/Spigot
f7d15d7d59 SPIGOT-611: Improve setBlock for tile->tile transitions
By: md_5 <git@md-5.net>
2016-06-25 20:16:48 +10:00
CraftBukkit/Spigot
5c425bc41d Bump MC version
By: md_5 <git@md-5.net>
2016-06-25 14:50:20 +10:00
CraftBukkit/Spigot
1908fefc12 Update to Minecraft 1.10.2
By: md_5 <git@md-5.net>
2016-06-25 11:54:17 +10:00
CraftBukkit/Spigot
26aaa4aceb SPIGOT-2439: Consistently fire Chunk(Load|Unload)Event
Clean up implementation and firing of both of these events by routing
both unload and load behaviors to consistent method calls.

This fixes issues where a few places would not call Load or Unload events
when it should have.

Additionally, reduces diff by moving the neighbor marking code into these
consistent points.

Additional benefits of the change include improving the neighbor marking
methods to use getChunkIfLoaded instead of getLoadedChunkAt in some places,
as the latter will cause chunks to be marked active and not unload.

Finally, this also updates CraftWorld.loadChunk to use the new methods, as the
previous logic did not properly handle the new unload queue.

By: Aikar <aikar@aikar.co>
2016-06-21 19:08:09 -04:00
CraftBukkit/Spigot
8e8c7d72aa SPIGOT-1319: Add EntityBreedEvent
By: Ryan Michela <deltahat@gmail.com>
2016-06-18 22:00:39 -07:00
CraftBukkit/Spigot
0628968019 Fix infinite loop when saving chunks
Running `/save-all flush` would start an infinite loop that prints:
    ThreadedAnvilChunkStorage (world): All chunks are saved

By: Jadon Fowler <ph4seaber@gmail.com>
2016-06-18 04:25:50 -07:00
CraftBukkit/Spigot
b62f1bfe83 Improvements to BookMeta API
* Added hasGeneration()
* Fixed `applyHash()` (used by `CraftMetaItem.hashCode()`) not taking generation into account
* Fixed `equalsCommon()` (used by `CraftMetaItem.equals()`) not taking generation into account

By: Roy Curtis <roy.adrian.curtis+github@gmail.com>
2016-06-14 22:40:46 +01:00
CraftBukkit/Spigot
c703d2431c SPIGOT-2414: Repeated disconnects
By: md_5 <git@md-5.net>
2016-06-15 13:45:11 +10:00
CraftBukkit/Spigot
bdf0aef528 SPIGOT-2405: Better event for combust due to fire
By: md_5 <git@md-5.net>
2016-06-15 13:31:35 +10:00
CraftBukkit/Spigot
b2c01f26da SPIGOT-2408: setTicksLived does not properly affect FallingSand
By: md_5 <git@md-5.net>
2016-06-13 18:16:15 +10:00
CraftBukkit/Spigot
c93d857872 SPIGOT-2385: RegionFileCache synchronization issues
By: md_5 <git@md-5.net>
2016-06-12 19:28:27 +10:00
CraftBukkit/Spigot
f5e45ed35f SPIGOT-2398: Armor stands still need to be treated special for gravity
By: md_5 <git@md-5.net>
2016-06-12 16:32:51 +10:00
CraftBukkit/Spigot
5c09622671 SPIGOT-2348: EntityTeleportEvent cancellation
By: md_5 <git@md-5.net>
2016-06-12 12:51:53 +10:00
CraftBukkit/Spigot
c9a10e68a1 SPIGOT-2322: Chunks generating with missing / corrupted data.
By: md_5 <git@md-5.net>
2016-06-12 12:28:08 +10:00
CraftBukkit/Spigot
2270b1425e SPIGOT-2397: More calls to VehicleEntityCollisionEvent
By: md_5 <git@md-5.net>
2016-06-12 10:45:03 +10:00
CraftBukkit/Spigot
3e6ba4f676 SPIGOT-1124: Changed To-Location on Teleport event ignored
By: minoneer <minoneer@gmail.com>
2016-05-30 21:29:10 +02:00
CraftBukkit/Spigot
989192ea0b SPIGOT-2376: Way to distinguish Zombie professions.
By: md_5 <git@md-5.net>
2016-06-11 12:07:17 +10:00
CraftBukkit/Spigot
ec0a8a1910 Add Player.stopSound
By: md_5 <git@md-5.net>
2016-06-11 09:13:54 +10:00
CraftBukkit/Spigot
5dffeea6ee SPIGOT-2381: Use custom spawnreason for dropItem
By: md_5 <git@md-5.net>
2016-06-12 10:26:48 +10:00
CraftBukkit/Spigot
bf1945bcfd SPIGOT-2389: Zombie.setVillager inverted
By: md_5 <git@md-5.net>
2016-06-12 10:14:25 +10:00
CraftBukkit/Spigot
6b0f3ef039 SPIGOT-2388: Damage must be nulled out in some circumstances
By: md_5 <git@md-5.net>
2016-06-12 10:13:51 +10:00
CraftBukkit/Spigot
a9e1194e19 SPIGOT-2387: Magma does not provide a block for EntityDamageEvent.
By: md_5 <git@md-5.net>
2016-06-11 16:11:51 +10:00
CraftBukkit/Spigot
1a8b83514c SPIGOT-1550, SPIGOT-2306: Custom payload / book + event fixes
By: md_5 <git@md-5.net>
2016-06-11 12:17:35 +10:00
CraftBukkit/Spigot
e80d96c274 SPIGOT-2380: Hitting in the air will always load the chunk at 0,0
By: md_5 <git@md-5.net>
2016-06-11 09:21:44 +10:00
CraftBukkit/Spigot
1b648cfd6b SPIGOT-2366: Fix a missed diff PortalTravelAgent.patch
By: Tom E <tomelfring@gmail.com>
2016-06-09 12:00:57 +02:00
CraftBukkit/Spigot
077171a07e SPIGOT-2369: Tab completing non existant command
By: md_5 <git@md-5.net>
2016-06-09 20:47:39 +10:00
CraftBukkit/Spigot
41b7bb0b90 SPIGOT-2365: Missed hanging diff
By: md_5 <git@md-5.net>
2016-06-09 20:42:49 +10:00
CraftBukkit/Spigot
f848ee8019 SPIGOT-2364: Fix hanging placing.
By: md_5 <git@md-5.net>
2016-06-09 14:27:59 +10:00
CraftBukkit/Spigot
67c3b659a5 Restore some Vanilla behaviour to fix magma blocks
By: md_5 <git@md-5.net>
2016-06-09 12:50:21 +10:00
CraftBukkit/Spigot
3b8eb9f744 Add DamageCause.HOT_FLOOR
By: md_5 <git@md-5.net>
2016-06-09 12:45:07 +10:00
CraftBukkit/Spigot
8074673c1d Better map Zombie/Villager professions.
By: md_5 <git@md-5.net>
2016-06-09 12:20:30 +10:00
CraftBukkit/Spigot
a39b7e5f3a Update to Minecraft 1.10
By: md_5 <git@md-5.net>
2016-06-09 11:43:49 +10:00
CraftBukkit/Spigot
604d9373c0 SPIGOT-249: Set skull owner by UUID
By: md_5 <git@md-5.net>
2016-06-01 21:39:49 +10:00
CraftBukkit/Spigot
d1bc45c836 SPIGOT-1292: BlockState based FlowerPot API.
By: md_5 <git@md-5.net>
2016-06-01 17:08:55 +10:00
CraftBukkit/Spigot
531c257647 SPIGOT-783: API for book generation data.
By: Roy Curtis <roy.adrian.curtis+github@gmail.com>
2016-06-03 00:10:06 +01:00
CraftBukkit/Spigot
a9862b5459 SPIGOT-713: APIs to manipulate Entity's silent status.
By: Sansko1337 <sanderknauff@hotmail.com>
2016-05-27 17:34:11 +02:00
CraftBukkit/Spigot
c1bd122e35 SPIGOT-2336: Zombie.setVillager(Z)V
By: md_5 <git@md-5.net>
2016-05-31 20:55:17 +10:00
CraftBukkit/Spigot
18f37c3b32 SPIGOT-2335: EntityCreeper.setPowered
By: md_5 <git@md-5.net>
2016-05-31 20:53:37 +10:00
CraftBukkit/Spigot
e9b7eee369 SPIGOT-636: Decouple EntityCombustByEntity from damageEntity
By: md_5 <git@md-5.net>
2016-05-28 22:10:59 +10:00
CraftBukkit/Spigot
3a3576e181 Implement PlayerChangedMainHandEvent
By: md_5 <git@md-5.net>
2016-05-27 18:53:36 +10:00
CraftBukkit/Spigot
187015b57b SPIGOT-2321: Fully check Vanilla command permissions
By: md_5 <git@md-5.net>
2016-05-26 21:06:28 +10:00
CraftBukkit/Spigot
69c6c3d92c SPIGOT-2311: Cancelling PlayerPortalEvent causes invulnerability until relog
By: md_5 <git@md-5.net>
2016-05-25 18:25:49 +10:00
CraftBukkit/Spigot
aa92b77bfe SPIGOT-2315: Neighbour chunk unload marking
By: md_5 <git@md-5.net>
2016-05-25 18:21:54 +10:00
CraftBukkit/Spigot
ba115c957b SPIGOT-2303: Use getChunkIfLoaded
By: md_5 <git@md-5.net>
2016-05-22 13:57:44 +10:00
CraftBukkit/Spigot
ecb71842df SPIGOT-2297: Reintroduce getChunkIfLoaded
By: md_5 <git@md-5.net>
2016-05-22 11:36:38 +10:00
CraftBukkit/Spigot
e5cc347b6e Implementation of interface to modify the pumpkin head "derp mode" of a snowman
By: minoneer <minoneer@gmail.com>
2016-05-18 00:42:14 +02:00
CraftBukkit/Spigot
07c0e6067b Implement TabCompleteEvent
By: md_5 <git@md-5.net>
2016-05-16 16:59:57 +10:00
CraftBukkit/Spigot
3d355b6e64 SPIGOT-2285: New CommandBlock types.
By: md_5 <git@md-5.net>
2016-05-16 16:38:43 +10:00
CraftBukkit/Spigot
141be4ba51 SPIGOT-2286: Don't store CraftBlockState light level
By: md_5 <git@md-5.net>
2016-05-16 16:37:22 +10:00
CraftBukkit/Spigot
4d42c823d2 SPIGOT-2282: Get loaded chunk
By: md_5 <git@md-5.net>
2016-05-15 22:14:47 +10:00
CraftBukkit/Spigot
477241471c Fix CraftBukkit crash report details not showing
By: md_5 <git@md-5.net>
2016-05-15 22:12:06 +10:00