Power And Curse.mcpack
What's new
Changelog: v1.0.0 - Initial Release
🚀 New Features & Gameplay
-
The Core Loop: Introduced the fully automated "Would You Rather" gameplay engine. Every 2 minutes, players are forced to make a game-altering choice.
-
Global Alerts: Added a 10-second warning broadcast in the global chat before the choice menu appears, giving players time to get to safety.
-
Massive Database: Implemented 80 uniquely coded Powers and Curses (List A and List B), generating over 1,500 highly unpredictable combinations.
-
Forced Compliance: Mechanics are hard-coded to prevent cheating. (e.g., The "No Boots" curse actively shatters boots if a player attempts to equip them).
-
Admin Controls: Added a manual override command. Admins can instantly trigger the UI at any time without waiting for the timer by running
/scriptevent wyr:test.
🖥️ UI & Experience
-
Premium Two-Step UI: Completely bypassed vanilla Bedrock's button text-cutoff limitations by designing a custom "Inspect" menu. Players can now cleanly read the full details of both options before accepting their fate.
-
Immersive Feedback: Added audio and visual cues, including level-up sounds when accepting a fate, breaking sounds when curses destroy items, and color-coded chat confirmations.
⚙️ Under the Hood (Technical)
-
The "Brain" Engine: Built a highly optimized background controller (
effectHandler.js) utilizing tick-skipping mechanics. It simultaneously monitors 80 massive mechanics for all players on the server without causing TPS drops or lag. -
Modern 1.21+ API Integration: Fully updated to the latest stable Bedrock script standards (
@minecraft/server1.14.0 and@minecraft/server-ui1.3.0). -
Official Script Events: Migrated away from deprecated chat-listeners to the official, stable
/scripteventsystem to ensure maximum compatibility with other addons.
🐛 Bug Fixes & Optimizations
-
Fixed an issue where long power descriptions would trail off with
...by overhauling the UI structure. -
Resolved modern Bedrock API event deprecations by strictly utilizing
itemCompleteUse,playerBreakBlock, andplayerPlaceBlockevents. -
Fixed an issue where temporary effects (like Jump Boost) would cause particle-spam on the screen by enforcing hidden particles on passive loop updates.
This mod has no additional files

