Detect who's sleeping in a bed

Discussion in 'Plugin Development' started by retsrif, Feb 28, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    retsrif

    In the docs, I see BlockBed takes a paramater EntityHuman. Does that store the player who's sleeping in the bed? Or does that just place the player in the bed? Does anyone also know how to just check if a player is sleeping in a bed or not?
    --- merged: Feb 28, 2011 12:18 PM ---
    Also, is BLOCK_RIGHTCLICKED or BLOCK_INTERACT called when right clicking a bed?
     
Thread Status:
Not open for further replies.

Share This Page