📄
pasted-code-1792952875921.txt
txt
970 lines
▶
# CODE GEASS: POWER OF THE KING
## Complete Minecraft Mod Development Prompt
### 1. PROJECT OVERVIEW
Create a fully functional Minecraft mod inspired by the universe of **Code Geass**, featuring a comprehensive Geass ability system, supernatural contracts, unique ocular powers, mind manipulation, special combat abilities, progression, and multiplayer RPG mechanics.
**Target platform:** Minecraft 1.21.1, NeoForge.
The mod must be designed around an intuitive, keyboard-based combat system inspired by Jujutsu Craft. Players must be able to switch between abilities and activate them instantly without typing commands into chat during normal gameplay.
The mod should include the most important Geass abilities from the original anime, alongside carefully selected abilities from official spin-offs and adaptations.
Each Geass must have its own identity, mechanics, visual effects, strengths, weaknesses, and progression path.
The objective is to create a large-scale, immersive mod suitable for survival worlds, PvP, faction wars, custom RPG servers, and roleplay campaigns.
**Important development principle:** Canonical abilities must remain faithful to their original portrayals. Additional abilities may be created for gameplay purposes, but they must be clearly identified as original adaptations rather than canonical powers.
---
# 2. CORE CONTROL SYSTEM
Implement a keyboard-based ability system inspired by Jujutsu Craft.
## Default Controls
- **R — Switch Ability:** Cycles through the abilities available to the player's current Geass.
- **Z — Use Ability:** Activates the currently selected ability.
- **X — Geass Activation:** Toggles the Geass activation state when applicable.
- **G — Lock Target:** Locks onto the entity the player is looking at.
- **Hold R — Ability Wheel:** Optionally opens a radial selection interface for choosing abilities directly.
- **V — Secondary Ability:** Optional configurable key for a secondary skill, ultimate, or special action.
Every keybind must be configurable in Minecraft's Controls menu.
The system must avoid conflicts with vanilla Minecraft controls and other mods.
## HUD
Display a clean ability interface containing:
- Current Geass name.
- Selected ability and its icon.
- Available abilities.
- Cooldown indicators.
- Energy or stamina, if the ability uses a resource.
- Current target and targeting status.
- Eye-contact confirmation where required.
- Active effects and remaining duration.
- Geass awakening or overload status.
- A warning when the selected ability cannot be used.
When R is pressed, show the selected ability prominently for a brief moment.
When Z is pressed, play the appropriate activation animation, sound, and visual effect.
## Targeting System
Support three targeting methods:
1. **Direct aim:** Targets the entity under the player's crosshair.
2. **Target lock:** G locks onto a valid entity.
3. **Area targeting:** Certain abilities affect all valid entities within a radius.
The targeting system must distinguish between allies, enemies, neutral entities, and protected targets.
Abilities requiring eye contact must verify that the user can see the target directly. Walls and other solid blocks must interrupt visual contact unless a specific ability explicitly bypasses this restriction.
The server must validate all targeting and ability activation to prevent multiplayer exploits.
---
# 3. LELOUCH VI BRITANNIA — POWER OF ABSOLUTE OBEDIENCE
**Classification:** Main-series canonical Geass.
**Theme:** Mind control, strategic manipulation, command execution, and absolute authority.
Lelouch's Geass is the central mechanic of the mod and should receive the most extensive development.
It allows the user to implant an order into a target's mind through direct eye contact. The order is normally obeyed regardless of the target's personal wishes.
## Activation Mechanics
1. The player looks directly at a valid target.
2. The player presses X to activate Geass mode, if it is not already active.
3. The target's outline or eye indicator changes to confirm valid contact.
4. The player presses R to select an order.
5. The selected order appears on the HUD.
6. The player presses Z to issue the order.
7. A red Geass sigil appears in the user's eye and transfers to the target.
8. The target receives the order and follows it according to its capabilities.
**Do not require chat commands for ordinary Geass usage.**
Chat commands may exist for administrators, debugging, and server configuration only.
## Available Orders
### A. Basic Control
- **Obey Me:** Establishes obedience to the user. In gameplay, this can initiate a temporary command-following state.
- **Follow Me:** Makes the target follow the user.
- **Protect Me:** Makes the target prioritize defending the user.
- **Stand Still:** Immobilizes the target.
- **Kneel:** Forces the target into a kneeling animation.
- **Leave:** Makes the target move away.
- **Do Not Attack Me:** Prevents the target from attacking the user.
- **Do Not Interfere:** Prevents interference with a designated action.
- **Drop Your Weapon:** Makes the target drop its currently held weapon.
- **Surrender:** Forces the target to stop fighting and surrender.
- **Retreat:** Orders the target to withdraw.
- **Guard This Location:** Assigns the target to protect a designated location.
### B. Combat Orders
- **Attack Target:** Orders the affected entity to attack a separately selected enemy.
- **Defend This Person:** Makes the target protect a designated individual.
- **Disarm Yourself:** Forces the target to drop its weapon.
- **Do Not Run Away:** Prevents the target from fleeing.
- **Cease Hostilities:** Stops the target from attacking nearby entities.
- **Fight Until Defeated:** Forces the target to continue fighting within the limits of its physical capabilities.
- **Retreat From Battle:** Orders the target to withdraw from combat.
- **Stand Down:** Forces the target to stop hostile actions.
### C. Information Orders
- **Tell the Truth:** Compels honest answers to questions.
- **Reveal Your Location:** Makes the target disclose its current location.
- **Reveal Your Secrets:** Forces disclosure of information the target actually knows.
- **Tell Me Everything You Know:** Requests all relevant knowledge represented by the mod's information system.
- **Deliver This Message:** Makes the target deliver a designated message to another entity.
- **Report Your Mission:** Forces the target to explain its assigned mission, if it possesses that information.
The system must not invent memories or knowledge for entities that do not possess an information model.
### D. Memory and Behavior Orders
- **Forget This Event:** Erases a supported memory or event record.
- **Forget My Identity:** Causes the target to forget the user's identity.
- **Recognize Me as an Ally:** Changes the target's relationship with the user.
- **Ignore This Person:** Prevents normal recognition or interaction with a selected entity.
- **Believe This Area Is Dangerous:** Induces fear and causes the target to avoid the designated area.
- **Protect This Secret:** Prevents the target from voluntarily disclosing a designated piece of information.
- **Complete This Mission:** Assigns a specific task that the target will attempt to perform.
These commands require an optional NPC memory and relationship system. They must not falsely claim to rewrite the real memories of human players.
### E. Extreme Orders
- **Live:** Prioritizes survival under extraordinary circumstances.
- **Never Attack Me Again:** Establishes a lasting prohibition against attacking the user.
- **Never Disobey This Order:** Establishes a persistent directive, subject to the game's command restrictions.
- **Die:** Attempts to force a fatal action if supported by the server's rules.
- **Destroy This Target:** Orders the target to attack a designated enemy with lethal intent.
- **Protect This Person at All Costs:** Creates an extreme protection directive.
Extreme orders must have appropriate server-side restrictions and must not bypass administrator permissions or protected-world rules.
## Canonical Restrictions
- Lelouch's original Geass can ordinarily influence each individual only once.
- Orders can be long-lasting or permanent, rather than automatically expiring after a few seconds.
- Conditional commands should be supported.
- The user must establish direct eye contact for the original ability to work.
- The target must be capable of understanding or being affected by the command.
- The Geass does not automatically grant the target new knowledge, physical capabilities, or supernatural powers.
- C.C. is immune to Lelouch's Geass in the main series.
- The ability may become uncontrollable after its development progresses, reproducing the runaway Geass storyline.
- Later developments can unlock control over both eyes.
For gameplay, provide configurable rules that allow servers to choose between strict canon mode and balanced RPG mode.
In strict canon mode, do not allow Lelouch to repeatedly issue unrestricted orders to the same target.
In RPG mode, administrators may allow limited reapplication through cooldowns, progression, or special conditions.
## Advanced Development
Unlock the following through progression:
- Conditional commands.
- Greater control over order complexity.
- Improved targeting.
- Reduced activation delay.
- Runaway Geass events.
- Two-eye Geass awakening.
- Special command effects for major story events.
The two-eye awakening should primarily improve narrative scope and activation control rather than simply multiply combat damage.
---
# 4. MAO — SEAL OF ABSOLUTE SOUND
**Classification:** Main-series canonical Geass.
**Theme:** Telepathy, information gathering, mental overload.
Mao can hear the conscious thoughts of people within a large radius. He can concentrate on a specific individual to examine thoughts and memories more deeply, sacrificing effective range.
## Abilities
- **Surface Thoughts:** Reads immediate conscious thoughts.
- **Focused Reading:** Concentrates on a selected target for more detailed information.
- **Memory Probe:** Retrieves accessible memories the target has not forgotten.
- **Mental Overload:** Uses the flood of thoughts as a combat or disruption effect in the gameplay adaptation.
- **Thought Tracking:** Detects mental activity within the ability's range.
## Mechanics
- R selects the desired telepathic technique.
- Z activates it.
- Target selection can be performed by crosshair or target lock.
- Nearby entities may appear as mental signals on the HUD.
- Deep reading should require concentration and have a reduced radius.
## Weaknesses
- Mao cannot read information that a target does not know or has completely forgotten.
- C.C. is an exception to his ability.
- Excessive information can destabilize the user.
- The Geass may become permanently active as it develops, causing the user to hear surrounding thoughts continuously.
**Gameplay adaptation:** Mental Overload may temporarily disorient NPCs or players, but it must be identified as a custom gameplay mechanic rather than a direct combat ability demonstrated in the anime.
---
# 5. ROLO LAMPEROUGE — SEAL OF ABSOLUTE SUSPENSION
**Classification:** Main-series canonical Geass.
**Theme:** Suspended perception, stealth, brief tactical immobilization.
Rolo can suspend the subjective perception of time for people within a sphere of influence. Affected individuals cannot react normally while the effect is active.
## Abilities
- **Perception Stop:** Suspends the perception of nearby targets.
- **Focused Suspension:** Concentrates the effect on a smaller group.
- **Stealth Window:** Uses the ability to reposition or infiltrate.
- **Emergency Escape:** Briefly interrupts surrounding enemies to create an escape opportunity.
## Mechanics
- R switches between the available techniques.
- Z activates the selected technique.
- A circular field indicates the area of influence.
- Affected targets display a subtle visual indicator.
- The duration and radius must be configurable.
## Canonical Weaknesses
- Using the Geass places severe strain on Rolo's heart.
- The ability must only operate in short bursts.
- Affecting a larger number of individuals increases the strain.
- Inanimate objects and physical phenomena do not simply stop with the targets' subjective perception.
- Excessive use can be fatal.
Implement a heart-strain meter rather than a generic mana bar. Overuse should cause increasing warnings, impaired movement, and potentially lethal consequences in strict canon mode.
In balanced RPG mode, administrators may replace fatal overuse with a severe incapacitation effect.
---
# 6. CHARLES ZI BRITANNIA — MEMORY ALTERATION
**Classification:** Main-series canonical Geass.
**Theme:** Identity manipulation, memory rewriting, psychological control.
Charles can alter an individual's memories through direct eye contact. His ability can change past experiences, suppress access to specific information, and profoundly alter a person's perceived identity.
## Abilities
- **Memory Erasure:** Removes selected memories.
- **Memory Rewriting:** Replaces memories with fabricated experiences.
- **Identity Alteration:** Changes the target's remembered identity.
- **Memory Sealing:** Prevents access to specific memories.
- **Geass Suppression:** Can suppress the target's recollection of possessing a Geass.
- **Sensory Sealing:** Reproduces the canonical ability to seal a physical sense through memory alteration, where appropriate.
## Mechanics
Memory abilities should use a dedicated interface rather than requiring the player to type commands.
The interface may allow selection of supported memories, identity records, and sensory states.
## Restrictions
- Direct eye contact is required.
- The system must distinguish actual memory manipulation from ordinary mind control.
- The power must not rewrite server data, inventories, or world history.
- Restoring altered memories should require a suitable ability or narrative condition.
- Charles' Geass must be distinguishable from Lelouch's because it changes memories rather than simply imposing obedience.
---
# 7. MARIANNE VI BRITANNIA — CONSCIOUSNESS TRANSFER
**Classification:** Main-series canonical Geass.
**Theme:** Survival, possession, consciousness persistence.
Marianne's Geass allows her to transfer her consciousness into another person's mind at the moment of her death. This ability provides a means of surviving through another individual's body.
## Abilities
- **Consciousness Transfer:** Transfers the user's consciousness to a compatible host at the appropriate moment.
- **Host Possession:** Allows control of the occupied body when the consciousness becomes active.
- **Remote Communication:** Supports special communication with C.C. where appropriate.
- **Return to Original Body:** Allows return if the original body remains intact and the relevant conditions are met.
## Restrictions
- This is not a generic, freely repeatable teleportation ability.
- Transfer is associated with the moment of death.
- The host must be compatible with the possession mechanic.
- Losing the original body should carry significant consequences.
- The ability must not grant every skill or supernatural power belonging to the host.
For normal gameplay, provide a server-configurable simulation mode that allows possession during scripted events without requiring actual player death.
---
# 8. BISMARCK WALDSTEIN — FUTURE SIGHT
**Classification:** Main-series canonical Geass.
**Theme:** Precognition, dueling, predictive defense.
Bismarck's Geass allows him to perceive future possibilities, providing a significant advantage in combat.
## Abilities
- **Future Sight:** Reveals a brief possible future.
- **Predictive Guard:** Improves defensive timing against an incoming attack.
- **Predictive Dodge:** Helps the user evade a predicted strike.
- **Duel Analysis:** Displays a brief warning about an opponent's likely next action.
## Restrictions
- Predictions are limited to short periods.
- The future is not guaranteed and may change.
- The ability must not automatically reveal hidden information unrelated to the perceived future.
- It must not make the user invincible.
- Advanced prediction should require greater concentration.
In combat, show brief visual echoes or trajectory indicators to communicate the prediction.
---
# 9. SAKUYA SUMERAGI — VOICE-BASED ABSOLUTE OBEDIENCE
**Classification:** Canonical ability from Code Geass: Rozé of the Recapture.
**Theme:** Vocal command, selective obedience, infiltration.
Sakuya's Geass is similar to Lelouch's absolute obedience, but it operates through the user's voice rather than the same direct-eye-contact activation method.
## Abilities
- **Vocal Command:** Forces a target to obey a spoken order.
- **Selective Command:** Allows a specific target to be addressed by name when multiple people are present.
- **Infiltration Order:** Issues commands while concealing the user's identity.
- **Self-Sealing Command:** Allows the user to impose a restriction on herself, reproducing the relevant narrative application.
## Mechanics
- R cycles through available orders.
- Z activates the selected command.
- The target must be able to hear the user's voice.
- A voice-based targeting indicator identifies eligible targets.
- The user's voice must not be altered in a way that prevents the ability from functioning.
Unlike Lelouch's Geass, Sakuya's primary targeting condition is vocal transmission. Do not force the user to maintain direct eye contact as a universal requirement.
---
# 10. SHAMNA — SIX-HOUR TEMPORAL RETURN
**Classification:** Canonical ability from Code Geass: Lelouch of the Re;surrection.
**Theme:** Temporal reset, repeated attempts, strategic foresight.
Shamna's developed Geass allows her to return six hours into the past when she dies, retaining the knowledge associated with the previous timeline.
## Abilities
- **Six-Hour Return:** Triggers a return to a point six hours earlier when the user dies.
- **Timeline Memory:** Preserves the user's awareness of the previous timeline.
- **Repeated Strategy:** Allows the user to exploit knowledge gained from previous attempts.
- **Failure Recognition:** Displays information about the previous failure to support the next attempt.
## Restrictions
- This is not ordinary time stopping or unrestricted time travel.
- The trigger is associated with death.
- The reset must respect the server's persistence and multiplayer rules.
- The ability must not permit arbitrary rollback of an entire multiplayer world without explicit server authorization.
- In multiplayer, use a dedicated simulation of the user's personal timeline or a scripted event system.
A strict canon mode may reset the user to the appropriate earlier state. A multiplayer-safe mode should preserve the actual server world and simulate the effect through retained knowledge, checkpoints, and quest states.
---
# 11. SWAILE QUJAPPAT — PERCEPTION AND IDENTITY DISTORTION
**Classification:** Canonical ability from Code Geass: Lelouch of the Re;surrection.
**Theme:** Deception, confusion, mistaken identity.
Swaile's Geass distorts the target's perception of people, causing the user and the target's allies to appear to have exchanged identities.
## Abilities
- **Identity Swap Illusion:** Makes the target perceive the user as an ally and the ally as the user.
- **Combat Confusion:** Disrupts the target's ability to identify enemies.
- **Infiltration:** Creates opportunities to approach targets without being recognized correctly.
## Restrictions
- The ability alters perception rather than physically transforming people.
- Other players must not have their actual skins, identities, or server permissions changed.
- Visual effects should be client-side and must not enable unrestricted deception outside the intended target's perspective.
---
# 12. RAI — VOICE-BASED COMMAND GEASS
**Classification:** Canonical ability from Code Geass: Lost Colors.
**Theme:** Vocal obedience, commands, tactical control.
Rai possesses a command-based Geass resembling Lelouch's power, but its medium is the user's voice.
## Abilities
- **Voice of Command:** Forces a target to obey an eligible order.
- **Focused Command:** Selects a specific listener.
- **Conditional Instruction:** Establishes a supported conditional order.
## Restrictions
- The ability must not be confused with a separate canonical power that unifies everyone's will.
- Its once-per-individual limitation should follow the established command-based rules.
- It must be distinguished from Lelouch's visual targeting and eye-based activation.
---
# 13. KIGISU — TRUTH ENFORCEMENT
**Classification:** Ability from Code Geass side material.
**Theme:** Investigation, interrogation, information gathering.
Kigisu's Geass compels people under its influence to answer questions truthfully.
## Abilities
- **Truth Enforcement:** Compels truthful answers from affected targets.
- **Focused Interrogation:** Concentrates the effect on a selected target.
- **Information Extraction:** Reveals information the target actually knows.
## Restrictions
- Targets cannot reveal information they do not possess.
- The ability does not automatically reveal the objective truth of unknown events.
- Apply appropriate range, targeting, and activation conditions.
---
# 14. GALONZO — LIE DETECTION
**Classification:** Ability from Code Geass: Lelouch of the Re;surrection side material.
**Theme:** Deception detection and investigation.
Galonzo's Geass detects lies through an enhanced sense of smell.
## Abilities
- **Lie Detection:** Identifies a likely lie in spoken statements.
- **Deception Tracking:** Highlights a target whose statements are detected as deceptive.
- **Interrogation Support:** Helps identify contradictions in conversations.
## Restrictions
- The ability must not automatically reveal every hidden intention.
- It should distinguish deliberate lies from mistaken statements and uncertain beliefs.
- If the mod lacks an NPC dialogue or truth-state system, implement it as a limited gameplay indicator rather than a universal truth detector.
---
# 15. LORENZO IL SORESI — ILLUSION AND SUBJUGATION
**Classification:** Ability from Code Geass: Renya of Darkness.
**Theme:** Illusions, psychological manipulation, domination.
Lorenzo's Geass can subject targets to realistic illusions, distressing experiences, revelations about their past, or direct domination of their will.
## Abilities
- **Realistic Illusion:** Creates a convincing false experience for the target.
- **Fearful Illusion:** Causes temporary disorientation or fear.
- **Past Revelation:** Forces the target to confront a supported memory.
- **Will Subjugation:** Applies a direct domination effect.
## Restrictions
- Illusions should affect the intended target's perception.
- They must not modify the actual world.
- Extreme effects require stronger restrictions.
- Multiplayer illusions must be synchronized so that only intended clients perceive them.
---
# 16. SHIORI — PRIORITY REVERSAL
**Classification:** Ability from Code Geass: Renya of Darkness.
**Theme:** Psychological manipulation, distorted priorities.
Shiori's Geass reverses the order of priorities in a person's heart without necessarily replacing their personality or ambitions.
## Abilities
- **Priority Reversal:** Changes the importance of existing goals.
- **Conflict Manipulation:** Makes the target prioritize a different objective.
- **Strategic Disruption:** Interferes with an opponent's planned behavior.
## Restrictions
- The target retains its underlying personality and ambitions.
- The ability must not create arbitrary knowledge or completely replace the target's identity.
- The effects should be represented through supported AI goals or a relationship system.
---
# 17. MORIARTY — GEASS OF DESIRE
**Classification:** Ability from Code Geass: Arthur on the Misty Streets.
**Theme:** Removing psychological inhibitions and revealing suppressed desires.
Moriarty's Geass removes mental suppressants and inhibitions, causing a person to act on desires or ambitions that they previously restrained.
## Abilities
- **Remove Inhibitions:** Weakens restraints on the target's behavior.
- **Reveal Ambition:** Encourages the target to pursue a suppressed goal.
- **Psychological Disruption:** Changes behavior by removing internal restraints.
## Restrictions
- The ability should amplify existing desires rather than arbitrarily inventing an entirely new personality.
- The gameplay effects should depend on supported NPC traits and behavior systems.
---
# 18. ELISA LIECHTENSTEIN — INVISIBILITY
**Classification:** Ability from Code Geass: Fragments of the Mosaic.
**Theme:** Stealth, infiltration, concealment.
Elisa's Geass allows her to become invisible and can extend the effect to objects she holds.
## Abilities
- **Self-Invisibility:** Makes the user invisible.
- **Held-Object Concealment:** Conceals eligible objects held by the user.
- **Stealth Movement:** Supports infiltration and evasion.
## Restrictions
- Invisibility must not automatically grant invulnerability.
- Detection mechanics may still reveal the user.
- Server-side entity data must remain valid.
- Equipment and held-item visibility must be handled consistently.
---
# 19. ORSON MCGILLIS — POWER OF REGRET
**Classification:** Ability from Code Geass: Fragments of the Mosaic.
**Theme:** Guilt, confession, psychological pressure.
Orson's Geass overwhelms targets with regret for their actions, potentially making them more docile or willing to confess.
## Abilities
- **Induce Regret:** Causes a target to confront its actions.
- **Confession:** Encourages disclosure of relevant actions.
- **Psychological Submission:** Temporarily weakens resistance.
- **Extreme Regret:** An optional high-risk narrative effect.
## Restrictions
- The ability should rely on supported memories or behavior records.
- It must not automatically assign guilt to innocent targets.
- Extreme effects must be configurable and disabled by default in ordinary multiplayer gameplay.
---
# 20. AYANA FUSHIMI — IDENTITY ILLUSION
**Classification:** Ability from Code Geass: Fragments of the Mosaic.
**Theme:** Disguise through perception, infiltration.
Ayana's Geass alters a target's perception so that the target believes she is someone else.
## Abilities
- **False Identity:** Makes the target perceive the user as a selected person.
- **Social Infiltration:** Allows the user to approach targets under a perceived identity.
- **Recognition Distortion:** Interferes with the target's identification of the user.
## Restrictions
- The user is not physically transformed.
- The effect must be target-specific.
- It must not bypass server permissions, authentication, or ownership checks.
---
# 21. SHAMNA, BISMARCK, AND OTHER PRECOGNITIVE POWERS
Precognition must be implemented as a family of distinct mechanics, not a single universal Geass.
- **Bismarck:** Short-term future perception and combat anticipation.
- **Shamna:** Death-triggered return six hours into the past.
- **Nunnally and Nemo in Nightmare of Nunnally:** Perception of future possibilities.
- **Asirirera:** Short-term future vision in Genesic Re;CODE.
These powers must have separate activation conditions, cooldowns, visual effects, and progression.
Do not combine them into a generic power that allows every precognitive character to rewind time.
---
# 22. ADDITIONAL SPIN-OFF GEASS
Create a modular framework for further abilities from official Code Geass media.
These abilities should be optional and organized into separate content categories.
### Nightmare of Nunnally
- **Alice — The Speed:** Accelerates movement or objects within a radius through a specialized gravitational effect.
- **Sancia — The Od:** Detects target positions and estimates movement trajectories.
- **Lucretia — The Land:** Maps three-dimensional terrain within a radius.
- **Dalque — The Power:** Enhances physical strength by augmenting applied forces.
- **Mao — The Refrain:** Reads memories and can force a target to relive past experiences.
- **Rolo vi Britannia — The Ice:** Freezes targets and can affect time within the spin-off's distinct rules.
- **Nunnally and Nemo — Future Lines:** Provides a form of precognition.
### Genesic Re;CODE
- **Ar — Phase Transition:** Observes events in history under specific conditions.
- **Eldrei — Illusion:** Provides a specialized illusion ability.
- **Asirirera — Future Sight:** Sees a short period into the future.
- **Shunku — Detection:** Detects the direction and distance of individuals within a radius.
- **Gigi — Sleep and Dreams:** Induces sleep and can influence dreams.
Implement these as optional expansion abilities rather than forcing them into the main-series progression.
### Other Canonical or Side-Media Abilities
The modular system should allow future additions for:
- Body manipulation through Geass.
- Resurrection or control of the dead in alternate continuities.
- Enhanced strength and movement.
- Terrain mapping and trajectory prediction.
- Phase transitions and historical observation.
- Specialized illusion effects.
- Additional voice-based obedience powers.
- Artificial Geass and Geass fragments.
Each ability must have a verified source character and continuity before being presented as canonical.
---
# 23. C.C. — CODE BEARER AND CONTRACT SYSTEM
C.C. is primarily the source of Geass contracts in the main series, rather than a conventional combat Geass user.
Create C.C. as a special NPC and central progression character.
## Contract Mechanics
- The player discovers C.C. through rare encounters, hidden locations, or quest events.
- A dialogue sequence introduces the possibility of a contract.
- The player accepts or rejects the contract.
- Upon acceptance, the player receives a Geass determined by the selected contract or the server's configuration.
- The contract displays its conditions and consequences.
- A contract should not automatically grant every Geass.
## Contract Progression
- Geass awakening.
- Increased mastery.
- Development of the user's power.
- Risk of losing control.
- Potential permanent activation.
- Advanced awakening conditions.
- Special interactions with Code bearers.
The contract system must support other Code bearers where appropriate, including V.V.
**Important:** Code and Geass are distinct concepts. A Geass user must not automatically become immortal, and a Code bearer must not simply be treated as a stronger Geass user.
---
# 24. GEASS DEVELOPMENT AND OVERLOAD
Geass should develop through use, narrative events, and specific conditions.
## Progression Stages
**Stage 1 — Awakening**
- Basic abilities become available.
- The Geass symbol manifests in the appropriate eye or location.
- The player learns activation and targeting.
**Stage 2 — Control**
- Improved precision.
- Reduced activation delay where appropriate.
- Additional abilities.
- Better management of limitations.
**Stage 3 — Advanced Manifestation**
- Specialized techniques.
- Stronger effects.
- Additional targeting options.
- Improved control over complex abilities.
**Stage 4 — Overload**
- The Geass may become permanently active or harder to control, depending on the character.
- Certain abilities may become more powerful while imposing serious disadvantages.
- Visual indicators should communicate loss of control.
**Stage 5 — Exceptional Awakening**
- Reserved for specific storylines or administrator-controlled events.
- May include two-eye manifestations, unique abilities, or special interactions with Code.
Not every Geass should have all five stages. Progression must respect the original character's established limitations.
---
# 25. ENERGY, COOLDOWNS, AND BALANCE
Do not force all Geass powers to use the same energy mechanics.
Use a flexible system supporting:
- Cooldowns.
- Stamina.
- Concentration.
- Health costs.
- Heart strain.
- Mental stability.
- Persistent effects.
- Conditional activation.
- Charges or limited uses.
Examples:
- Lelouch's Geass should prioritize target eligibility and one-time command restrictions.
- Mao's Geass should prioritize concentration and information overload.
- Rolo's Geass should prioritize heart strain and short activation windows.
- Charles' Geass should prioritize eye contact and memory-alteration conditions.
- Bismarck's Geass should prioritize predictive timing and limited foresight.
- Shamna's Geass should prioritize its death-triggered temporal return rather than ordinary mana consumption.
All resource systems must be configurable for survival and RPG servers.
---
# 26. GEASS VISUALS, ANIMATIONS, AND SOUND
The mod should include distinctive visual effects for each Geass.
### Shared Effects
- Geass symbols appearing in the appropriate eye or body location.
- Red or character-specific eye glows.
- Activation particles.
- Targeting indicators.
- Ability-selection animations.
- Distinctive activation sounds.
- Screen effects for mental or perceptual powers.
- HUD warnings for overuse.
- Unique effects for advanced awakenings.
### Character-Specific Effects
- **Lelouch:** Red Geass sigil, visual targeting beam, and command confirmation.
- **Mao:** Mental signals, thought-reading interface, and visual noise during overload.
- **Rolo:** Circular field and suspended-perception effects.
- **Charles:** Memory distortion and visual flashes representing altered memories.
- **Marianne:** Ethereal consciousness-transfer effects.
- **Bismarck:** Brief future echoes and predictive trajectory indicators.
- **Sakuya:** Voice-based activation effects centered on the throat.
- **Shamna:** Temporal distortion and reset effects.
- **Swaile:** Target-specific identity distortion.
- **Elisa:** Transparency and held-object concealment.
Visual effects must be configurable to reduce performance impact.
---
# 27. NPCS, PLAYERS, AND MULTIPLAYER RULES
The mod must support both AI-controlled entities and real players.
### NPC Behavior
- Basic NPCs can support simple orders.
- Advanced NPCs may use mission, memory, and relationship systems.
- Information-based Geass should work only when the required data exists.
- Entities that cannot perform an order should produce a meaningful failure message.
### Player Interaction
- All player-affecting powers must be server-validated.
- Administrators can restrict Geass use against players.
- Persistent mind-control effects must be visible to server administrators.
- Players must not be able to manipulate inventories, permissions, or ownership without explicit rules.
- The mod must not allow Geass text to execute arbitrary commands.
### Protection and Resistance
- C.C. should retain her established immunity to Lelouch's Geass.
- Other special resistances must be implemented only when justified by the relevant continuity or by a clearly labeled gameplay rule.
- Ordinary players must not receive universal immunity simply because they are players.
- Server administrators must have final control over PvP and persistent effects.
---
# 28. COMMANDS AND ADMINISTRATIVE TOOLS
Commands are intended for administration and debugging, not ordinary ability usage.
Suggested commands:
- `/geass info` — Displays the player's Geass.
- `/geass give ` — Grants a specific Geass.
- `/geass remove ` — Removes the player's Geass.
- `/geass reset ` — Resets Geass progression.
- `/geass config` — Opens or displays configuration options.
- `/geass cooldown ` — Inspects or modifies cooldowns.
- `/geass debug` — Displays targeting and ability diagnostic information.
- `/geass contracts` — Lists active contract data where permitted.
Commands must have permission checks and must never be invoked automatically by interpreting a player's Geass order.
---
# 29. TECHNICAL REQUIREMENTS
Develop the mod using a modular architecture compatible with Minecraft 1.21.1 and NeoForge.
Required systems:
- Geass registration framework.
- Character and ability definitions.
- Keybind management.
- Client-side HUD and animations.
- Server-side ability validation.
- Targeting and line-of-sight checks.
- Cooldown and resource management.
- Persistent player data.
- NPC memory and behavior interfaces.
- Contract and progression systems.
- Configurable server rules.
- Multiplayer synchronization.
- Optional resource pack integration.
- Localization support, including English and Brazilian Portuguese.
All ability activation and target validation must be authoritative on the server.
Do not trust client-side requests for damage, target selection, cooldown completion, or permanent effects.
Avoid hard dependencies on unrelated mods unless absolutely necessary.
The system must be modular so developers can add new Geass abilities without rewriting the entire mod.
---
# 30. DEVELOPMENT PRIORITIES
Implement the mod in the following order.
**Phase 1 — Core Framework**
- Mod initialization.
- Geass registry.
- Keybinds R, Z, X, and G.
- HUD.
- Target selection.
- Multiplayer synchronization.
**Phase 2 — Lelouch**
- Direct eye contact.
- Ability selection using R.
- Order activation using Z.
- One-time command restrictions.
- Conditional orders.
- Geass visual effects.
**Phase 3 — Main-Series Geass**
- Mao.
- Rolo.
- Charles.
- Marianne.
- Bismarck.
- Sakuya.
- Shamna.
- Swaile.
- Rai.
**Phase 4 — Contracts and Progression**
- C.C. and V.V.
- Contract dialogue.
- Awakening.
- Mastery.
- Overload and special conditions.
**Phase 5 — Side-Media Abilities**
- Nightmare of Nunnally.
- Lost Colors.
- Renya of Darkness.
- Fragments of the Mosaic.
- Genesic Re;CODE.
- Other verified official continuities.
**Phase 6 — Polish**
- Animations.
- Sounds.
- Particles.
- Advanced HUD.
- Configuration.
- Performance optimization.
- Multiplayer testing.
- Bug fixes.
Do not create empty placeholder abilities and claim they are finished. Each implemented ability must have working activation, effect logic, cooldown or restrictions where appropriate, and clear feedback.
---
# FINAL INSTRUCTION TO THE MOD-CREATION AI
Build a complete, functional Code Geass-inspired Minecraft mod, not merely a concept document or a collection of ability descriptions.
The central gameplay loop must be:
**Look at the target → Press R to select an ability or order → Press Z to activate it.**
For Lelouch, direct eye contact is required to issue an order. For Sakuya, voice-based targeting rules must be used instead. Other Geass must follow their own canonical activation conditions.
Prioritize a working Lelouch Geass system before expanding to the full roster. Preserve the distinctive identity of every power, implement real effects rather than cosmetic placeholders, and ensure that all mechanics function in both single-player and dedicated multiplayer servers.
Where canon and gameplay balance conflict, provide configurable modes instead of silently changing the original ability.
Use the original anime as the primary reference and label abilities from alternate continuities appropriately. Do not invent canonical characters, misattribute powers, or treat speculative gameplay adaptations as confirmed facts.
Create a NeoForge 1.21.1 mod skeleton with configurable keys, networking, and an ability HUD.
Implement a server-validated Lelouch command loop with direct-contact checks, one-use-per-target enforcement, and working NPC effects.
Add configuration and English/Brazilian Portuguese localization; no items are introduced, so Geass is available without a crafting prerequisite.
Created the NeoForge 1.21.1 mod framework and a first playable slice focused on Lelouch’s Geass.
Controls and HUD: configurable R to cycle six orders, Z to issue, X to activate, and G to lock a target. Includes English and Brazilian Portuguese text.
Server-side command checks: validates range, line of sight, aim direction, activation, and target eligibility. Strict mode remembers when a player has already commanded a target.
Implemented orders: Follow Me, Stand Still, Leave, Drop Your Weapon, Do Not Attack Me, and Surrender. NPC orders use navigation, temporary AI suspension, item drops, and damage prevention as appropriate.
Server config: player targeting is off by default; strict once-per-target rules, range, cooldown, and temporary effects are configurable.
This is the requested initial core and Lelouch subset, not the entire proposed roster. The other Geass abilities, contracts and C.C. encounters, progression, memory systems, and character-specific effects are not implemented yet. No items were added; Geass can be activated directly with X.
📄
pasted-code-1792954512300.txt
txt
63 lines
▶
## Phase 1 Polish — Lelouch's Geass System
Before moving on to Phase 2, focus exclusively on polishing and improving the existing Geass system. Do not start implementing new major features yet. Inspect the current implementation first and build upon it instead of unnecessarily replacing working code.
### 1. Geass Command Selection Menu
Replace the current basic command selection with a proper, polished in-game menu.
- When the player activates Geass mode or opens the command selector, display a dedicated interface listing all available orders.
- Allow the player to navigate the options, select a command, and confirm the target.
- Clearly highlight the currently selected command and display its name and a short description.
- Make the interface intuitive, visually appealing, and consistent with Code Geass's aesthetic.
- Provide clear controls for opening, navigating, confirming, and closing the menu.
- Prevent the menu from interfering with normal movement and combat more than necessary.
- Ensure the system works correctly in multiplayer and does not open the menu for other players.
### 2. Geass Activation Animation
Activating Lelouch's Geass must trigger a beautiful, recognizable animation inspired by the anime.
- Animate the Geass eye with a vivid red glow, the distinctive Geass symbol, and layered visual effects.
- Add a brief activation sequence with particles, subtle screen effects, and appropriate sound effects.
- Make the effect visible to nearby players when appropriate, not just to the user.
- Synchronize the animation with the actual activation of the ability.
- Avoid excessive screen obstruction and provide configurable options for visual intensity.
### 3. Visible Geass Status on Both Characters
Make it immediately obvious when a player is using Geass and which target is being affected.
- Display a distinctive Geass indicator directly over the user's head while Geass is active.
- Display a corresponding indicator over the targeted entity's head while it is being targeted or affected.
- Use recognizable symbols, red visual accents, and subtle animated effects.
- Ensure indicators follow moving entities smoothly, remain correctly positioned, and disappear when the effect ends or the target changes.
- Distinguish between an active Geass user, a selected target, and a target currently under the influence of a command.
- Keep indicators visible at appropriate distances without cluttering the screen.
### 4. Remove the One-Command-Per-Person Restriction
Remove the restriction that prevents Lelouch from issuing another command to a person who has already received one.
- Lelouch must be able to issue multiple commands to the same target over time.
- Each new command must be processed independently and correctly.
- Preserve existing command behavior, targeting requirements, and multiplayer synchronization.
- Prevent duplicate execution, stale effects, or conflicting command states.
- If commands conflict, define a consistent rule for whether the new command replaces, overrides, or coexists with the previous one.
- Do not introduce an artificial one-command-per-target limit.
### 5. High-Quality Visual Effects and Animations
Significantly improve the visual presentation to capture the atmosphere and style of Code Geass.
- Create polished Geass eye animations, glowing symbols, particles, activation flashes, and command-casting effects.
- Use layered animation, smooth transitions, appropriate timing, and carefully tuned colors.
- Make each command feel impactful, with visual feedback when it succeeds, fails, or is resisted.
- Add subtle effects to affected targets so players can understand what is happening during gameplay.
- Keep the design cinematic and faithful to the anime's visual identity while fitting naturally into Minecraft.
- Optimize particles and animations to maintain good performance, including on multiplayer servers and lower-end computers.
### Technical Requirements
- Inspect the existing code before making changes.
- Preserve compatibility with the current Minecraft version, mod loader, and existing Geass functionality.
- Implement the actual mechanics, not merely visual mockups.
- Keep gameplay logic authoritative on the server and visual effects synchronized between clients.
- Ensure the interface and effects do not cause crashes, desynchronization, or significant performance drops.
- Test compilation and fix any errors introduced by these changes.
**Priority:** Complete and polish these improvements before starting Phase 2. Focus on making Lelouch's Geass feel cinematic, responsive, visually impressive, and genuinely enjoyable to use.
Inspect the existing Geass implementation and map its command, networking, client UI, effects, and target-state flow.
Polish the command selector and Geass activation/status visuals using the project’s existing architecture.
Remove the one-command-per-target restriction and make repeated commands deterministic.
Verify the relevant 1.21.1 NeoForge APIs from source before editing, then implement and check the changes.
Polished the Geass system without starting Phase 2:
Added a non-pausing command menu: C opens it, X activates Geass and opens it, arrows select, Enter confirms, and Esc closes. The menu shows all six orders, descriptions, and the captured target; R-cycle and Z-issue remain available.
Added server-synchronized red activation and command effects, a brief client flash, and distinct head markers for active users, affected targets, and the selected target. State is refreshed for nearby players when they begin tracking an entity.
Removed the one-command-per-target restriction. Repeated commands are allowed after the existing configurable cooldown; a successful new command replaces the prior Geass-specific protection/freeze state.
Added
showGeassVisualsandvisualIntensityconfig options, plus success/failure feedback and English/Portuguese menu text.
No build result was available in this session, so I can’t confirm compilation.
📄
pasted-code-1792958464328.txt
txt
77 lines
▶
## Geass System — Visual Polish, UI Fixes, and Expanded Commands
Improve the existing Geass system by focusing on visual quality, interface corrections, and additional commands. **Modify the current implementation instead of rebuilding everything from scratch.** Preserve all existing working mechanics unless changes are necessary to fix bugs or improve the system.
### 1. Geass Eye Visual Effect
- Create a visually striking and recognizable Geass eye symbol inspired by Code Geass.
- The design should feature a detailed red iris, a distinctive Geass sigil, glowing accents, and a polished anime-inspired aesthetic.
- Make the eye visually consistent with the theme of Code Geass.
- Add a smooth activation animation, such as the eye appearing, glowing, pulsing, or briefly flashing when the Geass is activated.
- Display the visual effect clearly when a player activates their Geass, without obstructing gameplay.
- If appropriate, create different visual states for activation, active Geass, and deactivation.
- Ensure the effect works reliably in multiplayer and is visible to the appropriate players.
### 2. Fix the Geass UI
The current Geass interface is visually broken: it appears blurry, distorted, and incorrectly sized.
Fix these issues completely:
- Correct the interface dimensions, proportions, alignment, and positioning.
- Remove unwanted blur, distortion, stretching, and pixelation.
- Ensure all text, icons, buttons, and visual elements render sharply.
- Make the interface responsive to different screen resolutions and aspect ratios.
- Prevent UI elements from overlapping, clipping, or extending beyond the screen.
- Use consistent spacing, typography, colors, and visual hierarchy.
- Ensure the interface scales correctly without becoming too large or too small.
- Check all UI components individually, including the Geass activation interface and the command-selection menu.
Do not simply hide the blur or reduce the interface size. Identify and fix the underlying cause of the rendering and scaling problems.
### 3. Expand the Geass Commands
Add more usable commands to the existing command-selection menu.
Organize the available orders into logical categories, such as:
- **Basic Commands:** Follow me, stop, kneel, remain still, leave, and protect someone.
- **Movement Commands:** Approach, retreat, go to a location, and return.
- **Combat Commands:** Attack a target, defend someone, disarm, and stop fighting.
- **Behavioral Commands:** Stay silent, forget a specific event where technically feasible, conceal information, and act normally.
- **Advanced Commands:** Guard a location, obey a specific instruction, and follow a sequence of commands.
These are examples of possible commands. Implement only those that can function reliably within the existing game architecture.
Each command must have a real gameplay effect. Do not add buttons that merely display text or pretend to execute an order.
### 4. Improve the Command Selection Menu
- Create an attractive, polished menu for choosing Geass orders.
- Organize commands into categories with clear labels and recognizable icons.
- Make the menu easy to navigate and visually consistent with Code Geass.
- Include hover effects, selection feedback, smooth transitions, and clear confirmation when an order is issued.
- Display the selected target and the chosen order before confirmation when appropriate.
- Make it possible to issue different orders to the same target multiple times. **Do not impose a one-command-per-person restriction.**
- Ensure the menu closes correctly and does not become stuck or remain visible unintentionally.
### 5. Animation and Feedback
Add polished animations and feedback throughout the Geass experience:
- Smooth Geass activation and deactivation animations.
- Eye glow and subtle visual pulses.
- Animated command-menu opening and closing.
- Visual feedback when a target is selected.
- Clear confirmation when an order is successfully issued.
- Appropriate feedback when a command fails, the target is invalid, or the player cannot issue an order.
Animations should be smooth, lightweight, and optimized for Roblox performance. Avoid excessive screen effects that interfere with gameplay.
### 6. Code Quality and Testing
- Inspect the existing implementation before making changes.
- Identify the source of the blurry and incorrectly sized interface.
- Reuse existing systems and assets where possible.
- Keep the implementation modular and maintainable.
- Ensure that client-side visuals and server-side gameplay logic work together correctly.
- Validate commands on the server to prevent exploiters from issuing unauthorized orders.
- Test the system with different screen sizes and, where possible, multiple players.
- Fix any new errors or regressions introduced by these changes.
### Final Goal
Transform the existing Geass system into a polished, visually impressive, and functional gameplay feature. The Geass eye should be immediately recognizable, the interface should be crisp and correctly scaled, and the command system should offer a broader variety of meaningful orders.
**Prioritize fixing the existing UI bugs first, then improve the Geass eye visuals and animations, and finally expand and polish the command system.** Do not stop at a design mockup: implement the changes in the actual Roblox Studio project and test that they work.
Fix the existing UI rendering/scaling problem first.
Improve the Geass eye effect and activation/deactivation feedback.
Add only commands that can be implemented as real, server-validated gameplay orders.
Updated the existing NeoForge 1.21.1 mod; this workspace is not a Roblox Studio project.
UI: Made the command panel adapt to the available GUI viewport, scroll through categorized orders, and fit long labels so they don’t spill beyond the panel. The existing UI draws directly in Minecraft’s GUI coordinates; the issue found in the code was fixed sizing and overflowing text, not a stretched texture or blur shader.
Geass visuals: Added a custom eye emblem with activation/deactivation animation, plus a pulsing eye indicator above active users that syncs to nearby clients.
Commands: Added Jump and Look at Me for AI-controlled mobs, and Silence to suppress a target’s game sounds temporarily. Silence restores the target’s previous setting and does not mute chat. Existing orders and server-side target validation remain in place.
I couldn’t run a build or multiplayer test in this session, so compilation and in-game behavior are unverified.
📄
pasted-code-1792964884326.txt
txt
92 lines
▶
I want you to completely redesign the Geass menu and fix all remaining visual bugs. I don't want just a color change — I want a polished, functional, visually impressive interface with an identity that faithfully captures the aesthetic of Code Geass.
### 1. Fix All Existing Menu Bugs
- Analyze the current code and identify the root causes of the visual issues before making changes.
- Fix misplaced elements, incorrect sizing, clipped text, overlapping components, distorted images, and UI elements that fail to scale properly.
- Ensure the menu is properly centered, has consistent dimensions, and adapts correctly to different screen resolutions and aspect ratios.
- Fix transparency, layering, rendering order, and elements that disappear or become blurry.
- Verify that the menu works correctly when opening, closing, selecting an order, and activating Geass.
- Do not hide bugs with temporary workarounds. Fix their actual causes.
### 2. Completely Redesign the Interface
Create an interface inspired by the visual identity of Code Geass, conveying the feeling of a mysterious, supernatural, and sophisticated power.
**Visual identity:**
- A predominantly black and dark red color palette.
- Neon-red accents with deep crimson tones and dark shadows.
- Geometric borders, thin lines, symbols, and patterns inspired by Geass.
- Clean, elegant, and consistent typography.
- Subtle glow effects without compromising readability.
- Panels with controlled transparency, depth, and a supernatural technological aesthetic.
The menu should look like a feature from a professionally developed game, not a default Roblox interface with a few red effects added.
### 3. Improve the Order Selection System
- Organize all available Geass orders into a clean, visually appealing interface.
- Each order must have its own name, description, icon, and indication of its effect.
- Highlight the currently selected order using a smooth animation, a red glow, and a distinctive border.
- Add hover effects and visual feedback when buttons are clicked.
- If there are many orders, organize them into a scrollable list or grid.
- Keep all text readable and prevent elements from overlapping.
- Preserve every existing order and make it easy to add new orders in the future.
### 4. Create Better Visual Effects
I want genuinely impressive visual effects that match the atmosphere of Code Geass.
**When opening the menu:**
- Make the interface appear through a smooth animation combining fade-in, scaling, and gradually revealed red details.
- Add geometric lines or symbols that appear progressively.
- Use a brief glow effect to create the impression that a supernatural power is awakening.
**When selecting an order:**
- Trigger a small red energy wave when an option is selected.
- Animate the button's border and its corresponding symbol.
- Use smooth transitions between options.
**When closing the menu:**
- Play a quick disappearance animation without leaving UI elements stuck on the screen.
All effects must be fluid, subtle, and properly synchronized. Avoid excessive flashing, random particles, or animations that interfere with interaction.
### 5. Improve the Geass Symbol
Use the existing Geass symbol from the project whenever possible.
- Fix its size, proportions, transparency, and positioning.
- Never stretch or distort the original image.
- Create an entrance animation with a red glow, followed by a subtle pulsing effect.
- If necessary, use a 64×64 pixel-art version as the icon while preserving its original appearance.
- Do not replace the symbol with a generic design.
### 6. Ensure Technical Quality
- Before modifying files, understand how the current interface is implemented.
- Preserve existing functionality and integration with the Geass system.
- Avoid duplicate interfaces, repeated event connections, or animations that continue running after the menu closes.
- Use reusable components and keep the code organized.
- Ensure the menu works with both mouse input and the appropriate keyboard controls.
- Optimize animations to prevent FPS drops.
- Do not introduce nonexistent images, modules, assets, or dependencies.
### 7. Mandatory Testing
After implementing the changes:
1. Open and close the menu multiple times.
2. Test every available Geass order.
3. Check element alignment, sizing, and text readability.
4. Test different screen resolutions and aspect ratios.
5. Confirm that no animations become stuck and no UI elements remain visible unintentionally.
6. Verify that the interface does not interfere with Geass activation or target selection.
### Expected Result
I want a professional-looking Geass menu with fluid animations, supernatural red-and-black visual effects, and an elegant, intuitive order selection system.
**Important:** Do not merely describe what should be changed. Inspect the project, implement the changes directly in the existing files, and test the result. Do not remove existing functionality to simplify the work. If a feature cannot be implemented, explain why and provide the closest functional alternative.
Prioritize fixing the existing bugs first, then improve the visual design and animations. Ensure that the final result is fully functional, visually consistent, and integrated with the current Geass system.
Trace the existing command screen, its input/render lifecycle, and the Geass icon asset.
Fix the underlying layout/rendering issues and redesign the existing screen without breaking order dispatch or activation.
Verify every Minecraft/NeoForge API touched against the 1.21.1 source before editing; build and in-game tests aren’t available here.
Redesigned the existing NeoForge 1.21.1 Geass menu in GeassCommandScreen.java; this workspace is a Minecraft mod project, not a Roblox Studio project.
The main blur issue was render order: super.render() ran after the custom menu, drawing Minecraft’s background blur over it. It now runs first, so the menu renders sharply on top. The layout also now adapts to the available screen space, wraps descriptions, clips list contents cleanly, and supports mouse-wheel scrolling.
The redesign keeps the existing Geass eye texture and adds a pulsing red halo, geometric framing, animated opening and closing, distinct order icons, hover and selection feedback, and a clearer target/confirmation footer. Existing order selection and server dispatch are preserved.
I couldn’t run a build or in-game testing here, so compilation and behavior across resolutions or multiplayer remain unverified.
📄
pasted-code-1792966237952.txt
txt
140 lines
▶
I want you to make further improvements to the Geass system. Focus on fixing the symbol positioning, expanding the available commands, improving the visual effects, and displaying the Geass symbol directly on the target's eye.
## 1. Fix and Properly Center the Geass Symbol
The Geass symbol is currently misaligned both inside the menu and when displayed outside the menu. Fix this completely.
- Center the symbol precisely within the menu and its designated UI container.
- Fix its positioning when displayed outside the menu, including during activation animations and other gameplay effects.
- Preserve the symbol's original proportions. Never stretch, distort, or incorrectly scale it.
- Ensure consistent positioning across different screen resolutions and aspect ratios.
- Fix any incorrect anchors, offsets, scaling, transparency, or rendering layers causing the misalignment.
- Ensure the symbol remains properly aligned during animations rather than shifting or drifting.
- Use the existing Geass symbol asset whenever possible.
## 2. Display the Geass Symbol When Using the Ability
Whenever a player activates Geass, the ability must produce a recognizable visual indicator.
- Display the Geass symbol prominently during activation.
- Add a smooth animation in which the symbol appears, glows red, and briefly pulses with supernatural energy.
- Make the activation visually satisfying without obstructing the player's view.
- Ensure the effect is visible to the appropriate players, including the target and nearby observers when applicable.
- Avoid leaving symbols or effects permanently stuck on the screen.
- Ensure the effect works every time the ability is activated.
## 3. Add More Geass Commands
Expand the available orders with additional commands inspired by Lelouch's Geass in Code Geass.
In particular, implement commands such as:
- **"Kill yourself."** The target attempts to take their own life through an appropriate in-game action.
- **"Obey me."** The target follows the user's designated command or instruction.
- **"Protect me."** The target prioritizes protecting the Geass user.
- **"Follow me."** The target follows the user for a defined duration.
- **"Stay still."** The target cannot move for a specified duration.
- **"Forget everything."** The target temporarily loses relevant gameplay information or receives an appropriate memory-related effect.
- **"Tell me the truth."** The target is compelled to provide truthful responses through the game's interaction system.
- **"Drop your weapon."** The target drops their currently equipped weapon, if applicable.
- **"Do not attack me."** The target is prevented from attacking the Geass user for a specified duration.
- **"Sleep."** The target enters a temporary incapacitated or sleeping state.
- **"Return to your position."** The target attempts to return to a previously recorded location.
- **"Use your strongest attack."** The target uses an appropriate available ability against a valid enemy, if the game's combat system supports it.
These are examples, not a limit. Add more commands that fit the source material and the existing mechanics.
### Command System Requirements
- Integrate every new command into the existing Geass selection menu.
- Give each command a unique name, description, icon, and visual selection state.
- Ensure that each command actually performs its intended in-game behavior rather than merely displaying text.
- Add appropriate duration, cooldown, target validation, and execution rules where necessary.
- Preserve existing commands and avoid breaking their functionality.
- Prevent commands from executing multiple times unintentionally.
- Make commands compatible with the current target-selection and Geass activation systems.
- Where an order cannot be implemented literally, provide the closest functional alternative supported by the game.
## 4. Attach the Geass Model Directly to the Target's Eye
This is one of the most important changes.
When Geass is successfully activated on a target, display the actual Geass symbol directly over the target's eye.
**On activation:**
- Make the symbol appear on the target's eye as the ability takes effect.
- Animate its appearance with a red flash, a brief glow, and a smooth transition.
- Position it accurately over the eye instead of displaying it as a floating symbol somewhere near the character's head.
- Ensure the effect is visible from different camera angles and distances.
**When executing a command:**
- Display the Geass symbol on the target's eye again when the commanded action begins, if appropriate.
- Use a distinct visual pulse or glow to indicate that the order is being enforced.
- Keep the symbol attached to the eye during character movement and animations.
- Ensure the symbol follows the correct eye and does not float, rotate incorrectly, or become detached from the target.
### Technical Implementation
- Inspect the character rig and determine the correct attachment point for the eye effect.
- Support the character rigs used by the game, including R6 and R15 if applicable.
- Use an appropriate attachment, bone, or equivalent positioning system rather than relying on fixed world coordinates.
- Account for different head sizes, animations, and character proportions.
- Ensure the effect is synchronized correctly for all relevant clients.
- Clean up temporary effects when the command ends, the target dies, the target despawns, or the effect is otherwise cancelled.
- Avoid creating duplicate attachments or leaving orphaned visual objects.
If the character model does not provide a reliable eye attachment point, implement a robust fallback that tracks the eye's position accurately.
## 5. Improve the Geass Visual Effects
The current visual effects need to be substantially more polished.
Create a coherent visual style inspired by Code Geass, combining dark tones, crimson energy, and supernatural geometric patterns.
### Activation Effect
- A brief red flash when Geass activates.
- The symbol appears with a smooth scaling animation.
- A subtle expanding energy ring or geometric pulse.
- Small particles or light streaks that converge toward the target's eye.
- A short-lived glow that fades naturally.
### Command Execution Effect
- A distinct red pulse originating from the Geass symbol on the target's eye.
- A subtle energy wave or visual distortion indicating that the command is taking effect.
- Visual feedback that reflects the type of command being executed.
- Smooth transitions that communicate activation, execution, and completion.
### Visual Quality
- Use layered effects, controlled glow, and consistent timing.
- Avoid excessive brightness, screen clutter, or constant particle spam.
- Optimize all effects for performance.
- Ensure the effects remain visually clear without making the character difficult to see.
- Use existing assets whenever possible and create additional assets only when necessary.
## 6. Improve Feedback and Synchronization
- Clearly indicate whether the Geass activation succeeded or failed.
- Display the selected command and its status when appropriate.
- Ensure the Geass user sees the correct activation feedback.
- Ensure the target sees the appropriate eye effect.
- Allow other players to see the relevant world-space effects when intended.
- Keep gameplay state authoritative on the server, with clients responsible for rendering the appropriate visual effects.
- Prevent visual effects from playing when the ability fails, the target is invalid, or the command cannot execute.
## 7. Testing and Final Requirements
After implementing the changes:
1. Verify that the Geass symbol is centered correctly inside and outside the menu.
2. Test activation against different character models and rigs.
3. Confirm that the symbol remains attached to the target's eye during movement.
4. Test every existing and newly added command.
5. Verify that the eye effect appears both when Geass is activated and when a command is executed.
6. Check synchronization between the Geass user, the target, and other players.
7. Test cooldowns, durations, cancellation, death, respawning, and repeated activations.
8. Ensure no duplicate symbols, broken animations, or leftover effects remain.
9. Check performance and confirm that the menu and existing abilities continue working.
**Important:** Inspect the existing project and modify the actual implementation. Do not simply create mockups, placeholder commands, or visual effects that are disconnected from the gameplay system. Preserve the current architecture where possible, fix the root causes of existing bugs, and verify that every new feature works.
Prioritize the following order: fix symbol alignment, implement eye-attached Geass visuals, improve activation and execution VFX, and then expand the command system. The final result should feel polished, immersive, and faithful to Code Geass.
Fix symbol alignment in the menu and existing gameplay visuals.
Add server-synchronized, eye-attached activation and command effects.
Expand the command system only where the current gameplay architecture supports real behavior.
Verify the touched 1.21.1 APIs and report what could not be tested in-game.
Fixed menu-symbol sizing within its icon area, centered the activation symbol on the HUD center, and moved the world marker from above the entity to eye height with a smaller scale. I’m now tracing how to anchor the effect to the animated head model and synchronize activation/order pulses.
Added one shared render layer to humanoid mob/player renderers: the existing server-synchronized Geass state now follows the animated head and sits over the face; non-humanoid entities retain an eye-height fallback. Temporary effects still expire through the existing client-state cleanup. Next I’m tracing the server-side order executor before adding commands.
Added eight usable orders with per-order icons and English/Portuguese descriptions, preserving the original order ordinals. Mob-only commands now use actual AI/navigation state; player-compatible effects are explicit, while truth reporting uses recorded combat memory rather than pretending to force speech. I’m finishing by wiring an execution pulse to the already synchronized order event.
Symbol alignment and attachment: The menu eye now scales to its available header space, and the activation symbol is centered on the HUD. A shared render layer attaches the Geass symbol to the animated face of Minecraft
HumanoidModelplayers and mobs; other living entities use an eye-height billboard fallback. Roblox R6/R15 rigs do not apply to this NeoForge project.Activation and command visuals: Reused the server’s existing visual payloads so nearby clients see the effect. Successful orders now trigger a brief expanding red glow at the target’s face, and the eye remains visible for the order’s active duration. Existing expiry cleanup removes temporary effects.
Orders: Added Kill Yourself, Protect Me, Forget Everything, Sleep, Return to Your Position, Use Your Strongest Attack, Obey Me, and Tell Me the Truth, with menu icons and English/Portuguese descriptions. Existing orders and their ordinals are preserved. Player weapon drops are supported when player targeting is enabled.
Behavior limits and testing: Some orders use the closest supported Minecraft behavior: Obey Me makes a mob stop pursuing its target and follow you; Tell Me the Truth reports recorded combat memory rather than forcing a player to speak; “strongest attack” uses vanilla mob combat AI; and Sleep slows/blinds players rather than putting them into a bed. Return-to-position is mob-only and requires a position recorded by an earlier successful order. Player targeting remains disabled by default. I couldn’t compile or run Minecraft here, so multiplayer, resolution, and in-game behavior remain unverified.
package com.kodari.geass;
import com.kodari.geass.config.GeassConfig;
import com.kodari.geass.network.GeassServerHandler;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.ModContainer;
import net.neoforged.fml.common.Mod;
import net.neoforged.fml.config.ModConfig;
@Mod(GeassMod.MOD_ID)
public final class GeassMod {
public static final String MOD_ID = "geass";
public GeassMod(IEventBus modEventBus, ModContainer modContainer) {
modContainer.registerConfig(ModConfig.Type.COMMON, GeassConfig.SPEC);
modEventBus.addListener(GeassServerHandler::register);
}
}