Started by
Trehmor
on
Fri, 07/31/2020 - 17:37
Topic category: Help with modding (Java Edition)
I wan to know if there is any way to disable player from sleeping, like when there are monsters nearby, or interrupt the sleeping process.
Edited by Trehmor on Fri, 07/31/2020 - 17:37
You can disable player sleeping in custom dimensions, but Im not sure if changing original vanilla code would be possible.
Global trigger player goes to sleep and cancel it under your conditions.
Check this video to see how to cancel events, it is explained in it: https://www.youtube.com/watch?v=j3hePF6ZaqA
Thank you so much Klemen, love this software :D