Commit Graph

132 Commits

Author SHA1 Message Date
ishland
2a411ec655
Preload ProtocolLib EnumWrappers (#368)
See patch notes
2021-01-27 23:53:05 +08:00
ishland
478b88dc35
Use ObjectArrayList in CraftingManager and clear recipes before reload (#367)
Fixes https://github.com/YatopiaMC/Yatopia/issues/366
2021-01-27 23:52:45 +08:00
ishland
49133cb643
Compatibility fixes (#363)
* Retain BiomeStorage vanilla compatibility

* remove networking patches

Co-authored-by: Simon Gardling <titaniumtown@gmail.com>
2021-01-26 11:17:41 -05:00
Simon Gardling
d059af01b6
Updated Upstream and Sidestream(s) (Paper/Purpur/AirplaneLite) (#362)
* Updated Upstream and Sidestream(s) (Paper/Purpur/AirplaneLite)

Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Paper Changes:
fc4c0bc42 Reset shield blocking on dimension change
1c8b6065e Skip distance map update when spawning is disabled
091e6700f Added PlayerStonecutterRecipeSelectEvent
fc885f966 Add toggle for always placing the dragon egg
b3a6da3a7 Updated Upstream (Bukkit/CraftBukkit)
18ccc062d [Auto] Updated Upstream (Spigot)

Purpur Changes:
df9bd08 Config to use infinity bows without arrows (#149)
9d537bc Fix PlayerEditBookEvent not saving new book
3f8816d [ci-skip] Oops
5508728 [ci-skip] Add granny to funding
4c7ab70 Updated Upstream (Paper)
5eefb52 [ci-skip] Update Gradle to 6.8.1

AirplaneLite Changes:
459bb20 Remove patch
515fec7 Remove streams
fc94d7b Correct launcher name
0b153bd Update gradle version

* add Remove-streams.patch from AirplaneLite
2021-01-25 13:22:51 -06:00
Simon Gardling
620a24c155
revert revert-improve-task-performance (#361) 2021-01-25 11:01:30 -05:00
ishland
aebd71f724
Drop Unsafe UUID & Proxy Data Patches (#357) 2021-01-24 23:52:19 +08:00
Hugo Planque
b27d77ca49
New network system (#340)
* New network system

* Revert code readability

* Change comment style

* Bring the patch to standarts

* Fix astei's nickname

Sorry

* Remove explicit logging

* Adapt FastThreadLocalThread

* Add new network optimisation and cleanup useless import

* Port krypton

* Minimize diff

* Some bug fixe

* Fix typo

* Fix mail adress

Co-authored-by: Hugo Planque <hookwood@pop-os.localdomain>
Co-authored-by: Ivan Pekov <ivan@mrivanplays.com>
Co-authored-by: Zoe <duplexsys@protonmail.com>
2021-01-23 12:57:49 -06:00
Hugo Planque
ebf26c2f82
Port hydrogen to Yatopia (#344)
* Port hydrogen to Yatopia

* Update license and readme

* Fix patches credits

* Fix dumb code

* Configure intellij to stop importing *

* Fix credits that got reverted

* Properly update

* Minimize diff

Co-authored-by: Hugo Planque <hookwood@pop-os.localdomain>
Co-authored-by: Ivan Pekov <ivan@mrivanplays.com>
2021-01-23 12:47:55 -06:00
Zoe
985b5655f5
Use modified toothpick for our build & patch system.
This has been in work for a bunch of time. Zoe ( duplexsystem or budgidiere, whatever ) has put a ton of work into this. 
We now have a bugfree build system that works flawlessly. 

Co-authored-by: Ivan Pekov <ivan@mrivanplays.com>
Co-authored-by: Simon Gardling <titaniumtown@gmail.com>
Co-authored-by: toinouH <toinouh2003@gmail.com>

P.s the one who merged this is ivan and not bud.
2021-01-21 12:58:52 +02:00
Ivan Pekov
ced85132f5
Replace all references to codemc.org with codemc.io
this should fix the build problems @ codemc
2021-01-21 10:17:19 +02:00
Simon Gardling
19b1495d69
Add config option for logging login location (#346) 2021-01-21 07:47:05 +02:00
Ivan Pekov
0c43fe2949
Updated Upstream and Sidestream(s) (Tuinity/EMC/Origami/Purpur/AirplaneLite)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
c04b005 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.5
1d169e7 Updated Upstream (Paper)

EMC Changes:
a8914cb8 Remove the ProjectileHitBlockEvent
b8f864b5 Updated Paper
42cd3269 Remove FlowerPotPlantEvent and undeprecate FlowerPotRemoveEvent
64b3edf0 Remove the UUID key for setSpawnedEntity
938c6f1b Convert spawn egg entity tag attributes on creature spawn
4cc80284 Disable entityTag conversion since data version isn't accessible in scope
478d83fe Updated Paper
1e409abf Updated Paper

Origami Changes:
ab42df9 Update Paper

Purpur Changes:
7e8bf66 Updated Upstream (Paper & Tuinity)

AirplaneLite Changes:
3200f2a Add new webhook for notifications
fe01371 Up MC version
c585ff5 Updated Upstream (Tuinity)
2021-01-18 18:40:21 +02:00
Ivan Pekov
99e3c5ddd8
Updated Upstream and Sidestream(s) (Tuinity/EMC/Origami/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
f4f7929 Updated Upstream (Paper)

EMC Changes:
bdbacfb3 Updated Paper
a59be75b Convert item name/lore at time of creation properly

Origami Changes:
eb7662a Fix legacy code being accessible when disabling legacy support

Purpur Changes:
7356e48 Fix stuck in portals
7f4c8f8 Updated Upstream (Paper)
2021-01-15 16:20:46 +02:00
Ivan Pekov
3770a43472
Updated Upstream and Sidestream(s) (Tuinity/Purpur/AirplaneLite)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
33b3f86 Updated Upstream (Paper)
4743c34 Updated Upstream (Paper)

Purpur Changes:
5c0dbf1 [ci-skip] Easier way to remove tuinity's revert of MC-4
424fcf1 Updated Upstream (Paper & Tuinity)
b3644cc Fix rotating UP/DOWN CW and CCW
fbb74cd Updated Upstream (Paper)

AirplaneLite Changes:
5e8ebc0 Updated Upstream (Tuinity)
2021-01-07 17:09:35 +02:00
Ivan Pekov
2b156e3c9c
Updated Upstream and Sidestream(s) (Tuinity/Origami/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
abeafb0 Updated Upstream (Paper)

Origami Changes:
e204bb8 Update Paper

Purpur Changes:
c7b279f Updated Upstream (Paper & Tuinity)
2021-01-05 19:21:38 +02:00
Ivan Pekov
548b666d62
Some entity optimisations
Optimised halloween checker and some smol optimisations.
2021-01-04 20:45:19 +02:00
Ivan Pekov
63ce6fbe16
PaperPR - Fix username connecting with no texture being overwritten by usercache 2021-01-04 10:51:42 +02:00
Ivan Pekov
adb131f051
Updated Upstream and Sidestream(s) (Tuinity/EMC/Purpur/AirplaneLite)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
2325c36 Updated Upstream (Paper)

EMC Changes:
a841b5a5 Fix more lore/item name issues (fixes witch gem issue)
1abb3fae Ensure server conversions on ExactChoice ingredients
f2f9d2b0 Forgot to commit paper ref
388620d5 Updated Paper
7a0ae67b Add a null check for UUID to prevent npe later
9de409e0 Updated Paper
0d09eb9a Add new Empire Server API for managing fake players for the tablist

Purpur Changes:
da95725 Updated Upstream (Tuinity)
7194a16 Updated Upstream (Paper)
77373ea Updated Upstream (Tuinity)
0bae78d Drop async advancements patch for now

AirplaneLite Changes:
7b4acbe h != k
a07e80c Whoops, missed paperclip change
845c191 Add license to patch files
fa671b7 Allow gradle wrapper in gitignore
04fc820 Rework strip raytracing patch
f48f6b2 Updated Upstream (Tuinity)
ec7c6df Fix encoding
9326301 Update upstream, fix utf8
20b8c79 Allow gradle wrapper in gitignore
6cd80e9 Updated Upstream (Tuinity)
2021-01-03 13:41:36 +02:00
Ivan Pekov
011dd344e4
Add a special case for floodgate and offline uuids
floodgate spoofs uuids, but plugins such as luckperms get the uuid that the server uses, causing problems
if this option is configured properly, such things won't happen
2020-12-29 08:52:57 +02:00
Ivan Pekov
aaeb472be2
Drop this shit
I don't have any more nerves to fix this
2020-12-27 08:44:05 +02:00
Ivan Pekov
ef7a12601f
Updated Upstream and Sidestream(s) (Tuinity/EMC/Purpur/AirplaneLite)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
86b20d4 Updated Upstream (Paper)
afd0643 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.4
d1db107 Updated Upstream (Paper)

EMC Changes:
d32f7b26 Updated Paper
0650e984 Only retrack passengers if there are passengers in them

Purpur Changes:
5758335 Configurable spawn reinforcements attribute
8849c20 Fix afk broadcast stripped colors
fe73b19 Updated Upstream (Paper)
f3dccd1 [ci-skip] Specify UTF-8 for Javadoc and JavaCompile
7ad2c5d [ci-skip] More attributes work
19ec1c3 [ci-skip] Uh.. I dont even know..
1cb7e4e Add PlayerBookTooLargeEvent
4e8a150 Updated Upstream (Paper)
8cabaae Updated Upstream (Paper & Tuinity)

AirplaneLite Changes:
20b8c79 Allow gradle wrapper in gitignore
6cd80e9 Updated Upstream (Tuinity)
2020-12-24 09:14:21 +02:00
Ivan Pekov
27a7dc2193
Don't unnecessarily copy the passenger list 2020-12-23 10:01:47 +02:00
Ivan Pekov
5c8274bd2f
Port requested patches from Purpur
Ported: TPSBar, custom growth rates and configurable lava speed
2020-12-23 09:46:56 +02:00
Ivan Pekov
89229b4966
GH-322: Return end gateways do not teleport players back to the main end island
Fixes #322
Instead using the idea suggested, I dropped the patch and reimplemented some of the smol stuff in a new one.
2020-12-23 08:50:22 +02:00
Ivan Pekov
2b78178637
Updated Upstream and Sidestream(s) (Tuinity/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
69e6a4c Updated Upstream (Paper)

Purpur Changes:
391f9ad Updated Upstream (Paper)
2020-12-17 09:48:17 +02:00
Ivan Pekov
d072a3583a
AirplaneLite patch changes
removed "concurrent loadedchunkmap" and "concurrent visiblechunks and updating chunks"
added "reduce projectile chunk loading"

Should help with some crashes on leaflight builds.
2020-12-16 08:15:14 +02:00
Ivan Pekov
04855bfdc9
Port 2 patches
First patch is "Do not update distance map when animal and mob spawning is disabled in the particular world"
The commit name speaks for the patch itself. It can decrase tps losses for worlds where animal or monsters do not
spawn.

Second patch is from Purpur, "Spread out and optimise player list ticks".
It changes the way an update packet is sent. The update packet is the packet which updates the green lines
on the tablist.
2020-12-08 08:17:09 +02:00
Ivan Pekov
7f24790a35
Updated Upstream and Sidestream(s) (Tuinity/EMC/Purpur/AirplaneLite)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
cf37529 Updated Upstream (Paper)

EMC Changes:
27282006 Updated Paper
456edfa4 One more try to fix more chunks on reload

Purpur Changes:
45d5e9a Fix dolphin spit and phantom flames
9e1b8e7 Clean up teleport outside border patch Add sleeping, inventory, and toWorld checks
8428580 [ci-skip] Add 'fast' argument to './purpur jar' to speed up jenkins build time
cea486c Updated Upstream (Paper)
6cd244c Fix infinite furnaces triggering without lava source
a989361 Fix infinite furnaces leaving empty buckets
6cf1672 Add config option for whether Nether Wart farming Villagers should throw extra Nether Warts at other Villagers
07d4056 Add toggle for Zombified Piglin death always counting as a player kill when angry (Zombified Piglin XP farm nerf option)
9935466 Add config option for Cleric Villagers to farm Nether Wart
47a1707 fix typos
6e42ce8 Updated Upstream (Paper)
740b7d2 [ci-skip] Update readme with downloads API info

AirplaneLite Changes:
5526dde Add download link to readme
2020-12-07 10:10:55 +02:00
Ivan Pekov
a53bff4904
Updated Upstream and Sidestream(s) (Tuinity/Akarin/EMC/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
fea2c2b Updated Upstream (Paper)
490c26a Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.4
8056d13 Setup bstats page
44f5e54 Updated Upstream (Paper)

Akarin Changes:
b53f48a Update Jenkinsfile
1e9cf1a Update SUPPORT.md
b9255e8 kinda useless when we have jenkins
f6e4782 Update Jenkinsfile
5ecf3fe Update Jenkinsfile
cbd236b Updated JenkinsFile
0d2ff08 Removed Gradle
2dab0a4 Removed gradle

EMC Changes:
90b678ea Updated Paper
ce669f9f Clear bukkit chunk tempmeta on reload
a524531d Improve vehicle/passenger teleporting patch
42b3f944 Update README.md (#8)
3e1aa746 Add sender uuid to chat messages
a27a3a8f Updated Paper

Purpur Changes:
7174d63 PaperPR - Projectile load/save limit per chunk
61d72c7 Add boat fall damage config
7403d46 Fix patch number
40d8df2 Add configurable entity left handedness chance
93e08ee Fix patch header and comments from last commit :3
ed192b6 Add Origami's patch to fix ProtocolLib on Java 15
7eb96ff Left handed API
3224b2b Better name for an OBFHELPER
9ec6496 Missed an OBFHELPER
7f93289 Add demo command
3b68476 Fix build
a5fc52c Updated Upstream (Paper)
67ebb28 Optimize EntityMoveEvent detection
585fad0 Add RidableMoveEvent
c835ce8 PaperPR - Expose world spawn angle
6a209ef Zombie break door minimum difficulty option
8c4de5c Updated Upstream (Paper & Tuinity)
2020-12-01 09:42:51 +02:00
Ivan Pekov
784079fc31
optimizations (#297)
* Drop useless stuff

* Faster Random

* TE opts

* Patches.md

* More Faster Random

* Fix Build

* More Opts

* AirplaneLite

* Update README.md

removed TIC-TACS and adding AirplaneLite

* Add AirplaneLite to the update script

* Rebuild patches

* Make enchanting table ticking configurable

* AirplaneLite to commitUpstream.sh

* Use FastRandom on more places

Co-authored-by: Bud Gidiere <sgidiere@gmail.com>
Co-authored-by: Simon Gardling <Titaniumtown@gmail.com>
2020-11-30 20:08:41 -06:00
Ivan Pekov
23b9e93f39
GH-286: Feature request : Edit and color sign Purpur features
Closes #286
2020-11-26 12:38:40 +02:00
Ivan Pekov
8fee475387
Updated Upstream and Sidestream(s) (Tuinity/Akarin/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
ff785fc Updated Upstream (Paper)

Akarin Changes:
2dab0a4 Removed gradle
72e3c4a Update README.md
bbad638 Update README.md
bbdea8e Update Jenkinsfile
bb9db8b Updated tuinity to spottedleaf repo
6961481 Updated Tuinity branch
de97830 Updated Tuinity
62d4b43 Update SUPPORT.md
21fffd0 Update README.md
4bd120b Merge pull request #186 from adsa562/patch-1
1f8eccf add demo server
630ea72 Updated Tuinity
59fae5a Made 1.15.2 build again
bd703ba Allowed building for dirs that have spaces
a339866 Update SUPPORT.md
db61690 stated that it is not a bedrock server software
df7efd2 Added Jenkinsfile
75b7f13 removed broken patch
19387b2 Updated Artifacts URL
c5a7778 fixed build
3abf7a7 Fixed Initialize step
2d3ea37 Updated Tuinity and Paper
220d1b8 Removed patch 0019 - breaks upstream
1ccf615 Added tuinity branch to gitmodules
c5e73c7 Updated Upstream (Tuinity)
3cd947f Updated Upstream (Tuinity)
14df550 cleanup scripts/importSources.sh
49d9af7 revert a broken patch
630492a revert a broken patch
cb5ea51 Fixed build failure
826c0f0 Updated 1.15.2 jenkinsfile to 1.16.1
574b206 Update SUPPORT.md
90e3f89 Update SUPPORT.md
c2a5f66 fix
b30241b fix
4e06aea fix
284809b 1.16.1

Purpur Changes:
096971d Rename kelp/vines options to make more sense
8ea89f9 Fix broken methods in purpur config
c505cf7 Updated Upstream (Paper)
695f3ac Add configurable snowball damage
2d04fb5 Updated Upstream (Paper)
badfd60 Rebuild patches
f3aff1b Merge branch 'ver/1.16.4' of github.com:pl3xgaming/Purpur into ver/1.16.4
cfcf7d7 Add critical hit check to EntityDamagedByEntityEvent
0b48c6c Add config for allowing Endermen to despawn even while holding a block
1349e72 Updated Upstream (Tuinity)
651105e Kelp weeping and twisting vines configurable max length
058399c Updated Upstream (Tuinity)
3e0a758 Add twisting and weeping vines growth rates
2020-11-26 11:52:33 +02:00
Ivan Pekov
37e61be6c2
Updated upstream and sidestream (Tuinity/Purpur)
Closes #289
Also dropped some patches which are useless.

Changes in Purpur: Paper upstream updates
Changes in Tuinity: Paper updated
2020-11-20 09:14:39 +02:00
Ivan Pekov
74bcf06dd5
Updated Upstream and Sidestream(s) (Tuinity/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
47a29f8 Updated Upstream (Paper)

Purpur Changes:
5656968 Set name visible when using a Name Tag on an Armor Stand
e7b397b Apply display names from item forms of entities to entities and vice versa
641bbec Add end dimension noise cache patch from Paper PR queue
f7d6be9 Fix #77 Add option to disable console hex color support
b3b4a11 Updated Upstream (Paper)
f9db92c Breeding configuration patches (#95)
686640f Option to use farmland mechanics from Alpha
2536628 Fix download links in readme
2020-11-18 08:23:48 +02:00
Ivan Pekov
913822c1c9
Optimise portals
Closes #287
2020-11-17 09:54:17 +02:00
l_MrBoom_l
608fe60aac
GH-278: Configurable movement checks 2020-11-08 19:11:25 +02:00
Ivan Pekov
830bb6b70d
Updated Upstream and Sidestream(s) (Tuinity/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
f559558 Updated Upstream (Paper)

Purpur Changes:
1eaac71 Updated Upstream (Paper & Tuinity)
137523f Fix allowing color codes in signs
2020-11-08 18:59:56 +02:00
ishland
2b6de0fa5d Misc fixup 2020-11-07 15:16:33 +08:00
Ivan Pekov
02d19077cb
GH-272: Server crash on Non-Stable Build 130+
Fixes #272
2020-10-29 09:35:17 +02:00
budgidiere
c09ee99f7e
Hydrinity optimizations & Lithium generation patches & more
Closes #257 

Ports 2 patches from Purpur: Infinity-bow-settings & Allow-infinite-and-mending-enchantments-together
Added an option for infinity with no arrows too.

Option for custom locale has come! You can put a locale.json file in your server folder to change it. 

We've got the finest patches from Hydrinity ( Mykyta approved & allowed ) too.

We have some amazing new options in yatopia.yml, we're gonna have documentation for them soon so stay tuned!
Last but not least, chunk generation patches. We've tested them extensively so no weirdness happens.

Thanks for using Yatopia as your production server software.

Co-authored-by: Ivan Pekov <ivan@mrivanplays.com>
2020-10-27 21:15:13 +02:00
Ivan Pekov
ab975588e5
Some patch organisation
Also dropped a patch that I think was kinda unnecessary.
2020-10-22 14:37:58 +03:00
Ivan Pekov
516720bd24
Some patches 2020-10-19 17:42:19 +03:00
Ivan Pekov
98b47c81e9
Updated Upstream and Sidestream(s) (Tuinity/EMC/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
84aecdb Merge https://github.com/Spottedleaf/Tuinity into ver/1.16.3
de1983b Updated Upstream (Paper)

EMC Changes:
1499c3fb Un-Merge PlayerInteractEntity and PlayerInteractAtEntity
17184238 Updated Paper
d0715d42 Updated Paper

Purpur Changes:
32b7926 Fix #77 and credit correct author
42d9e8f Updated Upstream (Paper)
5026a31 Controllable minecarts fall damage option and slow down in air fix
d9c0631 Updated Upstream (Paper)
d40fd41 Fix broken /time command
d652384 Updated Upstream (Paper)
86a0769 Configurable daylight cycle
2020-10-11 20:37:55 +03:00
Mykyta Komarnytskyy
2e894832ed Remove unstable/unnecessary patches
- Removed async entity tracking, as this is not a good implementation and has caused issues numerous times
- Removed "0037-Load-also-the-chunk-that-you-re-teleporting-to" as it does not fix the core problem
- Removed "0048-Fix-villager-dupe" as it was deemed unnecessary
2020-10-10 13:09:06 -07:00
Ivan Pekov
2ad8efe6ae
Make async entity tracking more thread-safe
Fixes GH-247
2020-10-09 06:25:18 +03:00
Ivan Pekov
252bf7e437
Updated Upstream and Sidestream(s) (Tuinity/Origami/Purpur)
Upstream/An Sidestream has released updates that appears to apply and compile correctly
This update has NOT been tested by YatopiaMC and as with ANY update, please do your own testing.

Tuinity Changes:
82e5dfb Updated Upstream (Paper)

Origami Changes:
7e2a3f6 Update Paper

Purpur Changes:
5cc7709 Make mobs avoid stonecutter blocks
129484a Stonecutter damage
8295d22 Updated Upstream (Paper)
d23a158 Infinity bow settings
5c0a270 Make infinite lava number of required sources configurable
ef17322 Update readme
70e2ec0 Cleanup codebase
81ca45c Flying squids! Oh my!
2020-10-08 14:24:41 +03:00
Ivan Pekov
0a19056af0
Drop akarin's stream replacements
Fixes bad performance out of the box for production. 
Apparently there's another issue which is thinkering our minds up, it is that after certain amount of time the gc just can't keep up. We're investigating into this, but until it is fixed - this is gonna be a stable build 

Co-authored-by: Mykyta Komarn <nkomarn@hotmail.com>
2020-10-08 14:04:22 +03:00
Mykyta Komarn
5431509f72 Greatly improve recipe and furnace performance
Remove more fucked up stream conversions. Also use cached recipe in furnaces when possible, and only lookup when absolutely necessary.

On a server with 8.8K furnaces, the average tick rate was ~0.3-1ms higher when furnaces were burning vs idle furnaces, as compared to ~10ms difference in earlier revisions of these patches.
2020-10-06 18:36:00 -07:00
Ivan Pekov
1039afef5d
Advancement optimizations
This drops rainforest's async advancements patch, which was very unsafe, and replaces it with our own optimization patch, which isn't async, but it is enough to lower the pressure upon join.
2020-10-06 17:26:45 +03:00
Mykyta
c8320920b0
Entity tracker optimizations (#232)
* Async entity tracking

This is very basic, and I plan to commit the full entity tracker optimizations in the near future.

* Fix compatibility with Citizens

This also simplifies the patch quite a bit

* Make the patch much more safer

* Current progress

Maybe most of those \"ensureMain\" calls are unnecessary, but it has to be tested.
the only problems now are that entities are teleporting instead of normally moving

* Fix entities "teleporting"

* Fixup some of the diff

* Add some notes

Co-authored-by: Ivan Pekov <ivan@mrivanplays.com>
2020-10-05 22:05:57 -05:00