Abloom API
Abloom API is a library mod for NeoForge that adds an elemental damage system, elemental energy accumulation, and threshold effects.
Abloom API
Overview
Abloom API is a library mod for NeoForge that adds an elemental damage system, elemental energy accumulation, and threshold effects. The mod provides infrastructure for creating weapons with elemental properties, projectiles, and a resistance system for mobs.
---
Key Features
Element System
The mod defines 11 element types:
| Element | Damage ID | Damage Color | |---------|----------|------------| | FIRE | `fire_dmg` | #FF5500 | | PHYSICAL | `physical_dmg` | #C0C0C0 | | WIND | `wind_dmg` | #00FFFF | | EARTH | `earth_dmg` | #8B4513 | | WATER | `water_dmg` | #0080FF | | ICE | `ice_dmg` | #00BFFF | | ELECTRIC | `electric_dmg` | #FF19FF | | ENERGY | `energy_dmg` | #FFFF00 | | NATURAL | `natural_dmg` | #32CD32 | | QUANTUM | `quantum_dmg` | #9400D3 | | ETHER | `ether_dmg` | #24B3A7 |
Resonance Accumulation Mechanics
- When taking damage from an element, the target accumulates resonance points of that element - Base accumulation value: 300 ticks - Activation threshold: 300 ticks - When the threshold is reached, a special effect triggers and resonance points are reset - Accumulation resets after 300 ticks (15 seconds) without receiving damage of that type
Resonance Effects
When reaching 100 accumulation resonance points:
| Element | Effect | Duration | |---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------| | ETHER | Physical resonance explosion, applies Rupture effect (target takes 250% initial damage, defense reduced by 40%) | 6 seconds (120 ticks) | | ETHER | Fire resonance explosion, applies Burning effect | 10 seconds (200 ticks) | | ETHER | Wind resonance explosion, applies Windswept effect. Applying any other elemental damage (except Wind) while this effect is active triggers the corresponding resonance explosion and removes Windswept effect | 8 seconds (160 ticks) | | ETHER | Water resonance explosion, applies Wetness effect (increases resonance accumulation by 100%) | 15 seconds (300 ticks) | | ETHER | Earth resonance explosion, applies Stun effect (target cannot deal damage or move) | 6 seconds (120 ticks) | | ETHER | Ice resonance explosion, applies Freeze effect | 12 seconds (240 ticks) | | ETHER | Electric resonance explosion, applies Shock effect (target deals 20% less damage) | 10 seconds (200 ticks) | | ETHER | Energy resonance explosion, applies Overload effect (damage taken by target increased by 20%) | 10 seconds (200 ticks) | | ETHER | Natural resonance explosion, applies Bloom effect (target takes 1 damage per second and receives 20% universal vulnerability) | 8 seconds (160 ticks) | | ETHER | Quantum resonance explosion, applies Break effect (all damage to target ignores defense) | 8 seconds (160 ticks) | | ETHER | Ether resonance explosion, applies Corruption effect (target's resistance to all damage types reduced by 20% and takes periodic damage) | 8 seconds (160 ticks) |
Mob Resistances and Weaknesses
The following table shows which mobs have immunities, resistances, or weaknesses to each element type:
| Element | Immune | Resistant | Weak | |---------|--------|-----------|------| | ETHER | Blaze, Magma Cube, Wither, Ender Dragon, Strider, Zombified Piglin, Wither Skeleton | Ghast, Warden, Hoglin, Piglin, Piglin Brute, Zoglin, Husk, Camel Husk | Snow Golem, Dolphin, Zombie, Zombie Villager, Drowned, Stray, Bogged | | ETHER | *None* | Turtle, Armadillo, Iron Golem, Copper Golem, Shulker, Warden, Ender Dragon | Slime, Magma Cube, Phantom, Vex, Allay, Glow Squid, Squid | | ETHER | Phantom, Breeze | Ender Dragon, Ghast, Happy Ghast, Vex, Allay, Parrot, Chicken, Ocelot, Cat, Fox, Wolf | Turtle, Sniffer, Armadillo, Camel, Camel Husk, Ravager, Hoglin, Polar Bear | | ETHER | Endermite, Silverfish, Shulker | Iron Golem, Copper Golem, Warden, Giant, Ravager, Armadillo, Sniffer | Ghast, Happy Ghast, Phantom, Vex, Allay, Breeze, Ender Dragon | | ETHER | Squid, Glow Squid, Nautilus, Zombie Nautilus, Drowned, Guardian, Elder Guardian, Axolotl, Tadpole, Frog, Turtle, Cod, Salmon, Pufferfish, Tropical Fish, Dolphin | Witch | Blaze, Snow Golem, Strider, Breeze, Parched | | ETHER | Snow Golem, Stray, Polar Bear, Goat | *None* | Blaze, Magma Cube, Strider, Breeze, Parched | | ETHER | Creeper | Enderman, Phantom, Allay, Breeze | Drowned, Turtle, Axolotl, Frog, Tadpole, Cod, Salmon, Pufferfish, Tropical Fish, Dolphin, Squid, Glow Squid, Nautilus, Zombie Nautilus, Guardian, Elder Guardian | | ETHER | Enderman, Shulker, Warden | Ender Dragon, Wither, Elder Guardian, Evoker, Witch | Creeper, Ghast, Happy Ghast | | ETHER | Bogged, Wither Skeleton, Wither, Slime, Magma Cube, Bee | Wolf, Ocelot, Cat, Panda, Fox, Rabbit | Villager, Wandering Trader, Iron Golem, Copper Golem, Snow Golem, Allay, Zoglin, Stray, Zombified Piglin, Zombie, Zombie Villager, Zombie Nautilus, Skeleton, Axolotl | | ETHER | Enderman, Endermite, Ender Dragon, Shulker | Wither, Warden | Villager, Wandering Trader, Bat, Allay | | ETHER | Ender Dragon, Wither | Evoker, Vindicator, Pillager, Witch | Enderman, Endermite, Shulker, Warden |
---