Is there a way of testing when the player sleeps?

Started by Super_m on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way of testing when the player sleeps?

I was intersted if there's any way to test whatever the player sleeps or not.

Joined Mar 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can set it to a event…
Thu, 08/09/2018 - 22:41

You can set it to a event and at the top of that screen (Procedure Screen) there is another smaller window with choices as triggers, one of those is when player enters bed but I've noticed in using that it's best to add a AND statement then includes its night or it'll accept the player clicking the bed but not actually "sleeping". Hope that helps a little anyway.

Joined Aug 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry for late reply, but…
Tue, 09/18/2018 - 22:32

Sorry for late reply, but thank you for help. Though I found a different way to approach the subject, this tip will certainly help!