Commit Graph

370 Commits

Author SHA1 Message Date
Ivan Pekov
c5c96667ba
Rewrite entity filter for better 2020-08-21 15:44:47 +03:00
Ivan Pekov
483c794a51
Proper implementation of MixinChunkSection 2020-08-21 11:02:10 +03:00
Ivan Pekov
03324b9122
Sidestreams & Upstream update 2020-08-21 09:03:22 +03:00
Ivan Pekov
305a776e2c
Temporarily fix async advancements 2020-08-20 21:06:58 +03:00
Ivan Pekov
818ca6dea5
Fix ClassCastException with lithium chunk optimizations
CRAFTBUKKIT HAS BAD MAPPINGS DONT BLAME ME FOR THIS KTHX
2020-08-20 19:53:19 +03:00
Ivan Pekov
40645612cf
Sidestream updates
Updated sidestreams.
Closes #126
2020-08-20 19:17:37 +03:00
Ivan Pekov
2fde9b4034
More lithium means more speed
Ported some major performance improvements from lithium
2020-08-20 18:04:08 +03:00
Ivan Pekov
c9149a05b6
Minor improvements
Also updated the licensing so it matches our organisation.
2020-08-20 12:59:08 +03:00
Ivan Pekov
dfde7322c8
Updated upstream 2020-08-20 09:47:52 +03:00
Ivan Pekov
97de0c0a99
Fix chunks sometimes not loading
I had players on my server report that they don't see the chunks loading.
This should fix it.
2020-08-18 17:35:26 +03:00
Ivan Pekov
d5b65a9f7e
Updated purpur & ported 1 patch from there
Also 1 more fix for you all guys :)
2020-08-18 11:57:12 +03:00
Ivan Pekov
5c8b3f5676
Fix scoreboard not showing up 2020-08-18 08:57:24 +03:00
Ivan Pekov
07ab421076
Fixes and upstream
Fixes the client spamming invalid biome id causing it to lag
Upstream fixed other stuff
Fixes some stacktraces if you're near bedrock
2020-08-18 08:30:07 +03:00
Ivan Pekov
d0c19d9823
Better issue templates 2020-08-17 21:39:50 +03:00
Ivan Pekov
b352b7e83a
More fixes
This is now for sure going to fix hoppers entirely, except speeds which we should see in other patch.
Apparently caching the inventory doesn't work for composters as they're constantly updating their block state.
The code now makes it so that we only cache if the block is NOT a composter.

This is also fixing a bug with offline mode servers and proxies for vanilla commands. Read the new patch's patch notes to see what I'm talking about.
2020-08-17 21:39:05 +03:00
Ivan Pekov
f19c7640c9
Fix hoppers once and for all 2020-08-17 16:24:43 +03:00
Ivan Pekov
525f7dc261
Send more packets immediately 2020-08-17 09:15:09 +03:00
Ivan Pekov
442b82662a
Fix bork hoppers & Pathfinder timings
For some reason it was checking if the inventory is NOT an IWorldInventory, but IWorldInventory is implemented by furnaces, shulkers and
brewing stands. This commit is fixing that which will also get ported in 1.16.1

Also added Pathfinder timings in order to see if we need to improve pathfinding.
2020-08-16 14:01:55 +03:00
Ivan Pekov
6237d7d562
Updated upstream and purpur 2020-08-16 12:07:31 +03:00
Ivan Pekov
c06bac8bcb
Updated purpur & ported 2 & removed 1 patch 2020-08-15 21:20:57 +03:00
Ivan Pekov
c75ada51ef
Port even more patches
Ported some patches from EMC and Origami
2020-08-15 19:18:36 +03:00
Ivan Pekov
f380815804
Remove more of those method profiler calls
I utilised the IDE to find any remaining usages of them and so it did so I've removed them.
2020-08-15 16:34:43 +03:00
Ivan Pekov
a24d3fc1a7
Sidestreams updated
It looks like that for 2 purpur patches we need to update the upstream.
Updated also the script and now we have `yatopia tup`, which will only update tuinity.
2020-08-15 12:43:24 +03:00
Ivan Pekov
05c29a3951
Use proper radius when we're creating portal and when we're searching for one 2020-08-15 08:41:20 +03:00
Ivan Pekov
e9ca6e37c8
Fix animal step height
Apparently it was setting for all mobs the giant's settings. This is now fixed.

Fixes #97
2020-08-15 08:12:39 +03:00
SoSeDiK
6df772f9a9
Update NBT API (#99) 2020-08-15 07:37:52 +03:00
Ivan Pekov
5765602020
Port more patches
I got all the purpur patches mentioned in #37 and ported them by also adding the squids EAR immunity patch.
Ported also 2 useful patches from Rainforest.

Unfortunately this is 1.16.2 only and thus 1.16.1 would only receive:
- from purpur: the MC-4 fix and the squid EAR immunity.
- from rainforest: all patches that have been ported.

Closes #37
2020-08-14 21:16:57 +03:00
budgidiere
d25e6b6de6
Update applyUpstream.sh 2020-08-14 12:56:15 -05:00
Ivan Pekov
31b350789a
Fix deployment 2020-08-14 18:48:23 +03:00
Ivan Pekov
c1c4a95edc
Do NOT apply removed patches
Closes #89
2020-08-14 18:23:20 +03:00
Ivan Pekov
c70639a13e
Update tuinity 2020-08-14 08:48:18 +03:00
Ivan Pekov
3f737ea7f8
Drop async pathfinder and biome conversion optimisations
Async pathfinder seems to do more bad than good. This is a wanted change, however akarin's implementation
seems a little bit off.

Biome conversion did nothing so it gets completely nuked.
2020-08-13 22:32:28 +03:00
Ivan Pekov
4f90ed4545
Port tuinity biome conversion optimisations and a nitpick 2020-08-13 19:57:40 +03:00
Ivan Pekov
5f55124016
Initial 1.16.2 support
This update had major internal changes, which took us 8 hours to figure out and resolve all things untill we have a successful build.
YatopiaMC members wish you happy playing using Yatopia for your server software

MAKE A BACKUP OF YOUR WORLD BEFORE RUNNING IT ON YOUR SERVER. YOU HAVE BEEN WARNED.
People have reported to paper that after upgrading villagers are gone. There could be even more issues we are unknown of.
MAKE A BACKUP OF YOUR WORLD BEFORE RUNNING IT ON YOUR SERVER. YOU HAVE BEEN WARNED.

Co-authored-by: Ovydux <68059159+Ovydux@users.noreply.github.com>
Co-authored-by: Simon Gardling <Titaniumtown@gmail.com>
Co-authored-by: budgidiere <sgidiere@gmail.com>
2020-08-13 18:53:32 +03:00
Bud Gidiere
9b0439eda5
update workflow 2020-08-12 08:40:19 -05:00
Bud Gidiere
4364306cc2
1.16.2 base 2020-08-12 08:36:40 -05:00
Ivan Pekov
5b209dbe51
Port PaperMC/Paper#4079 (#78) 2020-08-11 14:29:06 -05:00
Ivan Pekov
8b7008c3a2
Patch cleanup (#77)
* Patch cleanup

This is more like a maintenance commit rather than a one that adds functionallity.
Server owners can skip updating to this, although it is recommended as I implemented a version checker.

* Fix wrong predicate import

* More useless diff removed
2020-08-11 13:40:29 -05:00
Ivan Pekov
41ffe92eeb
Per world entity (type) collisions & some cleanup (#76)
* Per world entity (type) collisions & some cleanup

* Unnuke RainforestConfig

* Forgot the API

* fix and remove code clean up for now

Co-authored-by: Bud Gidiere <sgidiere@gmail.com>
2020-08-11 10:38:17 -05:00
Ivan Pekov
14f7e17e6e
Port aikar's villager optimizations from 1.15.2 (#73)
* Port aikar's villager optimizations from 1.15.2

* Add to PATCHES.md

* Oopsie, sometimes I don't look where im typing

* Attempt at fixing villagers can't get professions

* Why is this if(true), should've been if(false)

* Nuke stream
2020-08-10 11:02:40 -05:00
budgidiere
84ff4f9991
Merge pull request #70 from tr7zw/dev/upstream
Upstream
2020-08-09 20:30:22 -05:00
Bud Gidiere
5647310aca
Upstream 2020-08-09 20:18:59 -05:00
budgidiere
4c55578802
Merge pull request #69 from tr7zw/dev/ivan
WIP Dev/ivan
2020-08-09 20:14:52 -05:00
Bud Gidiere
51d48511bc
add Mrivansplays patches 2020-08-09 19:19:56 -05:00
Bud Gidiere
1b3e3b23a8
Renames 2020-08-09 16:09:01 -05:00
Bud Gidiere
b6190f82f2
Merge remote-tracking branch 'MrIvanPlays/patch/micro-optimizations-worldserver' into dev/ivan 2020-08-09 16:08:10 -05:00
Bud Gidiere
83977fcf01
Merge remote-tracking branch 'MrIvanPlays/patch/behaviorcontroller' into dev/ivan 2020-08-09 16:08:03 -05:00
Bud Gidiere
afdf4a3c83
Merge remote-tracking branch 'MrIvanPlays/patch/incremental-saving' into dev/ivan 2020-08-09 16:07:51 -05:00
Bud Gidiere
58434f7967
remove old intellij stuff 2020-08-09 16:06:18 -05:00
MrIvanPlays
1e022c99bd Optimize BehaviorController 2020-08-09 22:32:20 +03:00