Commit Graph
3470 Commits
Author SHA1 Message Date
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
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
Vidal 89e87b7656 Condition overhaul completed 2026-02-20 21:36:08 -03:00
somehussar a2e0bb50b9 Apparently the import got removed. 2026-02-21 00:27:31 +01:00
Kam 88dee1f544 Merge remote-tracking branch 'origin/dev' into dev 2026-02-20 18:17:11 -05:00
Kam f620e820e8 Dome, Panel Settings 2026-02-20 18:16:52 -05:00
somehussar 15486a1ea8 Merge remote-tracking branch 'upstream/dev' into dev 2026-02-21 00:04:33 +01:00
somehussar c121d0c4e2 Fix missing spawndata. 2026-02-21 00:03:48 +01:00
Vidal 09c2085270 Overhauled Condition system 2026-02-20 18:58:41 -03:00
Kam 14545818bd Fix Animation Syncing for Built in 2026-02-20 13:13:45 -05:00
Kam cb57e26d04 Modified Damage on Energy Projectile System 2026-02-20 03:51:11 -05:00
Kam a6265d7ba3 Forgot to Commit modifyProjectileDamage 2026-02-20 03:50:56 -05:00
Kam 4bd149c01b Check Barrier Collisions within Laser Shot 2026-02-20 03:50:41 -05:00
Kam bc9342c2eb Guard Ability now reflects it has Damage when it canCounter 2026-02-20 03:50:07 -05:00
Kam 5edc9b5047 Allow Externals to Modify Projectile Damage 2026-02-20 03:49:50 -05:00
Kam 44118ec770 Complete Ability Hud System + Added-Per-Ability Cooldown System to be Reflected in Hud and Hud GUI 2026-02-20 03:47:12 -05:00
Kam 877fe2b275 Fix Conditions Build Error 2026-02-20 03:33:58 -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 077fc3cb1d Better Telegraph Tracking 2026-02-20 02:16:40 -05:00
Kam 5e24a0cf36 Fixed Dazed Handling 2026-02-20 02:16:26 -05:00
Kam 0d871b16bf Line of Sight Handling for Cutter and Heavy Hit 2026-02-20 02:16:07 -05:00
Kam 1f31ae94c1 Charge and Slam Fixes 2026-02-20 02:15:51 -05:00
Kam 549dfaa1b9 Merge remote-tracking branch 'origin/dev' into dev 2026-02-20 01:59:46 -05:00
Kam fc8e2e9e7f Create Ability Hud Editor and Remove Ability Wheel. 2026-02-20 01:59:01 -05:00
Vidal d9b63038dd Ability Conditions overhaul WIP 2026-02-19 23:32:50 -03:00
Kam 8f76e007e4 1.11 Beta 5 2026-02-19 20:08:00 -05:00
Vidal 2929b0b37a Updated 2026-02-19 21:58:38 -03:00
Vidal eca9cd9d16 Merge remote-tracking branch 'origin/dev' into dev 2026-02-19 21:41:14 -03:00
Vidal 9ec0f767a6 Ability Hotbar changes 2026-02-19 21:40:36 -03:00
Kam d397cabd51 Merge remote-tracking branch 'origin/dev' into dev 2026-02-19 19:28:11 -05:00
Kam f7d0fbcf33 Rendering Fixes and Logic Fixes for all Energy Abilities 2026-02-19 19:27:56 -05:00
Kam 235722fb3a Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2026-02-19 16:11:36 -05:00
Kam bb7791c691 Fix Textfield 2026-02-19 16:11:34 -05:00
Kam 024718e7f4 - Fix Sub GUI interactions for Built-In Abilities
- Allow Status Effect Selection from DBC Addon End
2026-02-19 15:39:06 -05:00
Kam a94219cd0d Fix Some GUI Saving Bugs in Abilities and Chained Abilities 2026-02-19 14:57:10 -05:00
Vidal 755a9313e4 Merge remote-tracking branch 'origin/dev' into dev 2026-02-19 16:20:23 -03:00
Vidal 45eee2be66 Custom Effect changes 2026-02-19 16:20:13 -03:00
Kam 69568160bc Fixes with GUI for Picking Abilities and Allow Concurrency on DBC Toggles and Zone Abilities 2026-02-19 14:09:29 -05:00
Kam e54a9a83bb Create IAbilityEffect + Concurrent Ability Support for Chained Abilities 2026-02-19 12:55:37 -05:00
Kam 1e45d96253 Fix DBC Flying Issue with Abilities 2026-02-19 03:12:59 -05:00
Kam 6fdf9daf24 Add Max to Energy Entities to prevent any long-term issues / errors 2026-02-19 02:14:34 -05:00
Kam e330b517a8 Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2026-02-19 01:53:41 -05:00
Kam ff54c6d9af Enhance Textfield to allow CTRL Operations 2026-02-19 01:53:26 -05:00
Kam 0e4afecf1d Fix Burst For Projectiles 2026-02-19 01:52:21 -05:00
Kam 53185b4833 Merge remote-tracking branch 'origin/dev' into dev 2026-02-19 01:37:53 -05:00
Kam c3e4e2b54f Fix Textfield 2026-02-19 01:37:45 -05:00
Kam e91fe89e6a Add Inner Alpha Handling 2026-02-19 01:35:21 -05:00
Kam e5fc58366b Fix Death Ability Bug 2026-02-18 23:16:01 -05:00