Описание
## About
AkatZumaTool is a lightweight weapon mod for **Minecraft** that uses a custom rendering pipeline to deliver flashy visual effects.
---
All beams, lightning, and explosion particles are rendered in real-time via custom Shaders, supporting up to hundreds of thousands of particles for a greatly enhanced visual experience.
> **Note**: The GPU particle and post-processing systems require **OpenGL 4.3** (satisfied by most discrete GPUs).
## New Items
| Item | Description |
|------|-------------|
| **Coin** | Right-click and hold to charge, release to fire a piercing beam. Consumable item. Max range 50 blocks, damage 20. |
| **Colorful Coin** | Enhanced version of the Coin with 256 durability. Enchantable, max range 60 blocks, damage 40. The beam can also break blocks. |
| **Fly Sword** | Right-click on a block to summon 2 auto-targeting flying swords. Persistent entities that automatically follow and attack monsters, with a trailing visual effect. |
| **other** | [Github Wiki](https://github.com/misako227/AkatZumaToolWiki) |
---
## Additional Features
### ✨ GPU Particle System (Compute Shader)
- **Engine**: OpenGL 4.3 Compute Shader + SSBO
- **Capacity**: Up to **100,000** particles, updated primarily on the GPU
- **Particle Shapes**: Circle, Square, Triangle, Heart, Star
- **Motion**: Ballistic trajectory, gravity control, color gradient
- **Use Cases**:
- Coin full-charge convergence particles
- Magic arrow trails
- Impact explosion bursts
- Meteor strikes
- Ground expanding rings
- Super charge final explosion
### 🌟 Bloom Post-Processing Pipeline
- **MRT FBO**: Separates the visible color pass from the Bloom glow pass
- **Gaussian Blur**: 3-iteration ping-pong blur
- **Final Composite**: Original scene + mod effects + Bloom glow overlay
- **Adaptive Resolution**: FBOs automatically rebuild on window resize
### ⚡ Custom Beam & Lightning Rendering
- **Beams**: 3D beams formed by two perpendicular quads, with fbm noise arc disturbance and blue-white / yellow-red color schemes
- **Lightning**: Real-time branching lightning (3–8 branches) generated during charging, with exponential decay kernel + Bloom glow
- **Sword Trail**: 6-frame dynamic ribbon effect based on the Ribbon algorithm
### 🤝 Mod Integration
- **Touhou Little Maid**: Registers a ranged attack task (`Railgun`) so maids can automatically equip and throw coins as a ranged weapon — no extra configuration needed.
### ⚙️ Configurability
Most numerical values can be adjusted via `config/Akatzumatool/akatzumatool.toml`:
| Config Key | Description |
|------------|-------------|
| Coin / Colorful Coin | Damage, range, full-charge time |
| Fly Sword | Search range, attack damage |
| Terrain Destruction | Whether beams can break terrain (respects FTB Chunks claims) |
---
### Wiki & Feedback: [Github](https://github.com/misako227/AkatZumaToolWiki)