Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/PaperMC/Folia
Fork of Paper which adds regionised multithreading to the dedicated server.
https://github.com/PaperMC/Folia
The world tick will synchronise block data to clients. If
the connection tick is ran before, the...
7f0a3178545b6e265e69d1a31df188c57158b4c9 authored 10 months ago by Spottedleaf <[email protected]>
The delta position packet instructs the client to update
the entity position by a position diffe...
This is how Vanilla does it, and we don't have any reason to change
this other than an oversight...
The login state PROTOCOL_SWITCHING is only set once the player
passes initial login checks durin...
The data both store are caches which are cleared after updates,
which means that there is no blo...
It doesn't really make sense to use this as most of the features
involve stopping/stepping the w...
d3d0df309c96aad187cba612f26b3e8a9db1d6e2 authored 10 months ago by Spottedleaf <[email protected]>
Also included is a fix to Connection#handleDisconnection
using the wrong login state for removin...
Additionally, fix ActivationRange using global state to store
the AABBs it checks entities again...
I am surprised it does not implement ConsoleCommandSender.
27561750dd0e90fe957d77e075f696a6f63b73b4 authored 11 months ago by Spottedleaf <[email protected]>Fixes build
4d78338afea610ea8aee20aa0f3cbb36f443640a authored 12 months ago by Spottedleaf <[email protected]>be90fb8d368db82b056e6bf96a6e63475b0f31aa authored 12 months ago by Spottedleaf <[email protected]>
Since we move this up, we need to check it to prevent ticking
a possibly removed player
The non-game type implementation will not guard against double calls,
which means that any invoc...
The region shift is configurable under `grid-exponent`, which
allows setting the region shift to...
9a389a1a5e10b2c990c521f4af9674b9338b0b42 authored almost 1 year ago by Spottedleaf <[email protected]>
Currently, /tick is disabled but is planned to be re-added.
It's unlikely that support for sprin...
- Compile needs to be checked.
- Behaviors around the new tick manager need to be designed
and...
Just need to change the executeBlocking() call to use the
global region to execute the command i...
c1e3c3c5321229560223af9d7e090b733dc45d5b authored about 1 year ago by Jason Penilla <[email protected]>
3843340cba3aac68f5ab54bd8a0cafd2670a9458 authored about 1 year ago by Jason Penilla <[email protected]>
d58fab2cceeabe47b2f0925bb0bde551c46029e9 authored about 1 year ago by Siroshun09 <[email protected]>
7aacf902b0fc917b2874a67f4ebc77077936355d authored about 1 year ago by Spottedleaf <[email protected]>
757cb09c41e5a8eb10dc5b23e5959369fd1fbe86 authored about 1 year ago by Spottedleaf <[email protected]>
9190eb011c60a185cc88f6985fb5b941eafa91a3 authored about 1 year ago by Spottedleaf <[email protected]>
84aecdc64afc48e73fffe01f6055c453567f2027 authored about 1 year ago by Spottedleaf <[email protected]>
Need to implement structureManager on CB's DelegatedGeneratorAccess,
as that is now used during ...
Fixes compilation
8cde60d1f9a06e2c6e04d436661a7e772d7b7ce9 authored about 1 year ago by Spottedleaf <[email protected]>dc3fcef3bb3f34820d4af0ffdfd1554a68cc0cf0 authored about 1 year ago by Spottedleaf <[email protected]>
Now that RandomSequences is thread-safe, do not need to disable
this command
726cdc39a5dfcafcaa00016fd9940e7285fc6108 authored about 1 year ago by Spottedleaf <[email protected]>
Apparently, fixes some compile issues for some users.
a4d99b3cd37206a5fb887f08a0443b0d8b8ac2f3 authored about 1 year ago by Spottedleaf <[email protected]>
The underlying map should be CHM, and the access to the
underlying random should be synchronised...
Profiling for a region starts with the /profiler command.
The usage for /profiler:
/profiler <wo...
Some diffs were stilled dropped, which made mob spawning
limitless.
Very early build, network configuration switching is supported
but not tested (note: changes nee...
edafbcef6884cffe493e62cd71f4957708fba7ff authored over 1 year ago by Spottedleaf <[email protected]>
372d479cc173cd9d0f91265ebb4b198354717e47 authored over 1 year ago by Spottedleaf <[email protected]>
Merge the container is empty and move checks when attempting
to pull from other containers, as i...
The onComplete variable is possibly null and should be checked
before trying to invoke it.
Fixe...
1f46b2ca93d6f528aca1ea327ac678d476104a18 authored over 1 year ago by Spottedleaf <[email protected]>f6e91e9a4cd5ba4eb5a1f89f71fd6b4f2bd0fbef authored over 1 year ago by Spottedleaf <[email protected]>
If the target is removed, then it is possible that
using the CraftEntity could retrieve a telepo...
This should prevent attempting to load chunks in areas outside
of the current region, and is wha...
Fixes https://github.com/PaperMC/Folia/issues/117
09ac612b2fd0677e77611b8c22ec60d9696e3866 authored over 1 year ago by Spottedleaf <[email protected]>
To catch block updates in chunks, currently for performance
reasons loaded chunks do not perform...
The CHUNKY_FIXERS field is modified during the constructors
of the BlockFixers, but the code tha...
As part of Folia's place logic, the player's health is sent
after the respawn packet.
Since the...
3cf16eeaf2e9c2346b9825900e5eaab376654c36 authored over 1 year ago by Spottedleaf <[email protected]>Need to perform synchronisation on the return list to avoid CMEs
b2d7bdb0bb5c841b4ccd096c0181664664ce97b1 authored over 1 year ago by Spottedleaf <[email protected]>
The new spawn selection algorithm attempts to search the area
around a selected point, in an eff...
daacd4255022f3a1bf74dd3e84f751be838678ac authored over 1 year ago by Spottedleaf <[email protected]>
The end gateway is supposed to teleport the person who threw
the ender pearl.
The changes more ...
b5fc6d0a12b44dafff126c1a52af727bbb9cf1eb authored over 1 year ago by Spottedleaf <[email protected]>
Since Folia moves the connection tick to the beginning of the tick,
the player's position would ...
The intention behind erasing the memory was to match the case
where the villager would lose. How...
bd96e299d4fd3cc5887e537ae1c889a4247dcf81 authored over 1 year ago by Spottedleaf <[email protected]>
6b978f2aafd9dd3d18a4ec2f1f5e28777763b3c7 authored over 1 year ago by Sofiane H. Djerbi <[email protected]>
Resolves possible crashes when adding effects before adding to the
world or when adding from the...
If the Vex portals or is moved far enough away, it may trip
a thread check.
Fixes https://githu...
bff0370b70ea7f35808419e96d1b5ab46184eff1 authored over 1 year ago by Spottedleaf <[email protected]>
This was done in 1.19.4, but the diff to use getLocalPlayers()
was dropped by accident.
Fixes h...
eb2231736b208862fc79e29c78582b660b9fbf4d authored over 1 year ago by Spottedleaf <[email protected]>
Some plugins are bad and update the `from` position to something
completely garbage. To avoid a ...
Additionally, reset the fall position on dimension change.
Fixes https://github.com/PaperMC/Fol...
801cff15700625f5ab45c16fc5061b8db101feb0 authored over 1 year ago by Spottedleaf <[email protected]>
When there are many chunkholders and regions, the cost of collecting
and checking tick thread fo...
While for merging the synchronisation occured, it did not synchronise
for splitting. This resolv...
Player spawn position changing caused any player to log in while
on a boat to trip a thread chec...
0558e7d923dc1e5d6d6ca8fa84bc9edda649d090 authored over 1 year ago by Sofiane H. Djerbi <[email protected]>
7c6e2514d2ecd9f5f7db911aab29bfe7f373eb9e authored over 1 year ago by Spottedleaf <[email protected]>
This is to try and prevent regions from grouping together
when they really shouldn't be
Allow usage of the specific entity command
e8e6ac4006bcfb51da9b30321791e70b16973cf6 authored over 1 year ago by Spottedleaf <[email protected]>dc7eeddb96e1ebe27d9d33075df7f407f192c25e authored over 1 year ago by Spottedleaf <[email protected]>
No changes to note
fa018cc37228f81347c5824274bd1e31c123be13 authored over 1 year ago by Spottedleaf <[email protected]>
It becomes invalid switching dimensions or by moving far. If
it used after teleporting, then it ...
First steps to making this thing useful
8a067cdbdd77c4cec137758531c78fb2df22ee51 authored over 1 year ago by Spottedleaf <[email protected]>23b6f9e0efe76505d936146529f7db3478e78ad6 authored over 1 year ago by Jason Penilla <[email protected]>
Starlight does not use the sky light sources, and there
appear to be issues with TE access on Fo...
Make sure the player chunk loader throws when a double-remove
occurs, as that should not be happ...
Fix two regionizer issues:
In ThreadedRegionizer#addChunk, fix the incorrect handling
of mergin...
d0517f1656c0dba1c82932193ad74152cc145884 authored over 1 year ago by Spottedleaf <[email protected]>
1b0a5071d06c2d380cd63492937ba4a8b1030c16 authored over 1 year ago by Spottedleaf <[email protected]>
Needs to be redirected to the regionized world data.
bf7ba50dcd09bd5116522be2d2f2f86d1e5a3da2 authored over 1 year ago by Spottedleaf <[email protected]>308d1ca5dc4db357ba9cb2d06a651548b6f95eb0 authored over 1 year ago by Spottedleaf <[email protected]>
The last save was based on region tick, but it was not adjusted
on player region change or regio...
Mobs would use the evenness of server tick count plus id
to determine whether they eoilf tick on...
be3c9e596e2a4ad96f2db2724d1840579e5ead97 authored over 1 year ago by WillQi <[email protected]>
First, when a section update is stolen, the thread that acquires
the stolen update should remove...
We must attempt to synchronise when the returned queue is null
so that we can get a correct queu...
I noticed during my stress testing that the total size of the
light list was far too large, whic...
In 1.18, every chunk section is initialised to a non-null value
and recalcBlockCounts() is invok...
Since the chunk load task was not scheduled, the entity/poi load
task fields will not be set, bu...
It must be marked as completed during that lock hold since the
waiters field is set to null. Thu...
Since multiple regions can exist, there are concurrent accesses
in this class. To prevent deadlo...
The concurrent access occurs on the Netty IO threads when
serializing packets. Thus, it seems it...
A significant overhead in Folia comes from the chunk system's
locks, the ticket lock and the sch...
9bd857dabce99f0a01c63790c1512542465f125f authored over 1 year ago by Jason <[email protected]>
Instead, we can just check the loaded chunk's block position for
the lodestone block, as that is...
fea2422e25da3617604e2ac22faad00bc7e7cfed authored over 1 year ago by Jason <[email protected]>
This logic hooks into the neighbour update which should be invoked
as a result of redstone power...
In general, worldstate read/write is unacceptable during
data deserialization and is racey even ...
The returned TE may be in the world, in which case it is unsafe
for the current thread to modify...
17a32369276fadb353a85a5d0488485c14de643d authored over 1 year ago by Jason <[email protected]>
This is to prevent block physics from tripping thread checks by
far exceeding the bounds of the ...