gnembon / scarpet

Public Repository of scarpet programs for Minecraft
Creative Commons Zero v1.0 Universal
359 stars 162 forks source link

Sleeping in a rifts overworld does not reset the clock #218

Open ComputerJock opened 3 years ago

ComputerJock commented 3 years ago

If the rifts world is not the Nether or End type (beds explode), sleeping does not reset the clock. Perhaps this is by design?

altrisi commented 3 years ago

Rift's worlds are vanilla dimensions, so either it's intended (mojang) that every vanilla dimension has its own time (here assuming the specific world changes its own clock), or there's a vanilla bug causing this (if you can reproduce it with one of the datapacks created by rifts in a vanilla installation and it still doesn't seem right, you should report this to the Minecraft bug tracker with the datapack in question, without mentioning modded. Else comment it here, may be a bug with loading dimensions during runtime by Carpet).

gnembon commented 3 years ago

sleeping works only in vanilla overworlds. That's how its coded. Having said that, scarpet has events related to beds, so it would be possible to add that. You could consider that a bug that if the dimension supports beds, players should be able to sleep through the night in them.

Having said that - I woudn't count on beds in rifts - one of the dimension settings that could be variable is whether beds explode or not