Custom Sleep Deny Message- Help Please?

Started by The8BitFox on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 day ago
Joined Sep 2022
Points:
595

User statistics:

  • Modifications: 3
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 222
Custom Sleep Deny Message- Help Please?

So I'm trying to make a custom effect that makes you unable to sleep, I have every thing working except I can't find a procedure block to send a message similar to that of the "You can't sleep now; there are monsters nearby" message, I can only find a block that send a message to the player in the chat. Is there a way to do what I'm trying to do, or is this something I should ask about as a new feature?

Active 1 day ago
Joined Sep 2022
Points:
595

User statistics:

  • Modifications: 3
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 222
Never mind, I did it! So it…
Wed, 01/24/2024 - 00:34

Never mind, I did it! So it turns out the same procedure block you use to send a chat message, you take that and set "show in action bar" to "true."