Commit Graph

108 Commits

Author SHA1 Message Date
Ivan Pekov
b6b0e23f1a
More progress
we've got it to render using binarySearch but its not ideal and it has the same speed as without it....
2020-12-03 10:15:07 +02:00
Ivan Pekov
1bfece82be
Current progress
Up to nothing
2020-12-02 21:41:07 +02:00
epserv
106b7092c1 Fix diff and getDistance 2020-12-02 23:19:50 +05:00
epserv
246f6e0b18 Optimize Bukkit's MapPalette 2020-12-02 21:55:59 +05: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
Mykyta Komarn
2019524096 [CI-SKIP] Change Glue List patch names for licensing 2020-10-05 18:53:27 -07:00
Mykyta Komarn
d62c2f7cca Remove Tic-TACS threading fix from WeightedList patch 2020-10-05 18:24:35 -07:00
Ivan Pekov
2c55264dba
Ensure pools create daemon threads 2020-10-05 17:53:08 +03:00
Ivan Pekov
755f429c32
Patch port changes
Dropped some patches from purpur, added 2 patches from purpur.
Readded hopper optimizations from origami.
2020-10-04 18:43:50 +03:00
ishland
82a792e786
Improve task performance (#233)
* Improve task performance

* Yatopia comments

* Remove unnecessary diff

* Rebuild patches

* Fixes

* Polish things up

* Minimize diff and Yatopia comments

* Update PATCHES.md

* Made suggested changes
2020-10-04 10:25:36 -05:00
Ivan Pekov
f33511fdd2
Replace asynchronous json list save with json list save timings
so we see if this patch is necessary first. then we will reimplement it properly, as the current patch
is not race condition safe.
2020-10-02 17:54:16 +03:00
Ivan Pekov
e14836e8ea
Drop lithium noise patches & voronoi
Fixes #226

All these were doing some kind of weirdness to the chunk generation, thats why they were dropped.
Unfortunately this will decrease performance, but bugs is our priority before speed.
2020-10-01 19:51:56 +03:00
budgidiere
576ab42b68
Heavily optimize recipe lookups in CraftingManager
Author is @nkomarn .
2020-10-01 17:52:27 +03:00
Ivan Pekov
2b10346ecf
Keep compatibility with ProtocolLib
Closes #225
2020-10-01 14:13:08 +03:00
budgidiere
611b6ca461
Update PATCHES.md 2020-09-30 11:20:15 -05:00
Ivan Pekov
db58abea26
Add nspt command
Also add configurable flight checks, and removed a unused method in BlockPosition
2020-09-30 18:35:35 +03:00
Ivan Pekov
ef03360a82
Updated Upstream and Sidestream(s) (Tuinity)
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:
8d982c4 Updated Upstream (Paper)
2c7bad9 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.3
88a2c88 Revert usage of region manager
08581cf More validation
2020-09-30 16:32:49 +03:00
budgidiere
9047fcc9d4
Dev/fast suffocation check (#222)
* Use faster block collision check for entity suffocation check

Improves the speed of checks by ~3,000ns per entity on average.

* Add alternative constructor for suffocation check

This fixes entities falling through non-full blocks, such as slabs or hoppers.

* add patches.md

Co-authored-by: Mykyta Komarn <nkomarn@hotmail.com>
2020-09-29 20:47:34 -05:00
budgidiere
5b1f445951
Fix IndexOutOfBoundsException when sending too many changes
Authored-by: Ivan Pekov <ivan@mrivanplays.com>
2020-09-29 20:47:32 +03:00
Ivan Pekov
e37628ad1e
Some small patches
Fixes an issue with limits being ignored with per player spawning
Fixes an issue where you would be respawned south no matter the rotation of your spawn point.

Additionally, removed Producer#fillList(Producer, List) from the collisions patch and moved it
where it is first used. That's a misc maintainability change, but we have to be consistent!
2020-09-28 16:33:03 +03:00
Ivan Pekov
435f17de1c
Entities fall through Hoppers, Slabs and Stairs
Fixes #212
Additionally lowered the ram allocated and changed the work directory for the intellij run config.
2020-09-28 15:07:07 +03:00
Bud Gidiere
6c04ab54c4
Add StructureLocateEvent 2020-09-27 14:36:48 -05:00
Ivan Pekov
3348208059
Better formatTo method
there was a mistake, looks like got unnoticed between ns and ms, but if any1 wants to get the value with seconds or even minutes then it wont rly work out.
2020-09-27 20:43:40 +03:00
Ivan Pekov
c4a1166224
Add more permanent getLastTick time API
Also fix bad plugins that touch NMS not working
2020-09-27 19:05:16 +03:00
budgidiere
6e35639c48
add voronoi (#210)
* add voronoi

* fix
2020-09-26 22:18:58 -05:00
budgidiere
7437da54c6
add perlin noise mixin (#209)
* add perlin noise mixin

most likely broke because I didn't include something but we will see broke

* work

* more work

* working now

* update patches.md

* Cut Noise gen almost in half in most cases

* minor licence fix
2020-09-26 14:44:40 -05:00
Ivan Pekov
6d289f2412
Fix watchdog termination hanging indefinitely 2020-09-22 21:25:46 +03:00
Ivan Pekov
69d69784a7
PlayerAttackEntityEvent 2020-09-22 13:15:06 +03:00
Ivan Pekov
322c7c08e1
Optimize whitelist command for multiple additions / removals
Previously the whitelist command was adding players 1 by 1. This caused massive overload
when you were adding multiple players due to the fact it saves every time a player was
added.

These changes aim to reduce that load whenever you are using the /whitelist command.
2020-09-22 10:17:38 +03:00