Commit Graph

43 Commits

Author SHA1 Message Date
32ac0a9a4b Pull in ArrowPickupItemEvent and legacy dataconverter fix from SportBukkit 2016-03-26 03:38:02 -05:00
d242dca587 Fix decompile errors in mc-dev imports patch 2016-03-24 19:57:01 -07:00
d1afdd87f4 Clean up title and tab list patch
Remember kids, the Ballmer peak is hard to hit https://xkcd.com/323/
Finally fixes #126 and #94 (I tested, it does, please, really, promise)
2016-03-23 01:05:09 -05:00
100cd60c65 Add "Waving banner workaround" 2016-03-21 15:34:09 +01:00
d4ba72a83f Support offline mode from the whitelist command
Closes GH-79
2016-03-21 00:53:32 -05:00
85451753d1 Remove patch pulled upstream and rebuild patches 2016-03-19 17:52:09 -05:00
d1c4507c9c Fixes #95 - Vanilla bug with Villages 2016-03-19 15:21:39 -04:00
3727b119f2 Update upstream and rebuild patches 2016-03-18 21:37:58 -05:00
80dcb6c4a3 Optimize BlockStateList/BlockData
Mojang included some sanity checks on arguments passed to the BlockData.
This code results in the Hash look up occuring twice per call, one to test if it exists
and another to retrieve the result.

This code should ideally never be hit, unless mojang released a bad build. We can discover bugs with this as furthur code that never expects a null
would then NPE, so it would not result in hidden issues.

This is super hot code, so removing those checks should give decent gains.
2016-03-18 19:25:43 -04:00
14d5dba144 Upstream changes 2016-03-17 23:29:51 -05:00
59ca434484 Someone questioned my professionality today 2016-03-16 02:57:49 -05:00
a80a692e2b Add more complete resource pack API 2016-03-08 22:23:59 -08:00
a1403cb641 Disable Scoreboards for non players by default
Entities collision is checking for scoreboards setting.
This is very heavy to do map lookups for every collision to check
this setting.

So avoid looking up scoreboards and short circuit to the "not on a team"
logic which is most likely to be true.
2016-03-08 23:42:08 -05:00
627ccd793f Optimize NavigationListener Iteration
I don't know what the person who wrote that code was smoking, but I
don't think it was good.

Gets rid of the WeakHashMap that mojang was abusing purely to be lazy
on clean up, and handles registering and deregistering navigation
upon world add/remove operations.
2016-03-07 22:59:12 -05:00
d78781c869 Re-add BlocksPos inlining patch 2016-03-07 16:00:29 -06:00
26eb457a39 Paper 1.9 2016-02-29 17:09:49 -06:00
d498084c93 Player Tab List and Title APIs 2016-02-16 19:55:21 -06:00
d3809b12af Fix Furnace Minecarts losing all of their velocity on corners 2016-02-15 23:19:18 -06:00
720abf5ab8 Optimize Pathfinding 2016-02-13 19:25:23 -06:00
aea26a3f89 Speedup BlockPos by fixing inlining 2016-01-29 03:26:31 -06:00
b57d9f9638 Add an option to disable chest's detection of Ocelots/Cats 2016-01-10 20:47:21 -06:00
19d4a47c33 Fix lava/water some times creating air instead of cobblestone 2015-08-04 17:57:17 -07:00
fd378c06e5 Update PaperSpigot to 1.8.8 2015-07-27 17:26:21 -05:00
c17ecdd93f Nerfed spawner mobs should use PathfinderGoalFloat to swim if available 2015-07-14 10:51:38 -07:00
e285ca5c92 Add generator settings from Paper 1.7
As of 1.8, it is possible to customize worlds beyond what these settings
allow using a Customized world type, however, this is still useful for
non-Customized worlds and Nether worlds.
2015-06-02 00:44:06 -07:00
257119a254 Stackable Buckets 2015-06-01 22:27:22 -07:00
62c1f6b296 Rebuild Patches for upstream changes 2015-05-30 01:11:16 -05:00
e6727223f8 Update to 1.8.6 2015-05-25 15:59:30 -05:00
b86b4ff71e Things compile better when you update mc-dev 2015-05-23 13:04:28 -05:00
b7ec28b5d2 Update PaperSpigot to 1.8.4 2015-05-18 18:41:57 -05:00
41cb01fa3f Add FallingBlock source location API 2015-04-17 02:51:46 -07:00
6538ccd924 Update PaperSpigot to Minecraft 1.8.3 2015-03-07 19:16:09 -06:00
436c6f2449 Rebuild our patches for upstream changes 2015-01-04 20:30:07 -06:00
641703cfd8 Fix block placement in the invisible players patch
Thanks Mojang...
2015-01-03 17:35:46 -06:00
73bc2489c0 Do not allow negative count itemstacks (infinite itemstacks)
Should work around quite a few issues and this
'feature' is relatively worthless anyway
2014-12-19 16:35:01 -06:00
7ae5abba9e Add a constructor for setting both the header and the footer to PacketPlayOutPlayerListHeaderFooter 2014-12-05 22:47:37 -06:00
a52eb21fd8 Update PaperSpigot to Minecraft 1.8 2014-11-27 17:17:45 -08:00
41b428475c Replace non-picky rails with non-picky torches
Issues with rails colliding with hitboxes on fences
non-picky torches can be placed on stained glass on 1.8+ clients only (client-side limitation)
2014-10-24 23:41:49 -05:00
b62da895f2 Work around for blocking rail duplication 2014-08-31 14:44:52 -05:00
92bfbe89cf Configurable strength and weakness effect modifiers 2014-08-31 12:31:44 -05:00
eefd5936bb Update with latest TileEntity optimization changes 2014-08-11 21:43:04 -05:00
ef9c0fd1eb Move chest sound handling out of the tick loop...
and set them not to tick
2014-08-11 19:36:08 -05:00
b178d09bd4 Fix random position generator's tendency to move north-west
Fixes the issue of mobs constantly going North-West in pens and other areas
backported from 1.8
2014-07-22 22:04:05 -05:00