CNPC: Dangerous Script Extension
🟡 Updated this year⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 👍 0.0% endorsement rate
- 🏆 #68 of 326 forge mods in this game by downloads
📋 About This Mod
# Description _This mod provides system-level window manipulation features. Improper or malicious use may negatively affect user experience. Use responsibly._ This is a script extension mod based on CustomNPCs Unofficial (1.20.1), designed to provide system-level operations that would otherwise require extensive use of Java.type. While this mod does not involve any form of malware, some features are potentially risky. **It is strongly recommended that you only grant scripting permissions in CustomNPCs Unofficial to people you trust.** ## Script Methods moveWindow(String, int, player) First parameter: direction (left, right, up, down) Second parameter: pixel offset **Moves the player's game window in the specified direction.** shakeWindow(float, int, int, player) First parameter: frequency Second parameter: duration (seconds) Third parameter: maximum offset (pixels) **Applies a shaking effect to the player's game window.** hideShowWindow(int, int, player) First parameter: interval (milliseconds) Second parameter: duration (seconds) **Rapidly hides and shows the game window, creating a flashing effect.** resizeWindow(int, int, player) Parameters: width and height **Resizes the game window.** crashGame(player) **Immediately crashes the game.** **_(Warning: When used on a server, this may also crash the server.)_** ## Current Status If you are creating a Minecraft map with “fourth wall breaking” effects similar to Doki Doki Literature Club!, this mod may be a good fit for your project. The original purpose of this mod is to prevent the misuse of importing system classes via CNPC to create external shell scripts, which may pose security risks. This mod does not execute or rely on shell operations. All provided functions can be used directly within the native CNPC scripting environment after installation.
# Description _This mod provides system-level window manipulation features. Improper or malicious use may negatively affect user experience. Use responsibly._
This is a script extension mod based on CustomNPCs Unofficial (1. 20. 1), designed to provide system-level operations that would otherwise require extensive use of Java.type. While this mod does not involve any form of malware, some features are potentially risky. It is strongly recommended that you only grant scripting permissions in CustomNPCs Unofficial to people you trust.
## Script Methods moveWindow(String, int, player) First parameter: direction (left, right, up, down) Second parameter: pixel offset Moves the player's game window in the specified direction.
shakeWindow(float, int, int, player) First parameter: frequency Second parameter: duration (seconds) Third parameter: maximum offset (pixels) Applies a shaking effect to the player's game window.
hideShowWindow(int, int, player) First parameter: interval (milliseconds) Second parameter: duration (seconds) Rapidly hides and shows the game window, creating a flashing effect.
resizeWindow(int, int, player) Parameters: width and height Resizes the game window.
crashGame(player) Immediately crashes the game. _(Warning: When used on a server, this may also crash the server.)_
## Current Status If you are creating a Minecraft map with “fourth wall breaking” effects similar to Doki Doki Literature Club!, this mod may be a good fit for your project.
The original purpose of this mod is to prevent the misuse of importing system classes via CNPC to create external shell scripts, which may pose security risks. This mod does not execute or rely on shell operations. All provided functions can be used directly within the native CNPC scripting environment after installation.
📊 Mod Details
- Game
- Minecraft Mods
- Author
- xiaobiniaox
- Version
- 1.0.5
- Downloads
- 5,672
- Endorsements
- 0
- Category
- forge
- Created
- 3/29/2026
- Updated
- 5/23/2026
- Game Versions
- 1.20.1
- Tags
- game-mechanics
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does CNPC: Dangerous Script Extension support?
The author lists 1.20.1. Other versions may work but are untested by the author.
What is the latest version of CNPC: Dangerous Script Extension?
Version 1.0.5, published 2026-05-23 with 5,672 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await