How to Force Players Out of Beds

Started by Jackose on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to Force Players Out of Beds

Basically, it's exactly as it sounds. I'm not sure how to force sleeping players to wake up. I'm to make a mod that teleports you to a dimension when you go to bed. So far it works fine except if the player wakes themselves up while the terrain is loading. Ik players will wake up automatically if there is no bed under them, but this needs to happen before they are teleported. Ik there's no wake sleeping entity block but maybe something that also wake up players?

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try to do a small amount of…
Tue, 10/24/2023 - 10:15

Try to do a small amount of damage to the players

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks for this!
Wed, 02/21/2024 - 06:53

thanks for this!