Commit Graph
202 Commits
Author SHA1 Message Date
KAMKEEL 3dfcf7764a Log client interpolation state alongside the hitbox probe 2026-08-11 15:38:55 -04:00
KAMKEEL 1a1871f803 Keep the hitbox logging from forcing a chunk load during entity load 2026-08-11 15:16:33 -04:00
KAMKEEL 277c056417 Add temporary hitbox logging for the npc clipping investigation 2026-08-11 15:11:57 -04:00
KAMKEEL c634c4bd35 Revert "Refresh block bounds before reading a collision box so top slabs report the right height"
This reverts commit 715b38e694.
2026-08-11 15:09:59 -04:00
KAMKEEL 715b38e694 Refresh block bounds before reading a collision box so top slabs report the right height 2026-08-11 14:59:09 -04:00
KAMKEEL 9ff4b8ae16 Nudge npcs out of blocks they grow into when the hitbox changes 2026-08-11 12:53:08 -04:00
KAMKEEL 605907681c Return npcs to their start position when they fall out of the world 2026-08-11 12:29:56 -04:00
KAMKEEL 0829b6285f Update EntityNPCInterface.java 2026-08-11 02:17:28 -04:00
Kam 676c0626d1 Fix Some Bounding Box Issues!!!!! 2026-03-09 19:56:25 -04:00
Kam e57fab9160 Mixin Entity Packet Loss Fixer for Server-Side Logic 2026-03-08 19:49:44 -04:00
Kam 8c8815dc45 Various Changes / Health Preservation to Request Spawn Data 2026-03-04 20:56:06 -05:00
Kam 88d8af8b96 Revert "Crazy Logging for Health Spam Debugging"
This reverts commit a981060e9e.
2026-03-04 17:28:23 -05:00
Kam a981060e9e Crazy Logging for Health Spam Debugging 2026-03-04 16:05:09 -05:00
Kam b49316d9bb Counter, Dodge, Guard Abilities 2026-03-01 00:09:57 -05:00
Kam 37b38daa00 Improved Natural Despawn Handling PR 4 - Natural Spawns 2026-02-23 05:44:45 -05:00
Kam 20dc8e0efc Fix Flying Gravity Syncing Issue 2026-02-23 04:11:07 -05:00
Kam ec60a9bb21 Request Client Packet Fix NPC [Invisibility Patch] 2026-02-22 18:24:36 -05:00
Kam 0f00bd6ba3 Why 2026-02-22 17:16:23 -05:00
Kam 57528f9590 Disable Request Spawn Data 2026-02-22 16:57:49 -05:00
Kam 3de8cd49b6 Better Filename Handling for Abilities, Dash Directional Improvements, Fixed Duplicate Ability Name Handling 2026-02-22 16:33:01 -05:00
Kam 18968bf7c7 Fix Firing Energy Projectiles and Make Charging State purely visual 2026-02-22 03:07:37 -05:00
somehussar a2e0bb50b9 Apparently the import got removed. 2026-02-21 00:27:31 +01:00
somehussar c121d0c4e2 Fix missing spawndata. 2026-02-21 00:03:48 +01:00
Kam 2a1a5643d3 Potion Effect System + Manual and Remove Bulk 2026-02-14 04:04:13 -05:00
Kam d76f5d40a4 Prevent Passive Factions from taking Damage 2026-02-08 01:46:13 -05:00
Kam af02b0ab1d Various Fixes 2026-02-06 16:28:38 -05:00
Kam 55cd8cc5b3 Fix Rotation Locking 2026-02-06 03:34:45 -05:00
Kam 45a4313b70 Enhance ability system with position locking and duplicate name confirmation for presets 2026-02-04 21:50:39 -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 38c0519c0a Refactor to Cleaner Class Setup 2026-01-29 14:19:57 -05:00
Kam d6d29613e8 Lock View Rotation 2026-01-26 19:03:48 -05:00
Kam a9b602713c Large Cleanup to Code Imports and Formatting 2026-01-22 23:07:38 -05:00
Kam 384b61832d Hitbox Fixes 2026-01-19 16:29:24 -05:00
Kam 166c8aa228 Ability Push 2026-01-09 15:29:00 -05:00
Claude 9b654621e8 Add attack speed check to NPC's attackEntityFrom before immunity check
The LivingAttackEvent handler was firing too late for NPCs because
EntityNPCInterface.attackEntityFrom() has its own immunity check that
runs BEFORE calling super (which fires LivingAttackEvent).

Now the attack speed bypass is checked directly in the NPC's
attackEntityFrom() method, before the immunity check at line 658.
2025-12-31 01:00:33 +00:00
Claude 096c9b0a69 Fix mount movement jitter by following vanilla horse/boat sync pattern
- Remove all velocityChanged=true flags from mount movement code
  (NPCMountUtil, EntityNPCInterface, EntityNPCFlying)
- Make performMountedMovement physics server-side only like vanilla horse
- Remove syncMountedRiderVelocity method that forced rider velocity packets
- Fix ground movement to not reset motionY every tick
- Let Minecraft's entity tracker handle position sync naturally

The jitter was caused by S12PacketEntityVelocity being sent every tick,
which constantly reset client interpolation. Vanilla horses/boats never
set velocityChanged and rely on the entity tracker for smooth sync.
2025-12-30 23:06:16 +00:00
google-labs-jules[bot] 000cefdab9 Fix mount movement sync and speed issues
- Remove server-side check for setAIMoveSpeed to fix client prediction desync on ground mounts
- Increase air strafe factor for flying mounts to match ground speed feel
2025-12-06 01:27:27 +00:00
Kam ee413c31b9 Improve mount client sync and flight speed scaling 2025-11-13 19:54:10 -05:00
Kam c33ac04d11 Refine mount GUI layout and flight handling 2025-11-07 22:44:22 -05:00
Kam 9744209938 Refactor mount helpers and expose NPC flight state 2025-11-07 20:15:49 -05:00
Kam f65662efaf Preserve airborne momentum when mounts dismount riders 2025-11-06 02:34:47 -05:00
Kam bed60002c3 Restrict mount riders and expose jump controls 2025-11-06 02:14:11 -05:00
Kam b035f4e188 Smooth mount steering and halt dismount drift 2025-11-06 02:00:55 -05:00
Kam 1754aa536a Fix mount rider jump handling 2025-11-06 01:43:00 -05:00
Kam d00c1cf156 Refine mount role rider positioning and home behavior 2025-11-06 01:42:55 -05:00
Kam 11e326de48 Add mount role for NPCs with rider controls 2025-11-06 00:20:22 -05:00
Kam 3d9b54ef5b Fix NPC hitbox scaling for large sizes 2025-10-20 14:41:45 -04:00
Kam 9c541999f3 Optimize Imports 2025-07-23 14:22:52 -04:00
bigguy345 f100fb0ab1 Fixed NPC Target and TargetLost events firing redundantly 2025-07-05 11:44:29 +03:00
bigguy345 e0c9bfffa5 Fixed updateEveryXTicks being inconsistent due to using entity's ticksExisted. IAction instances now track their own tick 2025-07-03 18:29:53 +03:00