Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
SleepWarp

SleepWarp

Accelerates time when sleeping instead of skipping directly to day.

655.0k
623
Adventure
Decoration
Game Mechanics
SleepWarp has been archived. SleepWarp will not receive any further updates unless the author decides to unarchive the project.

Compatibility

Minecraft: Java Edition

1.20–1.20.1
1.19.x
1.18.x
1.17.1
1.16.4–1.16.5

Platforms

Fabric

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Donate on Ko-fi

Creators

Giggitybyte
Giggitybyte Owner

Details

Licensed MPL-2.0
Published 3 years ago
Updated last year
DescriptionChangelogVersions
All versionsv2.0.0-rc3 for Minecraft 1.19.4

v2.0.0-rc3 for Minecraft 1.19.4

Download
Report

Changelog

  • Specific Fabric API modules and YetAnotherConfigLib (YACL) are no longer bundled (jar-in-jar) with SleepWarp
    • Fabric API is now a required dependency for both client and dedicated server.
    • ModMenu and YACL are optional dependencies on the client to access the configuration screen.
  • Improved world simulation performance
  • Removed config options:
    • performance_mode
      • Performance mode and the TickMonitor class have been removed
    • tick_entities
      • This would end up ticking everything, including the items on the ground and the player
      • Replaced by tick_animals and tick_monsters
    • tick_mob_spawn
      • Too much processing time for no real gameplay benefit
    • tick_spawners
      • The code behind this actually was ticking something that wasn't spawner blocks
      • I also decided it was silly to tick spawners while you're sleeping
  • Added config options:
    • tick_monsters
    • tick_animals
    • monster_tick_multiplier
      • Not implemented
    • animal_tick_multiplier
      • Not implemented
  • Action bar messages were tweaked
  • Made improvements to the client settings screen by separating the options in each category into labeled groups, swap boolean toggle buttons out for tick boxes, and spruced up option tooltips.

I was still not happy with the overall performance when all world simulation features were enabled. Time, weather, and additional world ticks were done synchronously and sequentially right at the end of the world tick, meaning at default settings the world would be ticked 60 times over before the next world tick would begin.

My solution is to tick time and weather synchronously before world ticking, and if there still time before dawn, then the various portions of the world will be ticked on one of three single-thread executors; monsters and animals will be ticked on one, random block ticks on another, and everything else will be ran on the third. This setup allows time to advance at a steady rate while the additional world ticks are processed sequentially and asynchronously on other threads.

Dependencies

dependency-iconFabric API Version 0.78.0+1.19.4 is required
dependency-iconYetAnotherConfigLib (YACL) Version 2.4.1 is optional
dependency-iconMod Menu Version 6.2.1 is optional

Files

sleepwarp-2.0.0_rc3+1.19.4.jar(134.26 KiB) Primary
Download

Metadata

Release channel

Beta

Version number

2.0.0_rc3+1.19.4

Loaders

Fabric

Game versions

1.19.4

Downloads

140

Publication date

April 19, 2023 at 3:47 AM

Publisher

Giggitybyte

Giggitybyte

Owner

Version ID

Modrinth is open source.

main@bf16d36

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.