One of the neat things that I do not see myself using often is the ability to SIT in Minecraft PE. I admit though, it is a pretty cool idea!
Looking around at the various example code that is listed in the Blocklauncher repository (https://github.com/zhuowei/ModPEScripts) is one called 500ise_sit.js
I mostly fixed this up because I was curious how it was done and wanted to see if the code could be updated for 0.12. I've tested it on 0.11 and 0.12.3 so far. I actually hope that someone that makes furniture mods will incorporate this into their MOD. That is the ONE common thing I see in just about EVERY furniture mod, TODO: sitting.
Original and still pertinent warning, however I added a function that can be called to use this feature without mixing your code with the CC3.0 license.
AN FYI, license wise, this originated as CC3.0, so that means your mod will probably need to become CC3.0. Worst case, you can incorporate the IDEA of what this does, as I describe it below. That is, DO NOT LOOK AT THE CODE BEFORE YOU WRITE YOUR CODE!
In order to help others facilitate the use of this feature, I added a new call to the mod. This means you can use this by just adding 1 line to your code. If the user taps your chair/etc. you can calculate the yaw, then call this (after the Super Chair Sitter 2000 has been installed and activated).
// calculate the yaw
// determine the location that you want the user to be able to sit
Anyway, the idea is to populate an invisible Minecart, sit in that. Then, once you are done - you walk away from the "chair" and thus BL removes that item.
Updated for new blocks that were introduced since this was originated
Added a list of various render types - mostly documentation
Updated the call for "invisible" as the original value was crashing BL
Added a YAW calculator (which I find a lot of people have issues with) - since this is released as CC3.0 you are free to use that code, although if you use it from THIS MOD, I think your MOD also becomes CC3.0. I'm not a lawyer, link to the CC3.0 is above
Using the YAW calculator, I was able to always FORCE the player to face the correct direction when sitting down.
Added detection for stairs being flipped upside-down (can't sit on that!)
Added better detection that a used is NOT sitting any longer. Helps edge cases when the invisible minecart does not get removed, when you re-enter the level you see minecarts left over!
Do need to add something in newLevel() to maybe remove a minecart from a player - if that block also contains a stair block
for now, just don't leave the board and re-enter without getting OUT of the chair first!
Added a function to be used by other mods to give this feature WITHOUT "catching" the CC3.0 virus license
Updated logic to be able to detect quite a few chair styles in Minecraft
Awesome Screenshot by mcpedl.com:
FuzionDroid enjoying some fishing:
Permission:
Not sure if I will get to the below ideas, but in the mean time, as stated above, I added a new function that allows you to use this in your mod, WITHOUT the need to opensource your mod (per CC3.0)
If someone wants to add in the other types of chairs, or if there is a MOD author that thinks this would be a cool add on for their furniture, let me know how to tell your chair is there...and we can add it into the detection scheme!
FYI to everyone, I added a new function that allows you to use this mod's sitting capability IN your mod without the need to copy/paste the code (which carries the CC3.0 license that you must then abide by!).
Happy sitting!!
Rollback Post to RevisionRollBack
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
MDwes, yeah, I'm still trying to work out the best way to have a 24x7 Vanilla server for MCPE. DragonProxy is still on 0.13. I've been using an older phone as a 24x7 server...sadly this would not work in that since I would need to add another chunk of code to monitor for the "clients" trying to sit. Logically it would work...it just spawns an invisible minecart. So, honestly, that same "thing" would probably be able to be spawned in a PocketMine server. When I messed with that a while ago, I had a plugin that allowed you to spawn in things...you just need to be able to apply an invisible texture.
The real trick was to detect removing it properly.
Rollback Post to RevisionRollBack
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
I have thought about this over the weekend. I will have to turn you down. I had a bad experience with this before and honestly just do this for fun. Since I serve my mods off of Google Drive, I do not see that people will have issues getting my mods. I appreciate that you actually asked me first! That is something that others have not done. :-|
I thank you for the offer and wish you well on your journey!
--Ironhead
Rollback Post to RevisionRollBack
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
Hmmft..iron head ..someone Owning your Super Chair Sitter 2000 mod ..Chat him on FB ..he said he make Super Chair Sitter 2000 ..He is Liar ..His FaceBook name is Inobe Purino
Thanks, this was a modification of 500ISE's code. Since that code was CC3.0, it isn't even "my" mod! I released it the same as 500ISE did, CC3.0. IF that other person did some modifications, they COULD have their OWN sitter mod. The code I used was from 500ISE (as I mentioned).
--Ironhead
Rollback Post to RevisionRollBack
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
Back pain is really very bad for gamers. however, if you choose the right chair, then you will not face this problem. You can see the best backpain sufferse chair reviews on some blogs. Thanks, me later.
Hello all,
One of the neat things that I do not see myself using often is the ability to SIT in Minecraft PE. I admit though, it is a pretty cool idea!
Looking around at the various example code that is listed in the Blocklauncher repository (https://github.com/zhuowei/ModPEScripts) is one called 500ise_sit.js
I mostly fixed this up because I was curious how it was done and wanted to see if the code could be updated for 0.12. I've tested it on 0.11 and 0.12.3 so far.
I actually hope that someone that makes furniture mods will incorporate this into their MOD.That is the ONE common thing I see in just about EVERY furniture mod, TODO: sitting.Original and still pertinent warning, however I added a function that can be called to use this feature without mixing your code with the CC3.0 license.
AN FYI, license wise, this originated as CC3.0, so that means your mod will probably need to become CC3.0. Worst case, you can incorporate the IDEA of what this does, as I describe it below. That is, DO NOT LOOK AT THE CODE BEFORE YOU WRITE YOUR CODE!
In order to help others facilitate the use of this feature, I added a new call to the mod. This means you can use this by just adding 1 line to your code. If the user taps your chair/etc. you can calculate the yaw, then call this (after the Super Chair Sitter 2000 has been installed and activated).
// 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);
Anyway, the idea is to populate an invisible Minecart, sit in that. Then, once you are done - you walk away from the "chair" and thus BL removes that item.
Here is an update I did to that code (it was released under CC3.0 http://creativecommons.org/licenses/by-sa/3.0/)
As such here is my list of modifications:
viruslicenseAwesome Screenshot by mcpedl.com:
FuzionDroid enjoying some fishing:
Permission:
Not sure if I will get to the below ideas, but in the mean time, as stated above, I added a new function that allows you to use this in your mod, WITHOUT the need to opensource your mod (per CC3.0)
If someone wants to add in the other types of chairs, or if there is a MOD author that thinks this would be a cool add on for their furniture, let me know how to tell your chair is there...and we can add it into the detection scheme!
For now here are the types that were added:
- Fancy Dining Chair
- Poofy Sofa
- Kitchen Chair
- Club Style Chair
- Round Sofa
- Sofa
Download:
https://goo.gl/svJbFP
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
Wow!!! First i could walk,then i could place blocks,but now i could SIT ON STAIRS!!?? That was awesome!!!
My ****.
Thanks! Credit to Zhuowei, I only cleaned it up under CC3.0 to get it working on 0.11+
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
Updated with an awesome screenshot from mcpedl.com (used with permission).
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
FYI to everyone, I added a new function that allows you to use this mod's sitting capability IN your mod without the need to copy/paste the code (which carries the CC3.0 license that you must then abide by!).
Happy sitting!!
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
Updated yet again, v1.2 now supports the ability to create a chair / sofa (per images) and actually use them as places to sit.
The "kitchen" or plain stair requires there to be NO blocks around it. Just a LONE stair - otherwise we assume it is actually stairs!
Then you have the sofa which requires there to be turned or "end capped" stairs.
The others are self explanatory based on the images. If not, drop me a line!
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
It does not need to be updated to 0.12.3. It says 0.11+
;-)
I actually started this on 0.11, and jsut did the last update in 0.12.3, so you should be good to go!
As for Fuziondroid, he never made a video. He posted that on Twitter. I asked him if I could put that in the thread and he approved.
Thanks for your interest! Let me know how you like the new features! If you have suggestions let me know.
Also, as far as I know, ElectricGamer was the first one to use the "external mod" access to allow people to sit in his Furniture mod. Check it out!
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
Certainly! I get on here when I can, but sometimes life gets in the way! Sorry it took me a few days to reply!
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
No updates needed, I tested most of the functionality and it seems to be AOK! Let me know if you see something that does not work for you!
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
Now if only we can incorporate this into Pocketmine servers with a plugin.
---------------------------------
| |
---------------------------------
QuintonMostert,
I'm not sure what you mean? Do you mean put this into a play store download?
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
MDwes, yeah, I'm still trying to work out the best way to have a 24x7 Vanilla server for MCPE. DragonProxy is still on 0.13. I've been using an older phone as a 24x7 server...sadly this would not work in that since I would need to add another chunk of code to monitor for the "clients" trying to sit. Logically it would work...it just spawns an invisible minecart. So, honestly, that same "thing" would probably be able to be spawned in a PocketMine server. When I messed with that a while ago, I had a plugin that allowed you to spawn in things...you just need to be able to apply an invisible texture.
The real trick was to detect removing it properly.
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
QuintonMostert,
I have thought about this over the weekend. I will have to turn you down. I had a bad experience with this before and honestly just do this for fun. Since I serve my mods off of Google Drive, I do not see that people will have issues getting my mods. I appreciate that you actually asked me first! That is something that others have not done. :-|
I thank you for the offer and wish you well on your journey!
--Ironhead
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
Hmmft..iron head ..someone Owning your Super Chair Sitter 2000 mod ..Chat him on FB ..he said he make Super Chair Sitter 2000 ..He is Liar ..His FaceBook name is Inobe Purino
Thanks, this was a modification of 500ISE's code. Since that code was CC3.0, it isn't even "my" mod! I released it the same as 500ISE did, CC3.0. IF that other person did some modifications, they COULD have their OWN sitter mod. The code I used was from 500ISE (as I mentioned).
--Ironhead
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
Is this still being used by people? This is another one that I do not think I'll maintain for future use.
Let me know if you still want this updated! I'll depreciate it otherwise, leave the code out there, but not maintain it any longer.
To Download my Mods, after you click the download link, select the arrow in the UPPER RIGHT. This will then, download the file to your device
Back pain is really very bad for gamers. however, if you choose the right chair, then you will not face this problem. You can see the best backpain sufferse chair reviews on some blogs. Thanks, me later.