One Player Sleep Addon (1.19!) [Compatible with other addons that has player.json or not]
Since Mojang didn't added the "isSleeping" component for GameTest Framework, I created my own component to detect how will a player sleep, without modifying the player.json, since that is my goal. With this Addon you can enjoy your addon packs gameplay, and easy to activate or put to your own world. Hope this addon helped you, especially for Content Creators. Feel free to look at my js file, since it has comments to give you a walk through. If you want to add this to your behavior packs.
Make sure you TURN ON the following features or capabilities in the game:
- Holiday Creator Features
- GameTest Framework
You are permitted to:
- Examine the code and works to learn more about the creation and development of add-ons.
- Change the code or works to suit your needs.
- Use the add-on packs as you see fit in-game.
- Re-distribute the add-on packs or works elsewhere, with approval of the author.
- Create showcases or videos of this addon, but provide this site's link.
You are NOT permitted to:
- Negate the accreditation of the original author.
- Paste the direct download link, negating the ModBay page.
- Take the author's code, works, and textures just to republish them as your own.
One Player Sleep is licensed under a Creative Commons Attribution-Non Commercial-No Derivatives 4.0 International License by @adrhyng. Permissions that extend beyond the scope of this license may be obtained from h_YanG_0A.
Lastly, Supports and Feedbacks are highly appreciated. Thank you, and have fun!!
You can support me via Downloading it through Linkvertise below.
DM ME @ TWITTER (1) Adrian (@h_YanG_0A) / Twitter