bigguy345
eecb5b0b3b
ScriptHandler refactor:
...
- ScriptHandler now holds a list of containers
- Delegated single container handling to SingleScriptHandler
IScriptHandler refactor:
- Moved ScriptContext/Hook logic to it
- More default methods + hooked them to GuIScriptInterface
2026-01-18 17:50:04 +02:00
bigguy345
86285ceff5
- New JaninoScriptHandler thats a concrete IScriptHandler impl and replaces JaninoScriptable
...
- Removed ScriptHandler based methods from JaninoScript
2026-01-18 03:26:31 +02:00
bigguy345
f829926f00
New ScriptHandler, which is an abstract IScriptHandler implementation
2026-01-18 03:19:30 +02:00
bigguy345
cda43fe67a
Defaulted IScriptHandler methods to clean up duplicate code across implementations
2026-01-18 03:05:02 +02:00
bigguy345
68bc02a5d4
Removed SingleScriptHandler
2026-01-18 03:01:55 +02:00
bigguy345
f6e589ac67
temp SingleScriptHandlers tuff
2026-01-15 04:13:59 +02:00
bigguy345
d17534120b
Merged GuiJaninoScript with GuiScriptInterface and moved usages
2026-01-14 03:41:24 +02:00
bigguy345
54d0fe2b1b
Very first implementation of JaninoNpcScript
2026-01-14 00:24:38 +02:00
bigguy345
cc0959dcfe
Added run(EnumScriptType, Event) and
...
run(String, Event) methods to IScriptUnit interface, with JaninoScript
delegating to callByHookType(). This provides a cleaner abstraction that
supports both ScriptContainer and JaninoScript without type checking.
Affected files:
- IScriptUnit: Added run() methods to interface
- JaninoScript: Implemented run() delegation methods
- DataScript, PlayerDataScript, GlobalNPCDataScript, ForgeDataScript
- EffectScript, LinkedItemScript, RecipeScript
- ScriptCustomItem, TileScripted: Refactored to use polymorphic calls
2026-01-14 00:16:58 +02:00
bigguy345
cd60a03544
Moved all INpcScriptHandler implementations to IScriptHandler as its redundant
2026-01-13 23:45:14 +02:00
bigguy345
73db727c47
Deleagted all ScriptContainer NBT based creation to IScriptUnit.createFromNBT
2026-01-13 22:16:51 +02:00
bigguy345
cd92c340c7
resolved merge conflicts with dev
2026-01-13 18:25:37 +02:00
bigguy345
c3e032dcf2
Abstracted ScriptContainer & JaninoScript to IScriptUnit + global implementation
2026-01-13 18:25:28 +02:00
bigguy345
88d43f8199
Merge branch 'dev' into janino-scripts
...
# Conflicts:
# repositories.gradle
2026-01-13 18:18:06 +02:00
Kam
63c704f80a
Fix Compile
2026-01-12 05:55:49 -05:00
Kam
ff5ce2f556
Add Ability Hooks to NPCs
2026-01-11 20:35:53 -05:00
Kam
11808df036
Script Hook Handler
2026-01-11 17:15:13 -05:00
bigguy345
fb0332e5cf
Merge branch 'dev' into janino-scripts
2026-01-10 00:19:14 +02:00
bigguy345
60af203165
Renamed to moveFromGlobalToLocal
2026-01-05 20:32:18 +02:00
bigguy345
e8ef60deb4
Important IAnimation takeTasksFrom global instance in AnimationController to local instance in entity AnimationData
2026-01-05 20:25:34 +02:00
bigguy345
db0aa94a3a
IAnimation instead of Animation
2026-01-05 20:17:55 +02:00
bigguy345
eb660b38ae
Added IAnimation consumers to API
2026-01-05 17:14:45 +02:00
bigguy345
68681931f8
Animation Data Store (for cross event/frame data handling)
2026-01-05 16:53:58 +02:00
bigguy345
a33acee117
Added Animation task consumers (much better than animation events)
2026-01-05 16:49:48 +02:00
Kam
cb0b18310a
Merge remote-tracking branch 'origin/claude/fix-quest-cooldown-timer-hoXkh' into dev
2026-01-02 00:08:42 -05:00
Claude
1d191413fb
Fix quest cooldown not working for MCCUSTOM and RLCUSTOM types
...
The canQuestBeAccepted() method was missing cases for MCCUSTOM and
RLCUSTOM repeat types, causing quests with custom cooldowns to become
permanently inaccessible after first completion. Added the missing
checks using quest.customCooldown for both MC ticks and real-life
milliseconds.
2026-01-02 03:58:52 +00:00
Kam
592a910cbc
Add some more Attack Speed Handling
2025-12-30 19:29:44 -05:00
Kam
2065d5dde5
Merge branch 'mount-movement-fix' into dev
2025-12-30 17:49:27 -05:00
bigguy345
a9bfa6c120
ScriptController.globalRevision, Incremented whenever external scripts loaded.
2025-12-15 20:05:40 +02:00
bigguy345
a8b3c0b8d4
All external scripts of type "Java" are now synced to client on login/script reload
2025-12-15 10:28:17 +02:00
bigguy345
8a2ba6ae4e
Added new Script language "Java" with extension type ".java"
2025-12-14 22:15:56 +02:00
bigguy345
818c62bdf9
Added ScriptFilesPacket, which fetches all files of a given language
2025-12-14 22:15:20 +02:00
bigguy345
0a47eb953e
Merge remote-tracking branch 'refs/remotes/upstream/dev' into janino-scripts
2025-12-14 21:48:22 +02:00
bigguy345
18ebc607b7
Made ScriptController.languages final
2025-12-14 21:41:21 +02:00
somehussar
f8dc8d9268
Basic NPC Wrapper
2025-12-09 08:11:34 +01:00
lonewolf8351
0b2bf5fd04
added attack speed parameter to linked Items
2025-12-03 13:44:56 -05:00
Kam
9744209938
Refactor mount helpers and expose NPC flight state
2025-11-07 20:15:49 -05:00
Kam
db09c9a44f
Handle null results in conditional actions
2025-10-31 17:57:13 -04:00
bigguy345
111f16647d
ActionManager.scheduleParallel not feeding name arg properly
2025-10-15 23:09:20 +03:00
Kam
b6b4b20ba8
Prevent NPE when party leader name missing
2025-07-28 13:27:57 -04:00
Kam
9c541999f3
Optimize Imports
2025-07-23 14:22:52 -04:00
Kam
15dee0e5b8
Merge pull request #188 from KAMKEEL/codex/find-and-fix-memory-leak-issues
...
Fix memory leaks by closing streams
2025-07-23 05:44:27 -04:00
Kam
540508a2be
Fix memory leaks by closing streams
2025-07-23 05:43:50 -04:00
Kam
b60d6f8eb5
Fix Logging
2025-07-23 05:13:11 -04:00
Kam
bacfb5eba0
Create First Push of Recipe Events
2025-07-09 15:40:31 -04:00
Kam
1b76f1ab7e
IActionListener Comments
2025-07-08 16:34:34 -04:00
Kam
131815ff06
Oof
2025-07-08 14:38:51 -04:00
bigguy345
994cadfc3b
IActionListener W.I.P
2025-07-08 21:31:55 +03:00
bigguy345
91dc56bf87
Moved NpcAPI.actionManager to ActionManager.GLOBAL
2025-07-08 14:34:39 +03:00
bigguy345
70f0ab1e6f
ActionQueue.stopWhenEmpty
2025-07-08 14:22:49 +03:00