Commit Graph
3314 Commits
Author SHA1 Message Date
Claude f5deb8a823 Fix Bard music restarting/duplicating when opening dialogs
Two issues were causing the bug:
1. GuiDialogInteract.close() called stopAllSounds() unconditionally,
   which stopped Bard music even when the dialog had no sound or
   when a different Bard was playing nearby.

2. MusicController.stopMusic() didn't set playDelay, allowing Bards
   to immediately restart their music after dialog close.

Changes:
- MusicController.stopMusic() now sets playDelay=20 and clears entity
  reference to prevent immediate music restart
- Added MusicController.stopSound(key) to stop specific sounds
- Dialog GUIs now track their dialog sound and only stop that on close,
  preserving Bard music and other sounds
2026-01-02 03:54:19 +00:00
Kam 8dad290486 Merge branch 'claude/fix-mount-movement-jitter-7JrfX' into dev 2025-12-30 18:21:38 -05:00
Claude de8c317023 Add mount edge case handling for dismount scenarios
- Player logout: Dismount from NPC mount before logout to prevent
  orphaned mount state (ServerTickHandler)
- Teleportation: Dismount before cross-dimension teleport to prevent
  mount being left behind in old dimension (NoppesUtilPlayer)
- Dead rider: Validate rider is alive, dismount dead/invalid riders
  to prevent stuck mount state (NPCMountUtil)
- Role disable: Dismount rider when mount role is disabled to prevent
  mounted player on non-mount NPC (RoleMount)
2025-12-30 23:20:54 +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
Claude 370abd2f94 Fix Player Data search functionality bugs
- Fix category search logic for Quest/Dialog/Transport tabs that was
  incorrectly checking selectedCategory.isEmpty() before filtering,
  which cleared the category list instead of filtering it
- Add resetScroll() calls to all search methods so scroll position
  resets when search results change
2025-12-30 23:04:32 +00:00
Kam f3d39abfaf Merge branch 'dev' 2025-12-30 17:50:36 -05:00
Kam de094ea0a2 1.10.3 Setting 2025-12-30 17:50:29 -05:00
Kam 2065d5dde5 Merge branch 'mount-movement-fix' into dev 2025-12-30 17:49:27 -05:00
PeTcHeNkA 63ca8da22c check: throw GradleException if api folder is not exist 2025-12-20 02:43:42 +03:00
somehussar e767f4f46c Fix Party Crash 2025-12-19 20:39:54 +01:00
bigguy345 2c91cd4286 oops 2025-12-15 17:46:46 +02:00
bigguy345 e5e897ab1e Completely remove CustomNPC-Plus/src/api submodule 2025-12-15 17:33:58 +02:00
bigguy345 c291ab174f Made npc left/right leg model access public 2025-12-14 13:36:58 +02:00
bigguy345 c1cd8b0386 public EntityCustomNpc npc field to ModelMPM 2025-12-14 13:36:37 +02:00
bigguy345 93e6a92b59 Made GuiNpcButtons with multiple displays i.e ("Hair","Eyes","Fur")
right clickable to select in reverse
2025-12-09 17:46:07 +02:00
bigguy345 ddee62f2ce API 2025-12-09 15:01:19 +02:00
bigguy345 7adbdd30e4 More GUI NPC rendering improvements 2025-12-09 15:01:01 +02:00
bigguy345 27de3c77a4 Hooked renderingEntityInGUI accordingly 2025-12-09 13:45:38 +02:00
bigguy345 00ea0200c4 Fixed GuiScrollWindow scrolling when a subgui is open 2025-12-09 13:45:07 +02:00
bigguy345 06483566cf Improved GuiTextureSelection 2025-12-09 13:44:42 +02:00
bigguy345 cca69d8e1d Added GUI NPC rendering utilities 2025-12-09 12:49:40 +02:00
bigguy345 0ef48c5477 Better fix for ESC closing all sub guis at once 2025-12-09 11:12:30 +02:00
bigguy345 1337aba841 Added GuiTextureSelection.setLocation 2025-12-09 11:11:32 +02: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
lonewolf8351 0b2bf5fd04 added attack speed parameter to linked Items 2025-12-03 13:44:56 -05:00
lonewolf8351 c3651fd6f7 Merge remote-tracking branch 'origin/dev' into dev 2025-12-03 13:43:33 -05:00
lonewolf8351 bdf3791e38 Added setHurtTime function to IEntityLivingBase 2025-12-03 13:43:11 -05:00
Kam ee413c31b9 Improve mount client sync and flight speed scaling 2025-11-13 19:54:10 -05:00
Kam b13be2969a 1.10.3 2025-11-13 16:47:20 -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 6c84263769 Update GuiNpcMount.java 2025-11-07 16:11:44 -05:00
Kam 6ff4814983 Fix Bow Rendering positioning for Compat with Mixins 2025-11-06 14:49:36 -05:00
Kam 9a4b04ddf0 Merge pull request #230 from KAMKEEL/add-mount-enumroletype-for-npcs
Add mount NPC role with rider controls
2025-11-06 02:36:25 -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 082d22ba6e Syncing Issues 2025-11-05 17:33:24 -05:00
Kam 3009c97bc9 Close On Esc Support 2025-11-05 17:25:14 -05:00
Kam 179199a6bf Merge pull request #229 from KAMKEEL/implement-cache-build-on-server-started
Scope sync cache rebuild to server load
2025-11-05 17:23:35 -05:00
Kam 5e8e004ef6 Scope sync cache rebuild to server load 2025-11-05 17:23:21 -05:00
Kam a7100daa77 Merge pull request #228 from KAMKEEL/fix-quest-and-dialog-syncing-issues
Reset sync caches between worlds
2025-11-05 16:52:59 -05:00
Kam b47a2bc1d2 Reset sync caches between worlds 2025-11-05 16:52:38 -05:00
Kam 323a0c454a Fix Player Data Buttons 2025-11-05 15:56:46 -05:00
Kam d6a2d42fe7 Merge pull request #227 from KAMKEEL/fix-bug-with-book-interaction-in-customnpc+
Fix SaveBookPacket server handling crash
2025-11-01 04:19:51 -04:00
Kam 3f0b93a2d2 Fix server handling for SaveBookPacket 2025-11-01 04:19:39 -04:00
Kam 1e190d7470 Merge pull request #226 from KAMKEEL/fix-server-crash-from-null-conditional-actions
Prevent crashes when conditional actions return null
2025-10-31 17:57:27 -04:00