Commit graph

45 commits

Author SHA1 Message Date
CraftBukkit/Spigot
a0b8ce2dc9 SPIGOT-3254: Check chunks are loaded before ticking entities as per previous versions.
By: md_5 <git@md-5.net>
2017-05-20 11:27:48 +10:00
CraftBukkit/Spigot
530fe41851 Update to Minecraft 1.12-pre5
By: md_5 <git@md-5.net>
2017-05-19 21:00:13 +10:00
CraftBukkit/Spigot
40c8954e17 Update to Minecraft 1.12-pre2
By: md_5 <git@md-5.net>
2017-05-14 12:00:00 +10:00
CraftBukkit/Spigot
b18c5c741b 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.

By: md_5 <git@md-5.net>
2017-03-20 15:41:15 +11:00
CraftBukkit/Spigot
cedf1495bd SPIGOT-3128: Shift VehicleCreateEvent calling.
By: md_5 <git@md-5.net>
2017-03-15 20:48:47 +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
93623ce896 SPIGOT-2966: Entirely remove problematic check
By: md_5 <git@md-5.net>
2016-12-28 09:50:40 +11:00
CraftBukkit/Spigot
e6b0af2e55 SPIGOT-2944: Just apply filtering to players
By: md_5 <git@md-5.net>
2016-12-22 16:50:24 +11:00
CraftBukkit/Spigot
afecf1c36c SPIGOT-2948: Alter filtering logic
By: md_5 <git@md-5.net>
2016-12-21 17:12:39 +11:00
CraftBukkit/Spigot
f9a809b2ba Update to Minecraft 1.11.1
By: md_5 <git@md-5.net>
2016-12-21 07:00:00 +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
4e412ab4e3 Update to Minecraft 1.11
By: md_5 <git@md-5.net>
2016-11-17 12:41:03 +11: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
a39b7e5f3a Update to Minecraft 1.10
By: md_5 <git@md-5.net>
2016-06-09 11:43:49 +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
d506c12c07 Minecraft 1.9.4
By: md_5 <git@md-5.net>
2016-05-10 21:47:39 +10:00
CraftBukkit/Spigot
4fbcead283 SPIGOT-2033: Re-add missed diff for entity.valid
By: Aikar <aikar@aikar.co>
2016-03-28 20:19:29 -04:00
CraftBukkit/Spigot
9808985b27 SPIGOT-1746: Tile entities may not always tick.
By: md_5 <git@md-5.net>
2016-03-25 14:04:27 +11:00
CraftBukkit/Spigot
a28e1be276 SPIGOT-1900: Stub out expensive and redundant method call
By: md_5 <git@md-5.net>
2016-03-12 20:43:04 +11:00
CraftBukkit/Spigot
51207b52a7 Missing diff effecting frost walker ignoring entities
By: BlackHole <black-hole@live.com>
2016-03-09 19:53:01 +01:00
CraftBukkit/Spigot
9da0e8f2d2 SPIGOT-1663: Fix WorldBorder displaying in secondary worlds.
By: md_5 <git@md-5.net>
2016-03-06 12:13:07 +11:00
CraftBukkit/Spigot
52a2a37b2f SPIGOT-1626 / MC-98994: Fix slow chunk performance
Please see https://bugs.mojang.com/browse/MC-98994 for full explanation.

By: md_5 <git@md-5.net>
2016-03-05 18:50:38 +11:00
CraftBukkit/Spigot
c8e3e16545 SPIGOT-1525: Fix worldborder set.
By: md_5 <git@md-5.net>
2016-03-01 11:20:42 +11:00
CraftBukkit/Spigot
21d4bf5d1f Update to Minecraft 1.9
By: md_5 <git@md-5.net>
2016-03-01 08:32:46 +11:00
CraftBukkit/Spigot
e6c356ccec SPIGOT-915: Remove the getEntities filter
Didn't fix the issue like i'd hoped and broke a few plugins in the process.
Ideally though plugins shouldn't be using it for large ranges because it
is inefficient

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-08 22:42:08 +01:00
CraftBukkit/Spigot
6c1c28bd14 Cut fluff from patch headers.
By: md_5 <git@md-5.net>
2015-05-25 20:37:24 +10:00
CraftBukkit/Spigot
4a691031e7 SPIGOT-725: Always return captured tile entities
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-22 19:21:34 +00:00
CraftBukkit/Spigot
bb20501495 SPIGOT-711: Correctly init captured tile entities
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-16 15:55:10 +00:00
CraftBukkit/Spigot
3b09feddb2 Capture tile entities and only place them in the event succeeds
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-16 09:48:01 +00:00
CraftBukkit/Spigot
ab23a912dc SPIGOT-677: Add populators slightly later to make sure everything is initialized
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-11 10:15:39 +00:00
CraftBukkit/Spigot
0c5e6e0dac SPIGOT-626: Add populators early to prevent chunks being missed
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-08 10:08:19 +00:00
CraftBukkit/Spigot
4701a20df4 SPIGOT-644: Attempt to fix a long standing issue by limiting the range of getEntities
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-08 00:44:47 +00:00
CraftBukkit/Spigot
85be409b13 Update to Minecraft 1.8.3
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-26 22:41:06 +00:00
CraftBukkit/Spigot
903e0033c1 Rewrite storm / thunder event handling to catch all cases. Fixes SPIGOT-335.
By: md_5 <git@md-5.net>
2015-01-05 09:50:48 +11:00
CraftBukkit/Spigot
4ff244c7c3 Fix per a world world borders
Well... mostly anyway

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-10 19:16:37 +00:00
CraftBukkit/Spigot
db6b2cb6d5 Fix the chunks being blocked from unloading based on the keepSpawnInMemory flag
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-05 11:17:47 +00:00
CraftBukkit/Spigot
10e3879b01 SPIGOT-96/BUKKIT-5016: Fix thunder storms not darkening the sky and transitions being broken.
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 15:13:07 +00:00
CraftBukkit/Spigot
5a1e8c93bd Fix canceling BlockPlaceEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 21:17:57 +00:00
CraftBukkit/Spigot
341e9794bc Remove old debug info
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-29 21:09:04 +00:00
CraftBukkit/Spigot
be1b43c2bb Just only hold the last BlockState update for the same location. This fixes SPIGOT-44
By: Fabian Faßbender <fabian.fassbender42@googlemail.com>
2014-11-29 19:08:50 +01:00
CraftBukkit/Spigot
6956c3298f Revert "Remove patch headers"
This reverts commit a8ddf37419.

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 23:02:15 +00:00
CraftBukkit/Spigot
a8ddf37419 Remove patch headers
By: GunfighterJ <joseph.jenniges@gmail.com>
2014-11-28 16:54:14 -06:00
CraftBukkit/Spigot
ba8312ff89 Use the right name for the AsyncPlayerPreLoginEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 17:43:48 +00:00
CraftBukkit/Spigot
2443e912f8 Fix eating food whilst not facing a block
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-28 11:23:19 +00:00
CraftBukkit/Spigot
a419776f3c Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-26 08:32:16 +11:00