Disable sleeping

Started by Trehmor on Fri, 07/31/2020 - 17:37

Topic category: Help with modding (Java Edition)

Last seen on 20:54, 5. Jul 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Disable sleeping
Fri, 07/31/2020 - 17:37 (edited)

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
Last seen on 17:57, 21. Aug 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You can disable player…
Fri, 07/31/2020 - 21:19

You can disable player sleeping in custom dimensions, but Im not sure if changing original vanilla code would be possible.

Global trigger player goes…
Sat, 08/01/2020 - 10:30

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

Last seen on 20:54, 5. Jul 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you so much Klemen,…
Sat, 08/01/2020 - 17:24

Thank you so much Klemen, love this software :D