Commit Graph
96 Commits
Author SHA1 Message Date
Kam 6f1a837296 Renaming for Better Schema 2026-03-01 03:00:17 -05:00
Kam d3d9dd352a Target Owner for Barriers on Reflection 2026-02-28 19:43:01 -05:00
Kam 1a0ce41e00 Add Free Aim Functionality for Beams 2026-02-28 19:25:13 -05:00
Kam 38df157c40 Staff Charging Fix 2026-02-28 14:04:11 -05:00
Kam 936dc7f0cc Add Offsets to Barriers 2026-02-27 00:47:45 -05:00
Kam 1c02657282 Barrier Logic Corrections 2026-02-27 00:11:11 -05:00
Kam 2e221b42a1 Fix Broken Charging Spamming 2026-02-25 23:15:32 -05:00
Kam 008fca66bf Merge remote-tracking branch 'origin/dev' into dev 2026-02-25 04:31:32 -05:00
Kam d8bc3d4177 CNPC+ Debug Command for Energy Projectiles + Compile Fixes 2026-02-25 04:31:17 -05:00
Kam f73e8d02f9 Update EntityAbilityDome.java 2026-02-25 04:12:20 -05:00
Kam 744ffc5ab7 Complete Overhaul to Laser Shot -> Ability Laser 2026-02-25 03:52:20 -05:00
Kam f877279df0 Update EntityAbilityLaser.java 2026-02-25 00:02:09 -05:00
Kam 26f5a84f97 Better Naming 2026-02-25 00:00:55 -05:00
Kam 8a998c6f62 Fix Barrier + DBC Logic 2026-02-24 23:52:01 -05:00
Kam 47ebc2889f Reflection Barrier Fixes 2026-02-24 23:18:59 -05:00
Kam 92cfbbcc9d Fix Panels in Ground Issue 2026-02-24 22:30:19 -05:00
Kam 90735e6866 Scripting Ability Handling Improvement and Copy Data 2026-02-24 21:23:40 -05:00
Kam 930b7ed423 Better Energy Charging Syncing 2026-02-24 19:05:08 -05:00
Kam 5d16e79767 A various amount of fixes!!!!! 2026-02-24 01:15:37 -05:00
Kam abc34b3f6f Fix Rendering Glitches 2026-02-23 23:19:33 -05:00
Kam a724f7f12c Fix Barrier is Ally Crash 2026-02-23 21:19:32 -05:00
Kam 03bea7461d Optimize Explosion Handling 2026-02-23 14:33:02 -05:00
Kam e4fe8c5112 Max Hits for Piece and Multi 2026-02-23 14:21:55 -05:00
Kam adf9cd7012 Add Barrier Reflection! 2026-02-23 00:17:34 -05:00
Kam b5534b4a39 Lot's of Weird Ability Interaction Fixes 2026-02-22 22:39:33 -05:00
Kam 25320f8de1 Fix Remote Checks 2026-02-22 21:51:10 -05:00
Kam d2d5bcc59b Various Fixes to CNPC Abilities
- super slow speed orb has weird properites, after awhile it flies weirdly
- Binding HUD scroll key to middle mouse button crashes client
- Zero Knockback still does knockback to CNPCs
- Charge: the telegraph is where you are looking but you actuually charge where your current body rotation is instead
- using slam mid air makes it not work correctly
- Beam disappears after going out of the render distance but still fires
- Player vortex can only pull one target

Slam now takes current height when being used to calculate damage
2026-02-22 21:19:44 -05:00
Kam de92d57f13 Fix some Projectile Firing 2026-02-22 15:02:14 -05:00
Kam f818568bd3 Fix Panel Held / Anchored Mode 2026-02-22 14:16:40 -05:00
Kam 9a1bd5f2f8 Explosion Client-Side only 2026-02-22 14:09:33 -05:00
Kam 7b6e378121 Energy Explosions 2026-02-22 05:41:28 -05:00
Kam f58a6010d9 Reorganize 2026-02-22 03:28:56 -05:00
Kam 18968bf7c7 Fix Firing Energy Projectiles and Make Charging State purely visual 2026-02-22 03:07:37 -05:00
Kam b6749e306b Add Hit Type to Projectiles 2026-02-21 20:39:16 -05:00
Kam 64e7a5153e Fix Crosshair Alignment 2026-02-21 16:49:21 -05:00
Kam ecfedff9d2 - Barrier Health Scaling with DBC Addon
- Healing Health Scaling with DBC Addon
- Ki Attacks collided with Barriers
- Remove Ability Slot (Deprecated)
- Refactored Naming Scheme for Barrier Abilities
- Fixed Player Settings for Ignore Dex, DBC Stats, etc.
2026-02-21 14:40:14 -05:00
Kam 3e58013ad6 Various Fixes 🐶 2026-02-21 05:09:00 -05:00
Kam 12c50d5f6a Whoops Forgot to Sync NBTs 2026-02-21 04:56:53 -05:00
Kam 4dde214f94 Fix Persistent Ability Entities 2026-02-21 04:11:28 -05:00
Kam a18503dfe9 Fix Domes 2026-02-21 01:09:39 -05:00
KamandClaude Opus 4.6 b3357a2751 Fix dome melee for all radii with server-side tick detection
MC's processUseEntity uses player.getDistanceSqToEntity(dome) for reach
validation, which computes center-to-center distance. For domes with
radius > 5, this always exceeds the 36-block threshold, making melee
impossible regardless of how close the player is to the surface.

Fix: server-side processMeleeHits() in onUpdate detects swinging players
near the dome surface via ray-sphere intersection, then calls
attackTargetEntityWithCurrentItem directly — bypassing MC's broken reach
check while preserving full damage calculation (enchantments, crits, etc).

Also adds adjustMeleeBoundingBox for client-side entity picking (places a
small 2x2x2 BB at the nearest sphere surface point toward the player),
and allows melee targeting from both inside and outside the dome.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-02-21 00:57:49 -05:00
KamandClaude Opus 4.6 e711a9012b Fix barrier solid/knockback behavior and dome melee targeting
- Rewrite solid system to use reactive crossing detection (prevPos comparison)
  instead of prediction-based teleportation that caused client rubber-banding
- Reduce knockback force (0.06 multiplier) so it pushes without fully blocking
- Add client-side solid prediction for smooth movement blocking (local player only)
- Fix dome melee from inside: canBeCollidedWith returns false when player is inside
- Fix dome melee from outside: getCollisionBorderSize set to 0 to prevent raycast
  from returning far exit point beyond reach distance
- Clean up dome bounding box: use setPosition/updateBoundingBox instead of custom setSize

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-02-20 23:55:32 -05:00
luisc 0a85bb5a7b - fixed dome collisions
- changed dome alpha rendering
- removed open container check for abilities
2026-02-20 19:36:45 -06:00
Kam f620e820e8 Dome, Panel Settings 2026-02-20 18:16:52 -05:00
Kam cb57e26d04 Modified Damage on Energy Projectile System 2026-02-20 03:51:11 -05:00
Kam 4bd149c01b Check Barrier Collisions within Laser Shot 2026-02-20 03:50:41 -05:00
Kam 86fe9fd6bb Sweeper Height and Width Configs 2026-02-20 02:17:11 -05:00
Kam 747918c4dc Better Barrier Tracking 2026-02-20 02:17:00 -05:00
Kam f7d0fbcf33 Rendering Fixes and Logic Fixes for all Energy Abilities 2026-02-19 19:27:56 -05:00
Kam e54a9a83bb Create IAbilityEffect + Concurrent Ability Support for Chained Abilities 2026-02-19 12:55:37 -05:00