Commit Graph
1284 Commits
Author SHA1 Message Date
Kam a0de82b8e4 Merge branch 'claude/fix-npc-spawn-biomes-hPE8Q' into dev 2026-01-03 15:55:31 -05:00
Claude f6114dfa5e Fix NPC biome spawn settings not persisting after editing
When users modified biomes, dimensions, or spawning options through the
sub-GUI dialogs, changes were only stored in client memory and never sent
to the server. This caused spawn configurations to appear correct in the
UI but fail to work after server restarts.

The closeSubGui() method now calls save() when SubGuiNpcBiomes,
SubGuiNpcDimensions, or SubGuiSpawningOptions dialogs close, ensuring
changes are immediately sent to the server via NaturalSpawnSavePacket.

Added @Override annotation for consistency with other GUI classes.
2026-01-02 09:50:28 +00:00
Kam 6cc78a62aa Merge branch 'claude/fix-bard-music-dialog-bug-Rm8DP' into dev 2026-01-02 00:09:38 -05:00
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 07a10b8414 Remove this 2026-01-01 22:35:32 -05: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 2065d5dde5 Merge branch 'mount-movement-fix' into dev 2025-12-30 17:49:27 -05: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 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
lonewolf8351 0b2bf5fd04 added attack speed parameter to linked Items 2025-12-03 13:44:56 -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 bed60002c3 Restrict mount riders and expose jump controls 2025-11-06 02:14:11 -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 3009c97bc9 Close On Esc Support 2025-11-05 17:25:14 -05:00
Kam 323a0c454a Fix Player Data Buttons 2025-11-05 15:56:46 -05:00
Kam faf1019ed1 Merge pull request #220 from KAMKEEL/codex/optimize-player-sync-performance-0c9js2
Add debug logging toggle for sync controller
2025-10-27 14:59:43 -04:00
Kam 58437e0bbf Add ranged invincibility toggle for NPC projectiles 2025-10-21 17:52:48 -04:00
Kam e73b5f3897 Ensure server identity changes trigger full sync 2025-10-19 22:28:03 -04:00
Kam b25f2b786e Add debug logging toggle for sync flow 2025-10-19 22:06:11 -04:00
Kam 3ca8b9664b Clamp selection bounds in script text area 2025-10-15 06:28:43 -04:00
Kam 3d0c814861 Fix Recipe Button Layout 2025-10-06 15:24:19 -04:00
Kam 065cfb152e Restore Name 2025-08-27 15:48:10 -04:00
Kam d0923752ba Fix key binding conflict with TinkersConstruct 2025-08-26 04:24:16 -04:00
Kam 9c541999f3 Optimize Imports 2025-07-23 14:22:52 -04:00
Kam 61dc056735 Fix some Render handling 2025-07-23 14:17:21 -04:00
Kam f1b4f90b41 Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2025-07-23 14:04:05 -04:00
Kam cae3d4ca2b Fix Player Data Remove 2025-07-23 14:04:03 -04:00
Kam 7d0b44d638 fix StringIndexOutOfBounds in GuiScriptTextArea 2025-07-23 13:52:48 -04:00
Kam 9b3c8031e7 Merge pull request #189 from KAMKEEL/codex/fix-sound-duplication-issue-with-bard-npc
Fix bard sound duplication
2025-07-23 05:46:42 -04:00
Kam 297b19b2e5 fix: prevent bard song duplication 2025-07-23 05:46:24 -04:00
Kam 540508a2be Fix memory leaks by closing streams 2025-07-23 05:43:50 -04:00
Kam 2cd06193c2 Fix Outline 2025-07-09 22:26:25 -04:00
Kam 62e11d8caa Show recipe banner with overlay 2025-07-09 21:35:27 -04:00
Kam 5fdb507784 Update GuiScriptRecipe.java 2025-07-09 16:01:05 -04:00
Kam bacfb5eba0 Create First Push of Recipe Events 2025-07-09 15:40:31 -04:00
Kam fd43cd6b67 Fix Tooltip 2025-07-07 14:22:27 -04:00
Kam 9e6f341d77 Fix biome collection bug and add spawn GUI tooltip 2025-07-07 06:30:37 -04:00