Skip to content

Commit

Permalink
Update .md files
Browse files Browse the repository at this point in the history
  • Loading branch information
2No2Name committed Jan 24, 2025
1 parent d6ea838 commit f99d23a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 24 deletions.
35 changes: 16 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
Worldthreader 2.0.0 is the first release for Minecraft 1.21.4 and includes a massive refactor and extension of the
codebase.
Please report any issues you encounter to the issue tracker of worldthreader. As worldthreader likely comes with massive
mod compatibility issues, please do not report crashes and issues to other mods' issue trackers before confirming the
issue without worldthreader.
Worldthreader 2.0.1 for Minecraft 1.21.4 adds thread-safety for commands it was not implemented for previously.
Please report any issues you encounter to
the [issue tracker of worldthreader](https://github.com/2No2Name/worldthreader/issues). As worldthreader likely comes
with massive mod compatibility issues, please do not report crashes and issues to other mods' issue trackers before
confirming the issue without worldthreader.

## Additions:

- Overhaul of interdimensional transport, support for passenger teleports
- Thread-safe handling of cross-dimensional ender pearls
- Avoidance of interdimensional player references created by changing dimensions
- Enhanced thread safety of scoreboard and scores, most commands
- Improved crash handling
- Thread safety for commands related to scheduled events, whitelist, bans etc.

## Fixes:

- Entity-id based wireless redstone
- Ticking time, weather and sleeping players order ensured by updating in overworld before updating in the other
dimension

## Changes:
## Known issues:

- Remove all entities create nether portals gamerule
- Improved system for automatically detecting and handling cross-dimensional accesses

## Known Issues

- Minor: Adding a player to the whitelist using a command block is not a threadsafe command. For now, use the chat or
the server console to edit the whitelist.
- Leashed entities going through a portal with the player behaves different from vanilla. When the player goes through
the
portal first, it fails to leash the mobs following the player.
- Workaround: Let the leashed entities go through the portal first and go through the portal within 5 seconds.
- Ender pearls in dimensions different from the player slow down the game by waiting for exclusive world access to check
if they should despawn
- Workaround: `/gamerule enderPearlsVanishOnDeath false`
9 changes: 5 additions & 4 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ needed.
- Setting gamerules requires exclusive world access
- Setting world border requires exclusive world access
- Setting weather requires exclusive world access

The server player list is used in many places. Most of it is threadsafe, as it is exclusively modified outside the
world tick. However, certain commands (e.g. adding a player to the whitelist) need exclusive world access.
- Using the schedule command requires exclusive world access
- Changing the whitelist, banlist, oplist requires exclusive world access

## Observations

- DimensionDataStorage is per-dimension in vanilla, but maps and some others are tied to overworld
- Crafter block scaling or locking a map in the nether or end takes exclusive world access
- Crafter block scaling or locking a map in the nether or end takes exclusive world access
- Network connections have a non-threadsafe integer counter for tracking network statistics
- Currently still non-threadsafe in worldthreader, leading to possibly wrong packet counts being displayed
6 changes: 5 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@

## Bugs

- Leashed entities - player portal interaction is slightly different from vanilla. When the player goes through the
- Leashed entities going through a portal with the player behaves different from vanilla. When the player goes through
the
portal first, it fails to leash the mobs following the player.
- Ender pearls in dimensions different from the player slow down the game by waiting for exclusive world access to check
if they should despawn
- Workaround: `/gamerule enderPearlsVanishOnDeath false`

## Check consequences of fixes
- ServerPlayer is not newly created unless first time leaving the end
Expand Down

0 comments on commit f99d23a

Please sign in to comment.