Commit Graph
3659 Commits
Author SHA1 Message Date
Claude d06e680350 Fix attack speed formula to check elapsed time properly
Instead of blindly resetting hurtResistantTime for fast weapons, now
checks if enough time has elapsed based on the weapon's attackSpeed:
- timeElapsed = maxHurtResistantTime - hurtResistantTime
- Allow attack when: hurtResistantTime <= maxHurtResistantTime - attackSpeed

Example: attackSpeed=10, maxHurtResistantTime=20
- Allows attack when hurtResistantTime <= 10 (10 ticks elapsed)
2025-12-31 00:52:06 +00:00
Claude 185a8bc917 Move hurt resistant time handling from LivingHurtEvent to LivingAttackEvent
- Remove legacy attack speed handling from ServerEventsHandler.LivingHurtEvent
  (was setting hurtResistantTime AFTER immunity check, too late)
- Add proper handling in ScriptPlayerEventHandler.LivingAttackEvent
  (sets hurtResistantTime=0 BEFORE immunity check for fast weapons)
- For weapons with attackSpeed < 20, bypass invincibility frames to allow
  rapid attacks to land
2025-12-31 00:45:26 +00:00
Kam ce8e38b6bd Update ScriptPlayerEventHandler.java 2025-12-30 19:41:02 -05:00
Kam 592a910cbc Add some more Attack Speed Handling 2025-12-30 19:29:44 -05: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 2065d5dde5 Merge branch 'mount-movement-fix' into dev 2025-12-30 17:49:27 -05:00
bigguy345 358fd7e643 Unresolved object class types are now UNDEFINED 2025-12-22 21:19:26 +02:00
bigguy345 f785b034ff Implemented PackageFinder.find in ClassPathFinder 2025-12-22 21:05:23 +02:00
bigguy345 a77b550b21 Properly package index on FMLLoadCompleteEenet 2025-12-22 21:04:59 +02:00
bigguy345 242d9fa1cb crazy PackageFinder 2025-12-22 20:40:12 +02:00
bigguy345 c13faca8ae Huge import detection logic rewrite plus optimisations 2025-12-22 20:33:45 +02:00
bigguy345 e0d3226945 Fully functional syntax highlight of classes resolved from import wildcards i.e. import java.util.*
List<String> list
2025-12-22 18:45:54 +02:00
bigguy345 0d03871444 Fixed last dot in import "impot java." breaking syntax highlight 2025-12-22 17:56:37 +02:00
bigguy345 83f45fe6b8 Fixed imports not resolving
if wrapped to new line
2025-12-22 17:39:56 +02:00
bigguy345 01e2c354d5 Adjusted OverlayKeyPreset to fullscreen mode 2025-12-22 16:31:12 +02:00
bigguy345 26ed55ceb5 Corrected minimise icon 2025-12-22 16:06:20 +02:00
bigguy345 22ce3d0a1a Text editor gray BG accounts for full screen 2025-12-22 15:53:14 +02:00
bigguy345 cf4c97fdf0 Alligned top buttons and full screen button properly 2025-12-22 15:52:52 +02:00
bigguy345 8e9087246c Full screen script editor lol 2025-12-22 15:06:54 +02:00
bigguy345 b9691676df Changed default key presets 2025-12-22 14:38:01 +02:00
bigguy345 1a1c2af548 Improved KeyPreset overlay dimensions and colorsfor GuiScriptTextArea 2025-12-22 14:37:08 +02:00
bigguy345 976bb9af49 More OverlayKeyPreset improvements 2025-12-22 14:20:52 +02:00
bigguy345 0dcd02c5a0 Slight OverlayKeyPreset logic improvements 2025-12-22 13:51:57 +02:00
bigguy345 f0740c6d7a Added openOnClick for OverlayKeyPreset 2025-12-22 13:43:58 +02:00
bigguy345 6012c103a6 Fixed search bar window resize buggin with replace bar open 2025-12-22 13:28:25 +02:00
bigguy345 85f8baeda5 wtf 2025-12-22 03:44:48 +02:00
bigguy345 b9ebaa3292 Fixed TAB + BACKSPACE bug again 2025-12-22 03:39:22 +02:00
bigguy345 d2bc98a4c1 Fixed CTRL+D crash 2025-12-22 03:34:21 +02:00
bigguy345 8220bbd327 Changed to just Rename 2025-12-22 03:12:17 +02:00
bigguy345 6aebcfc63c Fixed tab/backspace crash 2025-12-22 03:11:45 +02:00
bigguy345 3fb3b1dad3 Commented out RenameRefactor status box (unneeded) 2025-12-22 03:05:42 +02:00
bigguy345 2e8b96fe3a recursively changed object fields like player.world.field1.field2... so they all highlight as GLOBAL_FIELD 2025-12-22 03:01:55 +02:00
bigguy345 e7c7816e0c Implemented GuiScriptInterface changes to GuiScript too 2025-12-22 02:45:51 +02:00
bigguy345 c30fb77eb6 Made searchBar static and setCallbacks in init not constructor 2025-12-22 02:39:48 +02:00
bigguy345 b23bf333d9 Changed List to Map 2025-12-22 02:39:09 +02:00
bigguy345 a1e7a7ee9f Improved undo/redo for new cached multi-tab script areas 2025-12-22 02:22:27 +02:00
bigguy345 0e3b0f047a Cached all GuiScriptTextArea tabs of GuiScriptInterface (fixes all tabs sharing the same undo/redo lists and other similar undesired behaviors) 2025-12-22 02:22:01 +02:00
bigguy345 51aca95590 Fixed indent highlight being on the wrong braces block when braces are highlighted 2025-12-22 01:10:24 +02:00
bigguy345 292c695eb6 Changed default TYPE_DECL to UNDEFINED 2025-12-22 00:29:24 +02:00
bigguy345 bef83f9ddb String Capital <- Capital now treated as local field (previously uppercase were left as default, only lowercase) 2025-12-22 00:20:21 +02:00
bigguy345 05ef31e29e IMPORTS ARE FINALLY FULLY FUNCTIONAL 2025-12-21 23:52:35 +02:00
bigguy345 ee33c0f69a More fixes? 2025-12-21 23:33:56 +02:00
bigguy345 5714d89c41 imports functional state? (not really) 2025-12-21 23:08:44 +02:00
bigguy345 1b0ce874bb Holy shit IMPORTS ACTUALLY RESOLVE/ERROR DEPENDING ON VALID CLASS PATH 2025-12-21 20:38:42 +02:00
bigguy345 5508ea26ea Dynamically changed color of imported class/type declarations depending on its type (class/enum/interface) 2025-12-21 19:24:26 +02:00
bigguy345 8506239d93 Added syntax highlighting for:
- Class/Enum/Interface type blocks
   - Imports
   - Imported class calls (i.e Math.min())

Stored all imported packages/classes
2025-12-21 18:38:04 +02:00
bigguy345 96e37341c7 Fixed bug:
//comment
List<String> str

where List<String> wasnt syntax highlighted
2025-12-21 17:34:26 +02:00