Commit Graph
46 Commits
Author SHA1 Message Date
Kam a23b199e7e Refactoring for Code Cleanup and Projectile Abstract Class Handling 2026-02-14 15:21:56 -05:00
Kam da4ee2e20d Refactor ability management: enhance deep copy functionality, streamline custom ability handling, and update versioning logic 2026-02-14 14:43:25 -05:00
Kam 2a1a5643d3 Potion Effect System + Manual and Remove Bulk 2026-02-14 04:04:13 -05:00
Kam 910f3b3744 Add NPC inline edit support and adjust ability launch mechanics 2026-02-13 15:01:28 -05:00
Kam 2c00ecae9e feat: add built-in ability handling and UI updates for ability management 2026-02-12 20:30:12 -05:00
Kam 6f9cafa141 Add Custom Particle Handling and Preset Handling to Trap and Hazards 2026-02-12 18:15:41 -05:00
Kam 2d3106a256 Fix Zone Defaults 2026-02-12 15:01:19 -05:00
Kam 2387ece1ff Update Abilities to Support Player Casting (Part 1) 2026-02-08 01:32:18 -05:00
Kam 74cae17ebd Burst and Dual Mode + Variant Ability Support 2026-02-06 20:25:52 -05:00
Kam af02b0ab1d Various Fixes 2026-02-06 16:28:38 -05:00
Kam 2e5c4c3bf4 Fix Preview Handling for Abilities, Fix Disc Positioning in Real World 2026-02-06 05:04:19 -05:00
Kam a13791c610 Add DBC ability damage handling and GUI integration with new Damage Handler Registry Systems 2026-02-04 17:45:02 -05:00
Kam 326626ad8e Better Fix to Lock Movement and Rotation Locking during Abilities. Fix Interupting on Projectile Abilities 2026-02-04 14:48:54 -05:00
Kam 769109d046 Fix Windup Ticks 0 not starting Abilities 2026-02-03 15:52:46 -05:00
Vidal 2d47aa00d8 - Added standalone min max methods to FieldDef
- Increased lightning density and radius minmax on all energy abilities
- Made AbilityOrbBarrage interruptible during active state
- Renamed AbilityEnergyBeam to AbilityBeam
- Updated imports
2026-02-03 12:32:30 -03:00
Vidal c5822023a0 Added modifyVisibility to FieldDef
AbilityGuard tweaks
2026-02-03 07:45:02 -03:00
Kam fd85215592 Fix Ability Def Handler 2026-02-03 05:07:54 -05:00
Kam b368871e4f Update Ability.java 2026-02-03 04:45:31 -05:00
Kam 8aa6e926f6 Some Ability Helpers 2026-02-03 04:27:54 -05:00
Vidal 60b846b35e - Added onDamageTaken to Ability
- Reworked AbilityGuard
- Added AbilityOrbBarrage
- Updated translation
- Updated onDamageTaken method calls
2026-02-03 05:43:50 -03:00
Kam 2c6ec0ce34 Better GUI handling for Ability Making System 2026-02-02 21:51:21 -05:00
Kam d3167df1b9 Fix to Type Tab 2026-02-02 20:40:17 -05:00
Kam 0cbc30f8cb Better GUI Handling for Abilities 2026-02-02 18:53:36 -05:00
Kam 911f185400 Fields Builder for Ability GUIs 2026-02-02 18:26:52 -05:00
KamandClaude Opus 4.5 0ff501bb16 Declarative ability GUI: replace 18 SubGui classes with FieldDef system
All ability GUI tabs (General, Target, Effects, Type, Visual) are now
fully declarative via FieldDef definitions. Deleted 18 SubGuiAbility*
classes (~3100 lines) and rewrote SubGuiAbilityConfig to use
GuiScrollWindow for every tab with a unified field renderer.

- Add FieldDef, FieldType, TabTarget, ColumnHint, TabDef gui framework
- Add getFieldDefinitions() to all 18 ability subclasses
- Add getBaseFieldDefinitions() to Ability.java for shared tabs
- Merge COLOR/EFFECTS into SUB_GUI with convenience factories
- Net reduction: ~3100 lines removed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 16:17:37 -05:00
Vidal c168702970 WIP Animations Register 2026-02-01 20:09:12 -03:00
Vidal c39ce6b6d1 Fixed sync windup animation not being an ability property and getting overridden on gui init 2026-02-01 17:08:24 -03:00
somehussar 43c0a8e296 Shitty test command do not fucking use xd 2026-01-31 06:00:37 +01:00
Vidal a8ca3293fd Removed wrong @param 2026-01-30 20:25:15 -03:00
Kam 1b8ad4dd90 Player Abilities 2026-01-30 05:01:54 -05:00
Kam 55658a7956 Ability Preview GUI 2026-01-28 20:43:32 -05:00
Kam e73054a529 Built In Animation System + Fixes to Defaults for Energy Projectile Abilities 2026-01-28 16:31:26 -05:00
Kam 7d2bba7b95 Better Lock Movement handling 2026-01-28 15:16:28 -05:00
Kam 747aae8337 Recovery -> Dazed. Better cooldown logic handling 2026-01-27 04:07:02 -05:00
Vidal 93486d306b Made animation fetching methods return Animation instead of IDs 2026-01-27 04:36:12 -03:00
Kam 563b6f7a26 Ability Effects 2026-01-26 22:02:51 -05:00
Kam 651f2d0d84 More Abilities 2026-01-26 04:42:23 -05:00
Kam de043f4a25 Ability Changes 2026-01-25 20:39:01 -05:00
Kam bd7cafa482 Telegraph Scripting System 2026-01-24 02:35:26 -05:00
Kam a9b602713c Large Cleanup to Code Imports and Formatting 2026-01-22 23:07:38 -05:00
Kam 828e99d427 Revise ability logic and configs 2026-01-11 16:04:49 -05:00
Kam fdb2ff98d8 Large Ability changes, cleanup, langs, fixes. 2026-01-10 23:06:13 -05:00
Claude c7d04cb9d3 Simplify ability interrupt logic and reorganize GUI
- Remove interruptThreshold field entirely - interrupts now based on damage source type
- Update canInterrupt() to only allow interrupts from direct physical hits (not magic/fire/explosions)
- Interruption only occurs during WINDUP phase, not ACTIVE
- Reorganize SubGuiAbilityConfig into 4 tabs: General, Type, Target, Effects
- Increase GUI size to 420x216 for better layout
2026-01-10 10:32:24 +00:00
Claude b40fec2270 Clean up imports to use short class names
Replace fully qualified class names with proper imports in ability files:
- Added cpw.mods.fml.relauncher.Side and SideOnly imports
- Added IAbilityConfigCallback and SubGuiAbilityConfig imports
- Added SubGuiAbility* imports for each ability type
- Replaced @cpw.mods.fml.relauncher.SideOnly(...) with @SideOnly(Side.CLIENT)
- Replaced fully qualified return types with short class names
2026-01-10 10:03:10 +00:00
Claude f28d3483e6 Refactor Ability GUI to support third-party extensibility
This refactoring allows third-party mods to provide their own custom GUI
for ability type settings by extending SubGuiAbilityConfig.

Changes:
- Refactored SubGuiAbilityConfig as base class with GuiMenuTopButton tabs
- Added virtual methods: initTypeTab(), handleTypeButton(), handleTypeTextField()
- Added createConfigGui() method to Ability base class for GUI instantiation
- Created 15 SubGuiAbility* subclasses in new ability package
- Updated GuiNPCAbilities and GuiNpcManageAbilities to use ability.createConfigGui()

Third-party mods can now:
1. Create a custom Ability subclass
2. Extend SubGuiAbilityConfig with their own GUI
3. Override createConfigGui() to return their custom GUI
2026-01-10 09:48:37 +00:00
Kam 166c8aa228 Ability Push 2026-01-09 15:29:00 -05:00