Commit Graph

270 Commits

Author SHA1 Message Date
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
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
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
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
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
MrIvanPlays
8c2374d01a Fix mistake 2020-08-09 22:14:14 +03:00
MrIvanPlays
52a97308f8 Optimize player loops around weather 2020-08-09 21:35:16 +03:00
MrIvanPlays
bf33de221f Restore incremental player saving
This patch was dropped in 1.14 and now gets ported to 1.16
2020-08-09 21:23:18 +03:00
Bud Gidiere
478b4dac4a Exp Optimize with inteallj 2020-08-08 18:59:58 -05:00
Bud Gidiere
b09c8c6018 upstream patches 2020-08-07 09:22:32 -05:00
Bud Gidiere
bd89338c8e Asnyc Nav fix 2020-08-06 19:59:57 -05:00
Bud Gidiere
0f357b6d4b House keeping 2020-08-06 16:02:30 -05:00
budgidiere
0dfc64bcbe
Dev/feat/more lithium (#53)
* Create 0028-lithium-MixinChunkGeneratorAbstract.patch

* Create 0029-lithium-MixinDataWatcher.patch

* Create 0030-Fix-lead-fall-dmg-config.patch

* rebuild

* fix author

* Update 0026-lithium-MixinChunkGeneratorAbstract.patch

* Update PATCHES.md

Co-authored-by: tr7zw <tr7zw@live.de>
2020-08-06 20:54:26 +02:00
Bud Gidiere
ac23b5938f fix 2020-08-06 09:33:56 -05:00
Bud Gidiere
d4cec7deba Small Bug Fix/General Clean Up 2020-08-06 09:05:19 -05:00
Gatt
c8ba772f4d Restore ShulkerBox Changes from 0001 2020-08-06 12:43:34 +10:00
Gatt
2727ac2ef9 Restore Patch 24 (JSON List Async) as Patch 25 2020-08-06 12:29:18 +10:00
Gatt
d73cef781e delete akarin patches 2020-08-06 12:04:43 +10:00
Bud Gidiere
b07adf23b1 new fix 2020-08-05 15:19:42 -05:00
Bud Gidiere
563fbe2b5b ok this should fix it 2020-08-05 15:07:55 -05:00
Bud Gidiere
01c3f7d84a Fix Build 2020-08-05 14:59:22 -05:00
Bud Gidiere
99029671ab Fix Build + Fix Shulkers 2020-08-05 14:38:36 -05:00
Bud Gidiere
0e7bce1094
fix? 2020-08-05 08:55:13 -05:00
Bud Gidiere
8a615979b3
fix 2020-08-05 08:36:44 -05:00
Bud Gidiere
f733a06f98
Fix patches/config stuff 2020-08-05 08:21:25 -05:00
Bud Gidiere
16690df3b6
update patches 2020-08-04 19:27:24 -05:00
Bud Gidiere
4235442138
remove old asnyc pathfinding 2020-08-04 17:22:01 -05:00
budgidiere
05691646ca
Dev/feat/secondorigamisubmodule (#34)
* add second origami fork

* Add Origmai2

* Move configs, exclude purpur again

* Add missing config entry

* Update README.md

* Create LICENSE

* fix lithium license

* fix fix lithium license

Co-authored-by: tr7zw <tr7zw@live.de>
2020-08-03 14:25:54 -05:00
budgidiere
ff560e687c
[WIP] Better Patch System (#18)
* Update build.yml

* Remove 3rd party patches

* Add Upsteam Submodules

* Fix patches

* ?

* Fix patches

* Add Fast Init script

* Lots of stuff

also it's broke

* more broken

* fixes

* mor stuff

* gfhfgh

hg

* fix patch

* fix up script

* update submodule

* add papercut

* update tuinity

* update gitmodules

* fix var name

* fix more var stuff

* some how it's not deleting shit anymore

* should now use the branch it just made

why are we doing this again?

* now it does thing thing

* return previous so YAPFA can use it

* ok now it really does the thing

* for REAL it does the thing

* don't do the thing because it causes too many problems

* fix api

* work

* use better patching for YAPFA patches

* fix better patching

* more fixes

* new patches stuff

* remove old 3rd parry patches add removed akarin patches

* make new branch for making patches

* hopefully build patches correctly

* fix gitignore and add config patches

* remove papercut files

* fix some weirdness

* fix bug

* time to do some fixin' 👀

* New Patch System Rebased Patches

* fix full build

* exit 1

* fix

* Remove patch

* Hopefully fix compile errors

* fixes

* this might work

* don't use rej for our patches

* tmp disable cache

* some times case sensitivity is dumb

* my sanity is at an all time low :)

* dfg

* readd cahce

* fix?

* Update Upstream

* fix perms

* fix

* fix api

* Redo API

* rm folders

* fix villager brain patch

* emc explosion pref

* fixed aikar's shit

* betterfix

* fix lagggg

* Origami

* Origami Fixes

* Update readme

* test async path finding

* WIP Async Path Finding

* WIP fix async path finding

* same as bellow

* same

* update to newer funcs

* fix newer funcs

* fix author

* Updates, Fixes, and new patches

* fixes

* possibly async flying path finding

* minor asnyc pathfinding fix

* test remove non asnyc path finder

* WIP make all path finding async

* Rename everything

* Exec flag

* Rebuild hashes

* remove dupe patch

* fix?

* Fix packages, redirect config

* old nav class is now async and back

* add getchatcolor.getbyid and handle patches with a . in them better

Co-authored-by: tr7zw <tr7zw@live.de>
Co-authored-by: Unknown <unknown@example.com>
Co-authored-by: Ovydux <68059159+Ovydux@users.noreply.github.com>
2020-08-03 11:48:42 -05:00
tr7zw
b9ca153004 Nightly, git prefix in /version 2020-08-01 18:42:13 +02:00
tr7zw
2d4511a68c Update upstream, rename project 2020-08-01 18:14:57 +02:00
tr7zw
ad523112fa Update Upstream 2020-07-29 14:30:48 +02:00
tr7zw
0a12b36619 Update upstream, add Global Eula patch 2020-07-25 17:16:49 +02:00
tr7zw
f3d641a80d Update 0026-Optimize-Hopper-logic.patch 2020-07-17 18:28:46 +02:00
tr7zw
4e84338083 Update patches 2020-07-17 18:21:30 +02:00
tr7zw
1595b34353 Update upstream 2020-07-17 18:05:50 +02:00
tr7zw
f9e971311a Create 0027-Optimize-TileEntity-loading.patch 2020-07-17 01:10:44 +02:00
tr7zw
7b82d69191 Fix Hopper patch, make it even faster 2020-07-16 23:27:15 +02:00
tr7zw
ad2fc38875 Update Upstream 2020-07-16 22:05:14 +02:00
tr7zw
430ce9ec3b rebuilt patches 2020-07-05 16:50:40 +02:00
tr7zw
204b0808df Updated Upstream (Tuinity)
Upstream has released updates that appears to apply and compile correctly

Tuinity Changes:
bdbb111 Updated Upstream (Paper)
ef0a6c4 Optimise collision checking in player move packets
2020-07-02 22:37:50 +02:00
tr7zw
b09c22e687 Quick upstream update 2020-07-02 01:02:53 +02:00
tr7zw
c322692b9c Updated Upstream (Tuinity)
Upstream has released updates that appears to apply and compile correctly

Tuinity Changes:
2e7f83c Updated Upstream (Paper)
2020-06-30 16:39:06 +02:00
tr7zw
7575a4d27e Updated Upstream (Tuinity)
Upstream has released updates that appears to apply and compile correctly

Tuinity Changes:
bc37087 Updated Upstream (Paper)
f9c64d0 Updated Upstream (Paper)
2020-06-28 15:31:41 +02:00
tr7zw
05a6f94b72 The missing optimizations 2020-06-27 20:02:39 +02:00
tr7zw
3977242dcf Lithium patches 2020-06-27 19:00:18 +02:00
tr7zw
3d9a4d9a9b Some Purpur and Akarin patches 2020-06-27 18:09:09 +02:00
tr7zw
7bc296d097 More patches 2020-06-27 17:50:15 +02:00
tr7zw
8400c206f8 Create 0006-Add-config-yapfa-command-and-basic-settings.patch 2020-06-27 17:23:21 +02:00
tr7zw
f0a93e845b Remove old patches, get add enough patches so the server starts to build again 2020-06-27 15:45:01 +02:00
tr7zw
5f48009340 Create 0001-Modify-POM.patch 2020-06-27 15:26:21 +02:00
tr7zw
928002b2b9 API 1.16.1 2020-06-27 15:19:40 +02:00
tr7zw
b08ee86c99 Update 0059-Optimize-Hopper-logic.patch 2020-06-26 02:03:53 +02:00
tr7zw
fd1ffb972b Update 0059-Optimize-Hopper-logic.patch 2020-06-26 01:28:32 +02:00
tr7zw
0c9a3978b3 Create 0059-Optimize-Hopper-logic.patch 2020-06-26 01:13:13 +02:00
tr7zw
5658549ecc Create 0058-Heavily-optimize-furnance-fuel-and-recipe-lookups.patch 2020-06-25 23:41:21 +02:00
tr7zw
9391bf0c53 Updated Upstream (Tuinity)
Upstream has released updates that appears to apply and compile correctly

Tuinity Changes:
98e9d5b Updated Upstream (Paper)
2020-06-24 17:21:23 +02:00
tr7zw
1698a91be5 Fix upstream pull 2020-06-23 22:09:40 +02:00
tr7zw
b5bded95f8 Remove more EMC patches 2020-06-23 16:39:42 +02:00
tr7zw
b20504f474 Remove kinda broken EMC patch 2020-06-23 01:09:14 +02:00
tr7zw
82c5317485 Updated Upstream (Tuinity)
Upstream has released updates that appears to apply and compile correctly

Tuinity Changes:
eedc3fc Updated Upstream (Paper)
d0e617d Updated Upstream (Paper)
15c661b Updated Upstream (Paper)
2020-06-21 00:40:04 +02:00
tr7zw
596eeef192 Simple AI Villagers stay inside their village 2020-06-20 19:05:04 +02:00
tr7zw
59c2ec04d5 Disable the Villager brain 2020-06-19 21:47:12 +02:00
tr7zw
bb3dfd8d01 Create 0059-Option-for-simpler-Villagers.patch 2020-06-19 19:22:22 +02:00
tr7zw
3ed6072d9a Create 0058-Item-stuck-sleep-config.patch 2020-06-16 17:32:42 +02:00
tr7zw
d9533c36c5 Update Upstream 2020-06-16 16:46:05 +02:00
tr7zw
92a69a9365 Update Upstream 2020-06-06 19:33:30 +02:00
tr7zw
41748cbde0 Update Upstream 2020-05-29 21:51:46 +02:00
tr7zw
1e07d21232 Update upstream 2020-05-24 13:44:25 +02:00
tr7zw
1b445676cf Update Upstream, 2 build artifacts 2020-05-23 16:17:42 +02:00
tr7zw
8f81b240a4 Update Upstream 2020-05-19 00:10:42 +02:00
tr7zw
0b20dc7894 Remove 2 EMC patches that cause problems with the Persistent Tile Data 2020-05-17 20:08:18 +02:00
tr7zw
efeefc0385 Update upstream 2020-05-12 19:47:53 +02:00
tr7zw
63d02ea488 Create 0063-lithium-MixinTypeFilterableList.patch 2020-05-12 01:17:43 +02:00
tr7zw
0dff60bd48 Create 0062-lithium-MixinBiome.patch 2020-05-12 00:46:38 +02:00
tr7zw
8f968606a3 More lithium patches, speeding up pathfinding 2020-05-11 22:57:32 +02:00
tr7zw
554b68aab8 Update readme, add new patch, fix MixinAxisCycleDirection patch 2020-05-11 21:51:16 +02:00
tr7zw
41126e9aa7 Update upstream, add MixinAxisCycleDirection from lithium 2020-05-11 21:31:27 +02:00
tr7zw
8f8ac72d5d Start porting lithium mixins to the spigot world 2020-05-11 21:14:34 +02:00
tr7zw
6f69976222 Update upstream 2020-05-10 22:38:12 +02:00
tr7zw
00747a519d Update Upstream 2020-05-10 16:03:44 +02:00
tr7zw
0cad17d7e0 Add the paper repo 2020-05-07 17:23:09 +02:00
tr7zw
2f05302c9b Update upstream 2020-05-07 16:59:29 +02:00
tr7zw
7caa213529 Fix other methods not getting any inventory/enderchest 2020-05-06 00:24:48 +02:00
tr7zw
aa52416b83 Update upstream 2020-05-05 20:06:36 +02:00
tr7zw
b7746f4e04 Update upstream 2020-04-28 21:30:52 +02:00
tr7zw
5cfbd15997 Update upstream 2020-04-27 00:29:45 +02:00
tr7zw
860456ac6e Make player saving fully async (except inventory/enderchest), load Statistics async 2020-04-21 17:38:37 +02:00
tr7zw
752b024a2d Create 0060-Modify-default-configs.patch 2020-04-21 16:16:40 +02:00
tr7zw
9c12a982b1 Update EntityEffectAddedEvent, 3 Purpur patches 2020-04-21 16:01:51 +02:00
tr7zw
cf35d69466 Update upstream 2020-04-21 15:06:54 +02:00
tr7zw
1c004f9466 Add 2 Purpur MC fixes 2020-04-21 14:45:34 +02:00
tr7zw
026b294dac Add two Akarin patches 2020-04-21 14:25:04 +02:00
tr7zw
303fbc3508 Update Upstream 2020-04-21 13:55:39 +02:00
SoSeDiK
aa63716752 Update the Recipe when found
Also ignore .idea files
2020-04-13 22:05:26 +03:00
tr7zw
08895a02d2 Update nbt-api, fix build 2020-04-11 17:03:40 +02:00
tr7zw
ad0d6e2fb2 Update upstream 2020-04-11 15:47:44 +02:00
tr7zw
46a60ff412 Import 2 basic Akarin patches 2020-04-09 23:51:53 +02:00
tr7zw
4aaf88f011 Do not skip players water checks
//TODO make this configurable?
2020-04-09 18:23:29 +02:00
tr7zw
12c8170d93 Update Tuinity 2020-04-09 14:46:41 +02:00
tr7zw
109e463282 Update Upstream 2020-04-06 23:09:37 +02:00
tr7zw
2c1efb1c23 Update upstream 2020-04-06 20:21:57 +02:00
tr7zw
5c62c2eced Create 0052-Stop-a-pathfinder-method-to-call-itself-more-than-on.patch 2020-04-06 01:06:33 +02:00
tr7zw
280851f47e Update Upstream 2020-04-05 19:37:00 +02:00
tr7zw
11cf2aada7 Update 0051-Player-saving-async-FileIO.patch 2020-04-05 03:24:57 +02:00
tr7zw
70dd759f71 Create 0051-Player-saving-async-FileIO.patch 2020-04-04 23:24:25 +02:00
tr7zw
ab3363a741 Add NBT-API as first-class lib 2020-04-02 18:50:49 +02:00
tr7zw
5070754a1f Update Upstream 2020-04-02 16:22:55 +02:00
tr7zw
d6679a78e3 Update upstream 2020-04-02 01:02:22 +02:00
tr7zw
8081a196d5 Update 0049-Add-option-for-pushable-TileEntities.patch 2020-04-01 22:48:30 +02:00
tr7zw
057ecf1f49 Improve handeling of missplaced moving piston entities 2020-03-31 18:39:54 +02:00
tr7zw
4958e9327f Create 0050-EMC-EAR-improvements.patch 2020-03-30 01:53:21 +02:00
tr7zw
9f93a8da37 Update upstream 2020-03-30 00:41:19 +02:00
tr7zw
3136c1740c Added WIP optional pushable Tile Entities 2020-03-29 04:58:53 +02:00
tr7zw
2771e1e59e Allow to change the piston push limit 2020-03-29 00:36:07 +01:00
tr7zw
b9d8b94c32 Update upstream 2020-03-27 19:05:16 +01:00
tr7zw
c03ed94cac Create 0047-Add-option-for-only-players-to-have-collisions-with-.patch 2020-03-23 23:12:14 +01:00
tr7zw
471d612131 Update upstream 2020-03-23 21:46:28 +01:00
tr7zw
9afd5b607d Create 0046-Remove-Stream-usage.patch 2020-03-23 18:22:43 +01:00
tr7zw
0a582a786d Rewrite BehaviorController, add some utility to patch paper 2020-03-22 20:44:02 +01:00
tr7zw
8ae1a4c13e Create 0044-Rewrite-Pathfinder-to-not-use-Streams.patch 2020-03-22 19:13:15 +01:00
tr7zw
55f4019aab Update upstream 2020-03-22 16:40:40 +01:00
tr7zw
6d36db0e82 Fix branding 2020-03-21 17:30:03 +01:00