Super Stair Sitter 2000 makes it possible to sit in Minecraft PE. Currently it's only possible to sit on stairs and slabs but in the future it will be possible to detect a wider range of chair structures and sit on them too. It makes use of the same animation which is used when sitting on a minecart.
How to sit?
At this point it's only possible to sit on stairs and slabs. Here's an example how some different furnitures can look like.
Tap on the stairs to take a seat. Then tap the jump button to stand up.
In the future there will be a more complex system for detecting chairs. Such as only being able to sit on objects which have signs on the left and right side of the object as signs are normally used as armrests.
Enable Sitting in Your Mod
Detect if a user taps a chair and calculate the yaw and then call this function in your ModPE script. For it to work the mod itself has to be installed and activated first.
// calculate the yaw // determine the location that you want the user to be able to sit //call the below line net.zhuoweizhang.mcpelauncher.ScriptManager.callScriptMethod("sitDown",x,y,z,yaw);
List of Sittable Blocks