Vanilla bed like sleeping

Started by Drekith on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Vanilla bed like sleeping

Hi, ive created a custom bed model, block, item etc.

ive managed to get them to change colour and update block etc, they also change time on right click however the player does not sleep in the bed it just skips the time. is there a way to play the vanilla sleep animations with faded screen on a custom block? or even replicate the vanilla sleeping for use with the custom bed ?

thanks in advance,

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It isn't possible for now…
Thu, 07/15/2021 - 13:59

It isn't possible for now but a cool thing you should do which I'll implement on my mod, is when right clicked on it can send you into a dream dimension you can make. 

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for clarifying, that…
Thu, 07/15/2021 - 14:09

Thanks for clarifying, that would be a very cool idea but currently I'm just looking to add some fancier bed models. 

 

Is there a way to rotate the player model at all? 

I've installed the animation plugin to move body parts but that doesn't do what I need. 

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Unfortunately I don't know…
Thu, 07/15/2021 - 16:51

Unfortunately I don't know how and I think it isn't possible. Also another user created a bed mod from javascript and he did it with code I think it's impossible for mcreator to support 

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The Outlander, can you…
Thu, 07/15/2021 - 17:20

The Outlander, can you provide a name for this mod or a link to it? I know how to fix the problem!

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think he doesn't have the…
Thu, 07/15/2021 - 17:38

I think he doesn't have the same issue now that I'm reading it again. Sorry I searched it on Google and can't find a solution. There's also another user who has a, problem closer than yours https://forums.minecraftforge.net/topic/66183-custom-bed-player-lies-on…

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, I cannot solve the…
Thu, 07/15/2021 - 18:00

No, I cannot solve the problem.

 
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Btw along with the dream…
Thu, 07/15/2021 - 19:20

Btw along with the dream dimension you could make a nightmare dimension and make the bed to teleport you to either the dream one or the nightmare one with procedures(make sure the dimensions have their portals disabled). And when you die you return to the real world with all your items and armor. I'll implement it on my mod but with different beds