Dragon Block C for Minecraft Bedrock
PROMPT — CUSTOM MINECRAFT MODPACK CREATOR
OBJECTIVE: Convert, for personal and local use only (no distribution or profit), the set of Java 1.7.10 Forge mods "Dragon Block C" (Dragon Block C v1.4.85 + JRMCore v1.3.51 + JBRA Client v1.6.52, by Jinryuu) into a Minecraft BEDROCK add-on (.mcaddon, Behavior Pack + Resource Pack), as faithfully as possible to the original: character creation (Human, Saiyan, Half-Saiyan, Namekian, Arcosian, and Majin races; gender, hair, hair color, skin tone, eyes, Warrior/Spiritualist/Martial Artist class), HUD (blue Ki bar in the upper-left corner with BP and release, and a red/yellow "droplet" for life and stamina on the right side with a number), character menu in tabs (Character, Skills, Ki Attack, Training, History, Help, Settings), transformations (Super Saiyan etc.), aura, visible ki attacks, TP/attributes (STR, DEX, CON, WIL, MND, SPI), structures and master NPCs (Kame House, Karin Tower, Kami's Lookout etc.), swords, armor, clothing, and dinosaurs with the values from the original mod. Only control adaptations are acceptable: fixed hotbar items and crouching to charge ki.
ENVIRONMENT: Minecraft BEDROCK (not Java). Add-on with Script API (@minecraft/server 1.16.0 and @minecraft/server-ui, minimum engine 1.21.50), JSON UI, entity/entity properties, particles, attachables, NPC dialogs, and .mcstructure structures. PC (Windows) and mobile. Singleplayer world, 1 player. The add-on already exists (around 3000 files) but DOES NOT WORK correctly.
OBSERVED PROBLEMS: (1) character creation uses a custom NPC dialog screen (ui/npc_interact_screen.json, namespace npc_interact, student_button/student_buttons_collection and live_player_renderer) and in one test it opened invisibly and froze everything (neither ESC nor E worked); (2) buttons and text are misaligned and outside the frame, the character model overlaps the text; (3) character menu is still using forms (ActionFormData); I want tabbed panels like the original; (4) ki attacks are invisible (custom particle dbc:ki_ball not tested); (5) master NPCs do not appear; (6) structures spawned right next to spawn (I plan to spread them from 700 to 2100 blocks over solid ground; only the essential ones near spawn); (7) HUD rebuilt via title (setTitle) read by JSON UI with substring, not tested; (8) the character must start naked and visibly change with race, gender, hair, hair color, and skin (minecraft:player override with properties, inspired by the add-on "Dragon Block C Ultimate" by Mateus Meker), not tested; (9) Kami's Lookout in the wrong place; (10) movement/flying/aura like in Mateus's add-on.
DELIVER: (a) diagnosis of the likely causes of each problem, in order of risk; (b) the correct and proven way to build each screen (character creation, tabbed menu, HUD with bar and droplet, confirmation) via JSON UI and/or NPC dialogs, with complete and functional JSON, correct vanilla element names and required variables; (c) how to debug without seeing the game (Content Log GUI, typical JSON UI errors, how to isolate a broken screen); (d) visible and colored ki attack particles and how to safely spread .mcstructure structures; (e) step-by-step test plan.
RESTRICTIONS: distinguish Bedrock from Java (no Forge/Fabric). Do not invent APIs; if you are not sure about version 1.16.0/1.21.50, say so. Personal, local, non-profit project: do not replace it with something generic. Maximum 7 questions if critical information is missing.
AUDIENCE: programming beginner; explain technical terms; Brazilian Portuguese.
FORMAT: 1. Executive summary. 2. Diagnostic table (problem, cause, how to confirm). 3. Detailed fixes by problem with complete files and paths. 4. Test plan and acceptance criteria. 5. Three deliverables (1: character creation and HUD; 2: tabbed menu, aura, and ki attacks; 3: structures, NPCs, quests, and checklist). High level of detail, no "etc." and no pseudocode.
Act as a software architect and prompt engineer, specializing in the modules: Dragon Block C Bedrock add-on. I need to create a system called "Dragon Block C for Minecraft Bedrock" made up of the modules: Dragon Block C Bedrock add-on. Context: A Minecraft Bedrock add-on (.mcaddon) that converts the Java 1.7.10 Dragon Block C (Jinryuu) mod, for personal and local use, as faithfully as possible: character creation, races, a HUD with a Ki bar and a life/stamina droplet, tabbed menus, transformations, aura, ki attacks, structures, and master NPCs. There is already an add-on with scripts that does not work properly. Target audience: Development team, product managers, and stakeholders responsible for the system. Result objective: Generate the prompts, agents, and skills needed to build and maintain the "Dragon Block C for Minecraft Bedrock" system, with production quality. Scope: Includes: Bedrock only (Script API 1.16, JSON UI, NPC dialogs, particles, structures). Fix frozen/misaligned screens, HUD, visible ki, NPCs, and scattered structures. Does not include: Java, Forge, publishing or selling; local and personal use only. Constraints: Comply with LGPD and OWASP Top 10. Isolate data by workspace. Validate all input and escape all output. Never expose secrets — use environment variables only. Do not simulate features that should be real. Response format: Structured document with headings, lists, and practical examples, including JSON templates when that makes sense for integration. Level of detail: High / Professional / Production-ready. Quality criteria: The deliverable must ensure: data isolation by workspace (multi-company); documented REST API; security (OWASP Top 10 and LGPD); organized, modular, testable code. Languages / Technologies: HTML, CSS, JavaScript, SQL (suggested stack) Based on this, generate: 1. A complete and structured system prompt. 2. Specialized agents and skills to build and maintain the system. 3. The module structure and data model (entities and permissions).
Módulo: Add-on Dragon Block C Bedrock
Atue como arquiteto de software sênior. Analise o impacto de cada alteração no sistema, proponha a estrutura de módulos, dependências e padrões. Priorize simplicidade, segurança e manutenibilidade.
Atue como desenvolvedor full stack sênior. Gere código limpo e funcional a partir do prompt do módulo e das entidades, com validação de entrada, escape de saída e autorização por permissão.
Atue como DBA. Revise migrations, índices, chaves estrangeiras e integridade. Sugira otimizações e aponte riscos de performance ou perda de dados.
Atue como especialista em segurança. Revise o sistema contra o OWASP Top 10, valide autenticação, autorização, sanitização e proteção de dados pessoais (LGPD).
Atue como QA. Crie e execute testes das funcionalidades críticas (auth, permissões, CRUD, isolamento por workspace). Reporte falhas com passos de reprodução.
Atue como documentador técnico. Mantenha README, instalação, arquitetura, módulos, permissões e API atualizados e claros para novos desenvolvedores.
Atue como engenheiro DevOps. Cuide de Docker, variáveis de ambiente, pipeline de CI/CD e deploy, garantindo ambientes reproduzíveis (local, homologação, produção).