Commit graph

3808 Commits

Autor SHA1 Nachricht Datum
md_5
91c315273e Fix trailing whitespace in CraftChunk 2017-03-23 20:19:29 +11:00
BlackHole
cf05cccd1b SPIGOT-3143: Don't decrease item stack size if VehicleCreateEvent is cancelled 2017-03-22 15:15:34 +11:00
md_5
257d6cd04f Process entity portalling towards the end of a tick.
Cross world teleportation works by taking a copy of an entity and moving it to a new world. After this happens the original entity is marked as dead so as to be removed from the original world, however it still undergoes one further tick in the main world, but with some information from the new world. It is not so easy to break out of this tick cycle if needed, so instead we move the portalling process towards the end of an existing tick. This ensures that the entity will not be spuriously ticked.
2017-03-20 15:41:15 +11:00
Parker Hawke
b80055abfb Properly validate player experience bar progress 2017-03-19 18:31:40 -04:00
bramhaag
dfee3d9f9f Add getWidth + getHeight for Entity 2017-03-19 10:51:59 +11:00
md_5
2aa5ac6c92 SPIGOT-3128: Shift VehicleCreateEvent calling. 2017-03-15 20:48:47 +11:00
md_5
251e4c9215 SPIGOT-3126: Make fireballs do a better job of respecting mobGriefing 2017-03-15 15:26:36 +11:00
md_5
2ad21b87f1 Ensure PlayerResourcePackStatusEvent is synchronous 2017-03-14 21:56:19 +11:00
Nathan Wolf
aa522c91a8 Add getIgnitingBlock to BlockBurnEvent 2017-03-11 17:22:12 +11:00
md_5
eac85911f0 Don't call super update on unplaced command block metas 2017-03-10 20:30:20 +11:00
md_5
962ffda1a8 Add more notch inventory conversions 2017-03-10 20:03:31 +11:00
md_5
d6aa73d16c SPIGOT-3114: Initialize custom SHULKER_BOX slots 2017-03-10 20:01:31 +11:00
md_5
4316a8c246 SPIGOT-3110: SHULKER_BOX InventoryType 2017-03-08 17:56:08 +11:00
md_5
7a7c64714e SPIGOT-3107: Try and improve shield knockback further 2017-03-08 14:51:48 +11:00
md_5
7fce67144d SPIGOT-3108: Hack around mirroring empty item stacks 2017-03-08 14:35:34 +11:00
md_5
cb44e932be SPIGOT-3105: BlockFadeEvent for large snow blocks 2017-03-08 14:24:11 +11:00
md_5
cb61ac0404 MC-111753, SPIGOT-2971: Brewing stand not reloading 2017-02-21 20:47:40 +11:00
md_5
64277ec9bc SPIGOT-3075: EntityTeleportEvent for Shulkers 2017-02-20 09:55:24 +11:00
md_5
4448a7efa4 SPIGOT-3068: API for localized item names 2017-02-16 11:49:46 +11:00
md_5
1a710213df SPIGOT-3067: Wither skeleton heads not dropping 2017-02-15 10:11:41 +11:00
Max Lee
4c8d895513 SPIGOT-2152: Method to set resource pack + hash. 2017-02-15 10:05:56 +11:00
md_5
2683195ecd SPIGOT-3063: Call EntityAirChangeEvent 2017-02-14 10:34:56 +11:00
md_5
a552117725 SPIGOT-3054: Correct LLamaSpit launching 2017-02-09 09:14:44 +11:00
md_5
3c48711c05 SPIGOT-3051: Set pitch/yaw for spawned boats 2017-02-06 11:58:42 +11:00
md_5
a1d3777d89 Update SQLite to 3.16 for performance improvements and architecture compat 2017-02-01 13:16:30 +11:00
Parker Hawke
dfe4ed1c3e Add implementation for LlamaSpit in ProjectileSource#launchProjectile 2017-02-01 13:14:41 +11:00
md_5
5ae629285e Increase expiration time to two weeks. 2017-01-31 21:39:17 +11:00
md_5
ed8a073298 SPIGOT-3044: BlockDispenseEvent for shulker boxes 2017-01-31 21:38:55 +11:00
md_5
47c6a36854 Update MySQL Driver Version to 5.1.40 2017-01-31 21:30:09 +11:00
md_5
c1aa85918e SPIGOT-3040: Round health to float for validation 2017-01-28 11:41:09 +11:00
md_5
80dd971b52 Make tile activeContainer assignment consistent. 2017-01-27 11:42:21 +11:00
md_5
16b5116c7c SPIGOT-3033: Alter behaviour of cancelled hopper transfers (reverted from commit 334aa07e2f) 2017-01-26 14:08:04 +11:00
md_5
dbf4ecf30f SPIGOT-3037: WorldBorder#isInside(Location) 2017-01-26 11:16:39 +11:00
md_5
334aa07e2f SPIGOT-3033: Alter behaviour of cancelled hopper transfers 2017-01-26 11:13:00 +11:00
md_5
46226d6a03 SPIGOT-3031: Pigs are not dropping their saddle 2017-01-24 13:39:22 +11:00
Pokechu22
4d3bf20155 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.
2017-01-18 17:42:35 -08:00
xGhOsTkiLLeRx
7fdc749bf1 Add API to set Arrow pickup status 2017-01-18 10:01:28 +11:00
md_5
775f1e1f7f SPIGOT-3003: Fix custom dropper / beacons. 2017-01-11 09:53:16 +11:00
md_5
f709362074 SPIGOT-3002: Mob spawners are valid 2017-01-11 09:24:08 +11:00
md_5
27dd3ca45f SPIGOT-2997: Explicitly disallow invalid tiles to be opened 2017-01-10 09:56:20 +11:00
md_5
270755dc06 Fix crash if entities other than players (somehow?) consume their item. 2017-01-09 14:28:49 +11:00
md_5
730bb6ac83 10 day build expire 2017-01-09 10:38:33 +11:00
md_5
d5e7885c2e SPIGOT-2990: EntityTeleportEvent for tameable animals following owner 2017-01-05 20:44:26 +11:00
md_5
c91863850d SPIGOT-2989: Use existing horse inventory object. 2017-01-05 15:03:22 +11:00
Zach Brown
059434ce92 SPIGOT-826: Add method to retrieve entity by UUID 2017-01-05 14:54:47 +11:00
md_5
7e19325845 SPIGOT-2640: API for multiple passengers per entity 2017-01-04 10:53:07 +11:00
md_5
ce89845fda SPIGOT-1915: Fix players seeing their own passengers 2017-01-04 10:50:02 +11:00
md_5
63b5f7d338 More robust inventory handling 2017-01-04 10:04:27 +11:00
md_5
613be0d841 SPIGOT-2980: Improve SpawnEgg NBT application and ItemStack conversion. 2017-01-02 16:13:25 +11:00
md_5
a6d8fa2eac Recover spawn egg data from UNSPECIFIC meta. 2017-01-02 15:29:11 +11:00