Commit graph

2465 commits

Author SHA1 Message Date
CraftBukkit/Spigot
e075d320d4 Add getIgnitingBlock to BlockBurnEvent
By: Nathan Wolf <nathan@elmakers.com>
2017-03-08 14:20:24 -08:00
CraftBukkit/Spigot
843a9ac2db Don't call super update on unplaced command block metas
By: md_5 <git@md-5.net>
2017-03-10 20:30:20 +11:00
CraftBukkit/Spigot
0df899a244 Add more notch inventory conversions
By: md_5 <git@md-5.net>
2017-03-10 20:03:31 +11:00
CraftBukkit/Spigot
862f4e6c0d SPIGOT-3114: Initialize custom SHULKER_BOX slots
By: md_5 <git@md-5.net>
2017-03-10 20:01:31 +11:00
CraftBukkit/Spigot
f6f4501444 SPIGOT-3110: SHULKER_BOX InventoryType
By: md_5 <git@md-5.net>
2017-03-08 17:56:08 +11:00
CraftBukkit/Spigot
5e2981ee0f SPIGOT-3107: Try and improve shield knockback further
By: md_5 <git@md-5.net>
2017-03-08 14:51:48 +11:00
CraftBukkit/Spigot
11c88dc8f2 SPIGOT-3108: Hack around mirroring empty item stacks
By: md_5 <git@md-5.net>
2017-03-08 14:33:40 +11:00
CraftBukkit/Spigot
3de67df146 SPIGOT-3105: BlockFadeEvent for large snow blocks
By: md_5 <git@md-5.net>
2017-03-08 14:24:11 +11:00
CraftBukkit/Spigot
0e4ffd62e1 MC-111753, SPIGOT-2971: Brewing stand not reloading
By: md_5 <git@md-5.net>
2017-02-21 20:47:40 +11:00
CraftBukkit/Spigot
1f9370d293 SPIGOT-3075: EntityTeleportEvent for Shulkers
By: md_5 <git@md-5.net>
2017-02-20 09:55:24 +11:00
CraftBukkit/Spigot
ed87a3caf9 SPIGOT-3068: API for localized item names
By: md_5 <git@md-5.net>
2017-02-16 11:49:46 +11:00
CraftBukkit/Spigot
6c52504f93 SPIGOT-3067: Wither skeleton heads not dropping
By: md_5 <git@md-5.net>
2017-02-15 10:11:41 +11:00
CraftBukkit/Spigot
0a74e4d700 SPIGOT-2152: Method to set resource pack + hash.
By: Max Lee <mail@moep.tv>
2017-02-14 14:00:30 +01:00
CraftBukkit/Spigot
4b11aba0f7 SPIGOT-3063: Call EntityAirChangeEvent
By: md_5 <git@md-5.net>
2017-02-14 10:34:56 +11:00
CraftBukkit/Spigot
0a07809cce SPIGOT-3054: Correct LLamaSpit launching
By: md_5 <git@md-5.net>
2017-02-09 09:14:44 +11:00
CraftBukkit/Spigot
10d09dbcc2 SPIGOT-3051: Set pitch/yaw for spawned boats
By: md_5 <git@md-5.net>
2017-02-06 11:58:42 +11:00
CraftBukkit/Spigot
2c79e73a5c Update SQLite to 3.16 for performance improvements and architecture compat
By: md_5 <git@md-5.net>
2017-02-01 13:16:30 +11:00
CraftBukkit/Spigot
3f242883c4 Add implementation for LlamaSpit in ProjectileSource#launchProjectile
By: Parker Hawke <hawkeboyz2@hotmail.com>
2017-01-31 21:12:17 -05:00
CraftBukkit/Spigot
52753fe5e1 Increase expiration time to two weeks.
By: md_5 <git@md-5.net>
2017-01-31 21:39:17 +11:00
CraftBukkit/Spigot
3b1a28ec19 SPIGOT-3044: BlockDispenseEvent for shulker boxes
By: md_5 <git@md-5.net>
2017-01-31 21:38:55 +11:00
CraftBukkit/Spigot
c1c5f27be2 Update MySQL Driver Version to 5.1.40
By: md_5 <git@md-5.net>
2017-01-31 21:30:09 +11:00
CraftBukkit/Spigot
634ad7d00e SPIGOT-3040: Round health to float for validation
By: md_5 <git@md-5.net>
2017-01-28 11:41:09 +11:00
CraftBukkit/Spigot
4166ac5145 Make tile activeContainer assignment consistent.
By: md_5 <git@md-5.net>
2017-01-27 11:42:21 +11:00
CraftBukkit/Spigot
49758a0994 SPIGOT-3033: Alter behaviour of cancelled hopper transfers (reverted from commit ca9bfb2d1f)
By: md_5 <git@md-5.net>
2017-01-26 14:08:04 +11:00
CraftBukkit/Spigot
b05bba2d39 SPIGOT-3037: WorldBorder#isInside(Location)
By: md_5 <git@md-5.net>
2017-01-26 11:16:39 +11:00
CraftBukkit/Spigot
ca9bfb2d1f SPIGOT-3033: Alter behaviour of cancelled hopper transfers
By: md_5 <git@md-5.net>
2017-01-26 11:13:00 +11:00
CraftBukkit/Spigot
c98102fd99 SPIGOT-3031: Pigs are not dropping their saddle
By: md_5 <git@md-5.net>
2017-01-24 13:39:22 +11:00
CraftBukkit/Spigot
49376274b6 Re-enable the vanilla debug MethodProfiler and /debug command
This is highly useful for profiling vanilla code, and in some cases plugin code.  It is somewhat expensive, though, which is why it was initially disabled.

I chose to use a system property instead of a configuration setting because 1) the MethodProfiler is exclusive to CraftBukkit and not part of the general API (the timings system is the general API equivalent), and 2) using a static final boolean property _may_ allow the JITter to optimize out the methods when disabled (though I'm not sure of it).

There are several changes to fix cases where the profiler code was broken slightly by other craftbukkit changes.  All of cases have been fixed, except for the block entity ticking one, due to the cost of the getSimpleName call.  For that, a ticking entry is used instead, so that time spent actually ticking the block entities can be compared with time processing the list.

This (effectively) reverts 7dde6cc566.

By: Pokechu22 <Pokechu022@gmail.com>
2017-01-18 17:42:35 -08:00
CraftBukkit/Spigot
03cf4ffdf1 Add API to set Arrow pickup status
By: xGhOsTkiLLeRx <ratchet.player@gmx.de>
2017-01-18 10:01:28 +11:00
CraftBukkit/Spigot
d6082cde7f SPIGOT-3003: Fix custom dropper / beacons.
By: md_5 <git@md-5.net>
2017-01-11 09:53:16 +11:00
CraftBukkit/Spigot
d66b605829 SPIGOT-3002: Mob spawners are valid
By: md_5 <git@md-5.net>
2017-01-11 09:24:08 +11:00
CraftBukkit/Spigot
6e7031ad9a SPIGOT-2997: Explicitly disallow invalid tiles to be opened
By: md_5 <git@md-5.net>
2017-01-10 09:56:20 +11:00
CraftBukkit/Spigot
5be013beb5 Fix crash if entities other than players (somehow?) consume their item.
By: md_5 <git@md-5.net>
2017-01-09 14:28:49 +11:00
CraftBukkit/Spigot
c4d20d3951 10 day build expire
By: md_5 <git@md-5.net>
2017-01-09 10:38:33 +11:00
CraftBukkit/Spigot
7e1910e6d4 SPIGOT-2990: EntityTeleportEvent for tameable animals following owner
By: md_5 <git@md-5.net>
2017-01-05 20:44:26 +11:00
CraftBukkit/Spigot
df1033f5f9 SPIGOT-2989: Use existing horse inventory object.
By: md_5 <git@md-5.net>
2017-01-05 15:03:22 +11:00
CraftBukkit/Spigot
e63cab01fc SPIGOT-826: Add method to retrieve entity by UUID
By: Zach Brown <zach.brown@destroystokyo.com>
2017-01-04 21:28:31 -06:00
CraftBukkit/Spigot
0bd65c1b02 SPIGOT-2640: API for multiple passengers per entity
By: md_5 <git@md-5.net>
2017-01-04 10:53:07 +11:00
CraftBukkit/Spigot
abf429e3bb SPIGOT-1915: Fix players seeing their own passengers
By: md_5 <git@md-5.net>
2017-01-04 10:50:02 +11:00
CraftBukkit/Spigot
44f4a83e59 More robust inventory handling
By: md_5 <git@md-5.net>
2017-01-04 10:04:27 +11:00
CraftBukkit/Spigot
a1cc3a4382 SPIGOT-2980: Improve SpawnEgg NBT application and ItemStack conversion.
By: md_5 <git@md-5.net>
2017-01-02 16:13:25 +11:00
CraftBukkit/Spigot
86649dea13 Recover spawn egg data from UNSPECIFIC meta.
By: md_5 <git@md-5.net>
2017-01-02 15:29:11 +11:00
CraftBukkit/Spigot
ed9b479bcb Clear effectsToProccess after applying potion effects
By: md_5 <git@md-5.net>
2017-01-02 13:51:16 +11:00
CraftBukkit/Spigot
85a119a172 SPIGOT-2977: Pass setAmount(0) through to wrapped ItemStack.
This class needs to be rewritten with more consistent semantics and alignment with Minecraft losing null, but that is probably a job for 1.12

By: md_5 <git@md-5.net>
2017-01-02 10:04:19 +11:00
CraftBukkit/Spigot
0779610d64 SPIGOT-2969: Shulker box removal not updating comparators
By: md_5 <git@md-5.net>
2016-12-28 14:23:52 +11:00
CraftBukkit/Spigot
93623ce896 SPIGOT-2966: Entirely remove problematic check
By: md_5 <git@md-5.net>
2016-12-28 09:50:40 +11:00
CraftBukkit/Spigot
1f6a5ecc06 SPIGOT-2960: Fire HOTBAR_MOVE_AND_READD in more cases
By: md_5 <git@md-5.net>
2016-12-27 12:14:55 +11:00
CraftBukkit/Spigot
e3b7ad4ef3 SPIGOT-2964: Correct number of shelve sin PrepareEnchantEvent
By: md_5 <git@md-5.net>
2016-12-27 11:53:09 +11:00
CraftBukkit/Spigot
2d5ab1f7b5 SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant
By: md_5 <git@md-5.net>
2016-12-27 09:01:22 +11:00
CraftBukkit/Spigot
14eb034e4b Increase expire time to 7 days
By: md_5 <git@md-5.net>
2016-12-26 09:39:59 +11:00