Custom Sleep Deny Message- Help Please?

Started by NotThatGuy2444 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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?

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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."