bigguy345
45cda3cc90
Merge branch 'dev' into syntax-highlighter-unified
2026-03-09 07:37:50 +02:00
Kam
7712b21faa
Fix Instance Scripts
2026-03-09 01:21:39 -04:00
Kam
476c6724b9
Merge branch 'dev' into syntax-highlighter-unified
...
# Conflicts:
# gradle-plugins~dev
2026-02-04 17:52:43 -05:00
Kam
83b86a4538
Fix Scripting Config Syncing Issues & Fixed Auction Tooltip Rendering Bugs
2026-02-04 16:16:43 -05:00
bigguy345
6d62a44be5
getHookTypes is now cached imports based
2026-01-23 20:12:18 +02:00
bigguy345
190fa5431f
HookDefinition requiredImports now has both enclosed type & enclosing type i.e "IPlayerEvent" & "IPlayerEvent.UpdateEvent"'
...
Cached all collected imports in JaninoScript
2026-01-23 20:11:26 +02:00
bigguy345
96239118e7
OMG janino-scripts-final merge
2026-01-23 19:01:56 +02:00
Kam
a9b602713c
Large Cleanup to Code Imports and Formatting
2026-01-22 23:07:38 -05:00
Kam
d560c23241
@ParamName support for Hook Definitions in Overlay Scripts
2026-01-22 22:01:13 -05:00
Kam
db64928f18
Merge branch 'janino-kam' of https://github.com/KAMKEEL/CustomNPC-Plus into janino
2026-01-22 20:53:54 -05:00
Kam
0f1a6028f3
Event Janino Script
2026-01-22 20:53:48 -05:00
bigguy345
587d435a6f
Added removed methods
2026-01-23 03:27:40 +02:00
Kam
9c9bcc8228
Update JaninoScript.java
2026-01-22 20:17:37 -05:00
Kam
f8dc9ec1e4
Update JaninoScript.java
2026-01-22 19:43:05 -05:00
Kam
a7d58bfb4e
Re-Add Call Run
2026-01-22 19:38:04 -05:00
Kam
923c84e3fe
Cache Handle for O(1) lookups
2026-01-22 19:03:28 -05:00
Kam
ee593c62c0
No @ScriptHook needed anymore
2026-01-22 18:44:41 -05:00
Kam
bee4d18bc6
Hook Context
2026-01-22 17:59:03 -05:00
Kam
f4a5bbd1f6
Janino Kam
2026-01-22 17:28:12 -05:00
Kam
638c915965
Potential Fix to Usuable Type names
2026-01-22 16:59:13 -05:00
Kam
8da42e7b7c
Merge branch 'janino-scripts' of https://github.com/KAMKEEL/CustomNPC-Plus into janino-scripts
2026-01-22 16:24:53 -05:00
Kam
e6221c0940
Test Janino
2026-01-22 16:24:48 -05:00
bigguy345
a18292b8ed
Used dynamic janino compiler for server side script handlers
2026-01-22 22:29:26 +02:00
somehussar
73f0d4e441
Bought goatee some braincells
...
He lost his from AI usage.
2026-01-22 21:14:50 +01:00
bigguy345
af62868387
1. JaninoHookResolver
...
2. Janino reflection based function calls like:
Color script = scriptHandler.callFunction("getColor", Color.class, ctx);
Compared to current:
Color script = scriptHandler.getScript().call(f -> f.getColor(ctx));
2026-01-19 03:26:02 +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
a44cc4f1bb
Passed default imports to JaninoScript
2026-01-14 03:03:34 +02:00
bigguy345
26a9c99000
All Imports used in JaninoScript implementations (param types/return types) are now passed implicitly to ScriptDocument to store for when hook stubs are generated/hooks are manually added
2026-01-14 03:02:15 +02:00
bigguy345
165e3e2d14
Passed default imports to JaninoScript
2026-01-14 02:49:20 +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
73db727c47
Deleagted all ScriptContainer NBT based creation to IScriptUnit.createFromNBT
2026-01-13 22:16:51 +02:00
bigguy345
92cd894f39
Improved JaninoScript hook generation
2026-01-13 21:39:04 +02:00
bigguy345
c3e032dcf2
Abstracted ScriptContainer & JaninoScript to IScriptUnit + global implementation
2026-01-13 18:25:28 +02:00
bigguy345
b5df6b1709
Moved all janino classes to CNPC+ janino-scripts branch
2026-01-09 23:44:07 +02:00