Global Attack Prevention System
Total control over player combat permissions, creating a peaceful, interference-free gameplay environment.
Key Features
1.Default Attack Blockade: Players cannot attack any living entities (hostile mobs, passive animals, NPCs), disabled by default.
2.Command Control: Use /noattack on or /noattack off to globally enable/disable player attack permissions.
3.Instant Status Feedback: System broadcasts attack state changes to all players upon command execution.
4.Multi-Dimensional Coverage: Effective in all dimensions (Overworld, Nether, End) for complete protection.
How It Enhances User Experience
1.Immersive Peaceful Gameplay: Focus on building, redstone engineering, or story-driven modes without combat interruptions.
2.Secure Creative Environment: Protect NPCs, passive mobs, and 精心设计的场景 from accidental damage.
3.Simplified Server Management: One-click attack state 切换 ideal for educational servers, creative maps, or role-playing communities.
4.New Player Friendly: Reduces frustration from monster attacks, improving retention rates.
Technical Details
1.Event Interception: Blocks all attack events via 底层 API, including melee, ranged (bows), and projectiles.
2.Compatibility: Works seamlessly with entity AI, spawning mechanics, and other mods; only blocks player-initiated attacks.
Example Use Cases
1.Building Servers: Prevent griefers from destroying public structures.
2.Educational Purposes: Eliminate combat distractions during teaching sessions.
3.Story Maps: Ensure players focus on quests 而非 combat.
4.Animal Sanctuaries: Create harm-free ecological observation zones.
Installation Notes
Requires NeoForge API (version 21.1.0+) and Minecraft 1.21.1