Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Hook for player sleeping


Recommended Posts

Currently there is no good way to access the various variables related to making the player able to sleep. You cannot make the player sleep on something that doesn't return true in the blocks isBed method (like vanilla blocks), change the amount of time the player has to sleep or otherwise interact with the mechanic without using reflection, changing the EntityPlayer object or some other operation that is neither as easy to use as, say, an event, or convenient to create. A way to hook into this mechanic would greatly simplify changing it and would benefit a lot of people I believe.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.