Commit Graph

426 Commits

Author SHA1 Message Date
Ivan Pekov
5b37c44801
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:
ac6b72e Updated Upstream (Paper)

Origami Changes:
b69a015 Fix pre spawn event shouldAbortSpawn not working correctly for golems

Purpur Changes:
8dfb30b Updated Upstream (Paper & Tuinity)
2020-10-01 14:30:11 +03:00
Ivan Pekov
2b10346ecf
Keep compatibility with ProtocolLib
Closes #225
2020-10-01 14:13:08 +03:00
Mykyta Komarn
0b9ce71ab6 Use FastUtil maps for fuel cache 2020-09-30 18:12:52 -07:00
Mykyta Komarn
78611f3653 Add GlueList
This is the fastest List implementation I could find. We will be using this heavily.
2020-09-30 18:06:10 -07:00
budgidiere
320c8d8bf8
Update 0054-lithium-NoiseChunkGeneratorMixin.patch 2020-09-30 14:00:48 -05:00
budgidiere
2385dcb2b1
Update 0064-Configurable-flight-checks.patch 2020-09-30 11:19:16 -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
239a43721f
Hey Ivan, why did u forgot to check for .rej files?
This manouver is gonna cost us 50 years.
2020-09-30 16:41:33 +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
e657ed2051
Update and rename 0060-Tic-Tacs-Threading-Fix.patch to 0060-tic-tacs-Threading-Fix.patch 2020-09-29 22:46:48 -05: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
3e6b1799a2
Fixes #202 (#220) (#221)
Co-authored-by: Mykyta <nkomarn@hotmail.com>
2020-09-29 16:54:47 -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
930a869426
Do not limit the VoxelShape only to its AABB
Thanks leaf for taking my eyes onto it.
Additionally removed the sorting of Producer#fillList . Was causing unnecessary load
2020-09-29 13:36:29 +03:00
budgidiere
0faeed74aa
Dev/thread (#214)
* Add tic-tacs threading fix

* fix diff and credits
2020-09-28 16:31:36 -05: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
eb92b9e18c
Updated Upstream and Sidestream(s) (Tuinity/Purpur/Rainforest)
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:
fb292c1 Updated Upstream (Paper)

Purpur Changes:
bb5c8a7 Updated Upstream (Paper)
0c230d7 Updated Upstream (Tuinity)

Rainforest Changes:
cebeea1 Updated Upstream (Paper)
2020-09-28 15:56:51 +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
255f36d32b
Add IntelliJ IDEA runnable 2020-09-27 17:08:32 -05: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
Bud Gidiere
a5753ad102
Minimize DIff 2020-09-27 09:14:14 -05:00
budgidiere
6e35639c48
add voronoi (#210)
* add voronoi

* fix
2020-09-26 22:18:58 -05:00
budgidiere
b9b4ee7beb
Properly credit supercoder79 2020-09-26 14:51:26 -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
4c7a91845b
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:
4a99f3e Updated Upstream (Paper)
f5d537e Merge https://github.com/Spottedleaf/Tuinity into ver/1.16.3
7936e2b Make async usage of IteratorSafeOrderedReferenceSet less dangerous

Purpur Changes:
2cce22a Updated Upstream (Paper & Tuinity)
8d407a9 Despawn rate for llama spit
2020-09-23 18:38:34 +03:00
Ivan Pekov
1af2160432
Im blind pls dont blame me kthx 2020-09-22 21:29:12 +03:00
Ivan Pekov
6d289f2412
Fix watchdog termination hanging indefinitely 2020-09-22 21:25:46 +03:00
Ivan Pekov
56cfcf9e99
Properly handle PlayerAttackEntityEvent
smaller diff and also fixes an issue the entity has been put on fire but no other damage dealt
2020-09-22 15:21:04 +03:00
Ivan Pekov
69d69784a7
PlayerAttackEntityEvent 2020-09-22 13:15:06 +03:00
Ivan Pekov
609364922c
Improve Producer#fillList
now it sorts if all the values in the list are comparables and avoids values which are null
or contain in the list already.
2020-09-22 11:19:02 +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
Ivan Pekov
dd8ff13025
Check if the position checked has this property
Fixes #205
2020-09-21 18:20:37 +03:00
Ivan Pekov
f2a29e3a1d
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:
be68938 Hey git, may I know what happened here?
1cac0a2 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.3
1e695f4 Make sure inlined getChunkAt has inlined logic for loaded chunks
cd22b8a Updated Upstream (Paper)
2020-09-21 15:55:01 +03:00
Bud Gidiere
d8e365633c
try removing async stuff 2020-09-20 17:48:06 -05:00
Bud Gidiere
6e3d09cf54
test old async stuff to fix load hang 2020-09-20 17:30:33 -05:00
Ivan Pekov
f541b93c6a Updated Upstream and Sidestream(s) (Tuinity/Purpur/Rainforest)
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:
76777f0 Updated Upstream (Paper)
6465aba Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.3
ba4dbb6 Do not allow ticket level changes while unloading playerchunks
e0e7144 Aggressive state checking in region manager

Purpur Changes:
0743d38 PaperPR - Add hex color code support for console logging
081f5a7 Oopsie, lets fix these snowballs :3
4895a88 Improve output of plugins command
3424c40 Minor changes to projectile despawn rate patch
9d49a31 Updated Upstream (Paper)
09e0103 add snowball to despawn rate config

Rainforest Changes:
5a187d6 Update to 1.16.3.
2020-09-20 21:45:23 +03:00
ishland
e65858c78a
Improve async task handler (#203) 2020-09-20 19:55:56 +03:00
Ivan Pekov
37ee772342
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:
d39cda0 Updated Upstream (Paper)

Origami Changes:
6c89f23 Update Paper

Purpur Changes:
242deee Merge pull request #63 from jmanpenilla/patch-1
700b42f Update README.md
2020-09-17 14:42:54 +03:00
Ivan Pekov
c9c3a0c8ae
Fix a issue with fishing rods going out of the water 2020-09-15 17:42:53 +03:00
Ivan Pekov
e5a23c15f5
How did u do that 2020-09-15 08:44:18 +03:00
Ivan Pekov
a62a7ad2a8
Yatopia command gets nuked 2020-09-15 08:43:13 +03:00
Ivan Pekov
b512028dea
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:
c9cfdba Updated Upstream (Paper)

Purpur Changes:
d4301d4 Updated Upstream (Paper)
0e1cb93 wandering trader spawn rate config
67a42f6 Despawn rate config options per projectile type
7a1012e Drop "Use-arrow-despawn-rate-for-all-projectiles.patch"
8767574 Fix #56 Fix #50 - Ridable baby and tameable settings
8ec6f6f Fix #46 - Essentials EC overriding Purpur
a919aa3 Updated Upstream (Paper & Tuinity)
2020-09-15 08:23:39 +03:00
Ivan Pekov
cb3e5eac78
Fix villager dupe 2020-09-14 12:57:41 +03:00
Ivan Pekov
c4c1a29bd9
Yatopia Metrics :) 2020-09-13 21:50:36 +03:00
Ivan Pekov
39b28b0cbe
Fix misc entity type handling for EntityFilter
after countless rewrites and stuff, it should now be fixed.
2020-09-13 12:27:38 +03:00
Ivan Pekov
e47fe5354e
Nuked some patches 2020-09-13 10:00:43 +03:00
Ivan Pekov
f1d3c9d7a2 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:
5994cb0 Updated Upstream (Paper)
7dfe18c Merge https://github.com/Spottedleaf/Tuinity into ver/1.16.3
ef4e59a Optimise tab complete

Purpur Changes:
8726ad9 Updated Upstream (Paper)
2020-09-13 09:07:20 +03:00
Ivan Pekov
21db600711
Villager stuff
Fixes #152 

There is still the issue with doors which I will try to fix later on, but the new option should make them more "vanilla".

See the description of the new patch for more information.
2020-09-13 08:22:23 +03:00
Ivan Pekov
57bf138aec
This is what happens when you don't triple check 2020-09-12 09:31:53 +03:00
Ivan Pekov
67f9aea916
Remove Origami's hopper optimizations
See issue #176
This fixes the "it gets more serious". However, the problem is still being present.
it looks like it is purely random which hopper is going to suck in the item.

whatever weirdness is still present with hoppers and sorting systems, if its not mojang
then its paper's optimizations, which we're not removing.
2020-09-12 09:25:28 +03:00
Ivan Pekov
e304b7fad9
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:
1c05858 Updated Upstream (Paper)
2020-09-12 09:01:00 +03:00
foss-mc
28ac090db1
Shutdown Bootstrap thread pool (#194) 2020-09-12 08:40:19 +03:00
Ivan Pekov
7f58748ead
Who forgot to change this 2020-09-11 09:11:08 +03:00
Ivan Pekov
df4e16359b
That should've been deleted, what happened?! 2020-09-11 09:08:44 +03:00
Ivan Pekov
ac7e8f6ee3 Update to 1.16.3 2020-09-11 09:03:00 +03:00
Ivan Pekov
a909429e0c
Boys I got some fixes for you! 2020-09-10 21:35:41 +03:00
tr7zw
b02e858b3e
Correctly clean counter to fix HashedList#contains method
ported from lithium
2020-09-10 20:23:55 +03:00
Ivan Pekov
80a494c570
Fix of the purpur-46 fix
also made it so that there's no limit for Chunk section positions
2020-09-10 18:45:06 +03:00
Ivan Pekov
838aa2bd51
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:
483289c Updated Upstream (Paper)
2020-09-10 12:45:36 +03:00
Ivan Pekov
79de07b034
Fix "Unable to save chunk" error 2020-09-10 10:40:33 +03:00
Ivan Pekov
b4d77a95d1
Respect permissions when constructing InventoryEnderChest 2020-09-10 09:13:00 +03:00
Ivan Pekov
347ab2bae2 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:
e36359e Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.2
0b86de3 Fix several issues with Regions not recalculating correctly
36b43ee Automatically defrag IteratorSafeOrderedReferenceSet on element remove

Purpur Changes:
36672d6 remove unnecessary copying of BlockPosition
88ae09d fix the raid cooldown so that players can't just loop through the farm until the cooldown is over
de30a3e Updated Upstream (Paper & Tuinity)
2020-09-10 08:26:10 +03:00
Ivan Pekov
aef6d794a9
Implement latest lithium's HashedList 2020-09-09 20:36:29 +03:00
Ivan Pekov
9e3599ab2d
Lots of stuff going on here!
Added codemc stuff
Added ProxyForwardDataEvent
Changed version fetcher cache time to 72000 ms

Improved fix of tuinity's portal crash. Should help with #190
2020-09-09 17:18:52 +03:00
Ivan Pekov
43e9fcf77f
Stop wasting resources on JsonList#get 2020-09-04 10:24:27 +03:00
Ivan Pekov
d91ac35d76
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:
e59b60b Updated Upstream (Paper)
09f62a7 Rebuild patches
b041d11 Merge branch 'master' of https://github.com/Spottedleaf/Tuinity into ver/1.16.2
4468be2 Updated Upstream (Paper)
2020-09-04 09:19:36 +03:00
Ivan Pekov
a77a90a68d
Fix bork squids
Bravo mojong! How did u manage to break them!?
Ported a purpur patch which fixes the described behavior from our tester, t0ssox
2020-09-03 09:04:54 +03:00
Ivan Pekov
3184cdde7e 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:
a218f5d Updated Upstream (Paper)
2020-09-03 08:41:36 +03:00
Ivan Pekov
9627efce93
Nuke more streams 2020-09-02 22:06:17 +03:00
Ivan Pekov
8f615f9829
Apply proxi's fix on villagers
raids are yet again bork :((((
2020-09-02 21:24:46 +03:00
Ivan Pekov
921b0cdd6c
Fix portal fuckery 2020-09-02 20:58:08 +03:00
Ivan Pekov
337a6f46f3
Fix vanilla generation deadlock
Thanks aikar
2020-09-02 09:31:34 +03:00
Ivan Pekov
1ee37e46e7 Updated Upstream (Tuinity)
Upstream has released updates that appears to apply and compile correctly
Tuinity Changes:
f7c5428 Updated Upstream (Paper)
2020-09-02 09:16:50 +03:00
Ivan Pekov
c5cedad00f
Fix api version display 2020-09-01 18:34:30 +03:00
Ivan Pekov
04b66820e3
Highly optimize VillagePlace filtering
Also better stream replacement in BehaviorInteractDoor
2020-09-01 18:31:48 +03:00
Ivan Pekov
43f2b8b2ea
Refactor internals to net.yatopia.server
api refactor to that domain is coming in next major release
2020-09-01 09:38:17 +03:00
Ivan Pekov
4eefcbc41b Updated Upstream (Tuinity)
Upstream has released updates that appears to apply and compile correctly
Tuinity Changes:
ba0bfda Updated Upstream (Paper)
2020-09-01 08:36:11 +03:00
Ivan Pekov
339da44a99
Fix oversized block collisions
We went thru a bunch of effort for this fix, but its finally been patched.
In the meantime I ported jellysquid's latest changes to entity collisions which also work completely fine.

Thanks to Simon ( @smonnnn ) who is also going to be the co-author of this commit cuz he was the one to properly implement the problematic patch .
These changes should lower your mspt.

Fixes #165 
Fixes #178 

Co-authored-by: Simon L <slooij1@gmail.com>
2020-08-31 21:35:20 +03:00
Ivan Pekov
71c51a9aa2
Fix portals not creating 2020-08-31 12:37:52 +03:00
Ivan Pekov
d77eb35973
Update upstream 2020-08-31 12:24:45 +03:00
Simon L
49fe9db448
Fix Lithium's Oversized blocks counter optimisation (#177) 2020-08-30 07:40:10 +03:00
foss-mc
1b579ef312
Use Executor.execute() (#162) 2020-08-28 12:00:07 +03:00
Ivan Pekov
aca39ae8c4
Load also the chunk that you're teleporting to
Fixes Tuinity-178
2020-08-27 14:37:25 +03:00
foss-mc
500eaed545
Fix villager ticking when simpler villagers is enabled 2020-08-27 09:18:33 +03:00
Ivan Pekov
c97c1eeb4f
Missing ! from the 1.16.2 port
Some small shit can drive u crazy
Fixes #153
2020-08-27 08:32:27 +03:00
Ivan Pekov
467f3ee06e Update tuinity
Also nuked 1 more stream from recipes
2020-08-26 12:59:24 +03:00
Ivan Pekov
220d92f4c5
Fix recipe crash & portal crashes 2020-08-26 11:00:48 +03:00
Ivan Pekov
5620825b39
Upstream update & more
Dropped hopper optimizations patch by tr7zw. Sorry buddy, but the patch was making more
problems than it was solving. By no means this is an unneded patch, we will reimplement
it in the future the way it should've been implemented. Fixes #148
2020-08-26 09:17:38 +03:00
Ivan Pekov
78c24fde6d Updated upstream & removed 1 patch from EMC
Fixes #150
Should help with #151 , #149 , #148
2020-08-25 11:04:18 +03:00
Ivan Pekov
e1a085de4c Upstream update & fix
Fixes #145
2020-08-24 09:08:09 +03:00
Ivan Pekov
21c8252193 lithium serialization optimizations
also nuked option which made minecraft 2 real
2020-08-22 22:11:04 +03:00
Ivan Pekov
c32fe11abd ANOTHER ONE
Screw predicates, this works properly.
2020-08-22 14:01:52 +03:00
Ivan Pekov
681c1c881a Actually apply jellysquid's collision optimizations
tuinity's collision optimizations weren't using that stream. now it is all applied
2020-08-22 12:28:39 +03:00
Ivan Pekov
16b7d897ef Patch reorder & more
Reordered the patches pulled by sidestreams to their native order in the
sidestream's repo. This reduces the diff we need to maintain in the server
fixes patch.
Ported 2 more patches from purpur which I found to be useful.

EntityClassGroup now checks for the proper overriden methods in the entities.
2020-08-22 10:44:43 +03:00
Ivan Pekov
85c6fe24aa
Updated upstream 2020-08-22 09:02:20 +03:00
Ivan Pekov
a63d39404b
Port lithium pr no. 45
We can always revert this commit if something doesn't work, but my testing shows that
it works properly. We still don't know how much of a benefit this would have, but we
hope that it would lower the mspt.
2020-08-21 19:13:22 +03:00
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
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