Commit Graph

  • 44f71ddb81 Handled script language correctly for external script selector list + added forgotten singleContainer logic bigguy345 2026-01-18 04:04:17 +02:00
  • 86285ceff5 - New JaninoScriptHandler thats a concrete IScriptHandler impl and replaces JaninoScriptable - Removed ScriptHandler based methods from JaninoScript bigguy345 2026-01-18 03:26:31 +02:00
  • f829926f00 New ScriptHandler, which is an abstract IScriptHandler implementation bigguy345 2026-01-18 03:19:30 +02:00
  • cda43fe67a Defaulted IScriptHandler methods to clean up duplicate code across implementations bigguy345 2026-01-18 03:05:02 +02:00
  • 68bc02a5d4 Removed SingleScriptHandler bigguy345 2026-01-18 03:01:55 +02:00
  • f6e589ac67 temp SingleScriptHandlers tuff bigguy345 2026-01-15 04:13:59 +02:00
  • 23c44cc5d4 Refactor bigguy345 2026-01-14 03:52:04 +02:00
  • 2c2e13c2f7 Morea ScriptContainer -> IScriptUnit abstraction bigguy345 2026-01-14 03:50:47 +02:00
  • d17534120b Merged GuiJaninoScript with GuiScriptInterface and moved usages bigguy345 2026-01-14 03:41:24 +02:00
  • a44cc4f1bb Passed default imports to JaninoScript bigguy345 2026-01-14 02:49:20 +02:00
  • 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 bigguy345 2026-01-14 03:02:15 +02:00
  • 165e3e2d14 Passed default imports to JaninoScript bigguy345 2026-01-14 02:49:20 +02:00
  • 21e05575ad merge conflicts bigguy345 2026-01-14 00:30:25 +02:00
  • 0a33f7dd12 Merge branch 'janino-scripts' into syntax-highlighter-unified bigguy345 2026-01-14 00:28:11 +02:00
  • 54d0fe2b1b Very first implementation of JaninoNpcScript bigguy345 2026-01-14 00:24:38 +02:00
  • 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. bigguy345 2026-01-14 00:16:58 +02:00
  • cd60a03544 Moved all INpcScriptHandler implementations to IScriptHandler as its redundant bigguy345 2026-01-13 23:45:14 +02:00
  • 10b6ccf427 Converted to using IScriptUnit bigguy345 2026-01-13 22:35:54 +02:00
  • 73db727c47 Deleagted all ScriptContainer NBT based creation to IScriptUnit.createFromNBT bigguy345 2026-01-13 22:16:51 +02:00
  • fbcda09fe2 Used IScriptUnit hook stub generation bigguy345 2026-01-13 21:39:39 +02:00
  • 92cd894f39 Improved JaninoScript hook generation bigguy345 2026-01-13 21:39:04 +02:00
  • 275cca70c2 Redundant mouseClicked in GuiScript bigguy345 2026-01-13 20:59:54 +02:00
  • ba6c3e607c more bruh 2 bigguy345 2026-01-13 20:30:01 +02:00
  • 7b811bdea1 more bruh bigguy345 2026-01-13 19:16:58 +02:00
  • 8c8f37e75d more merge conflict resolution bigguy345 2026-01-13 19:13:31 +02:00
  • 1df05406c8 Imported temp place holders from syntax-highlighter-unified bigguy345 2026-01-13 19:08:29 +02:00
  • 6173e98998 merge conflict resolutioon bigguy345 2026-01-13 19:05:52 +02:00
  • fd0e20f364 Made ScriptContext class based instead bigguy345 2026-01-10 06:53:48 +02:00
  • 71dba15270 Add Script Context and better parsing for d.ts handling Kam 2026-01-09 22:59:13 -05:00
  • cd92c340c7 resolved merge conflicts with dev bigguy345 2026-01-13 18:14:38 +02:00
  • c3e032dcf2 Abstracted ScriptContainer & JaninoScript to IScriptUnit + global implementation bigguy345 2026-01-13 17:34:14 +02:00
  • 1372127266 GuiScript now extends GuiScriptInterface + Full screen support bigguy345 2026-01-12 03:56:22 +02:00
  • ca8285e23f Made these 3 detached GuiScripts depend on GuiScriptInterface bigguy345 2026-01-12 03:28:18 +02:00
  • 88d43f8199 Merge branch 'dev' into janino-scripts bigguy345 2026-01-13 18:18:06 +02:00
  • 95e7b3255e resolved merge conflicts with dev bigguy345 2026-01-13 18:14:38 +02:00
  • 83e11a05da Merge branch 'refs/heads/dev' into syntax-highlighter-unified bigguy345 2026-01-13 18:12:23 +02:00
  • 818acfb00b Abstracted ScriptContainer & JaninoScript to IScriptUnit + global implementation bigguy345 2026-01-13 17:34:14 +02:00
  • 0328be57eb Add BukkitUtil, VaultUtil for Future Economy Handling Kam 2026-01-12 12:50:08 -05:00
  • 63c704f80a Fix Compile Kam 2026-01-12 05:55:49 -05:00
  • ecf1b38763 GuiScript now extends GuiScriptInterface + Full screen support bigguy345 2026-01-12 03:56:22 +02:00
  • ff5ce2f556 Add Ability Hooks to NPCs Kam 2026-01-11 20:35:53 -05:00
  • 276465a175 Merge branch 'ability' into dev Kam 2026-01-11 20:35:45 -05:00
  • 4311931f25 Made these 3 detached GuiScripts depend on GuiScriptInterface bigguy345 2026-01-12 03:28:18 +02:00
  • 11808df036 Script Hook Handler Kam 2026-01-11 17:15:13 -05:00
  • cc94773845 Merge pull request #250 from KAMKEEL/review-ability-system-variables-in-custom-npc+ Kam 2026-01-11 16:05:00 -05:00
  • 828e99d427 Revise ability logic and configs Kam 2026-01-11 16:04:49 -05:00
  • 3ef16fb2ab submodules bigguy345 2026-01-11 17:03:00 +02:00
  • 3dc56aba06 Update api Kam 2026-01-10 23:06:39 -05:00
  • a0184206bf Update api Kam 2026-01-10 23:06:30 -05:00
  • fdb2ff98d8 Large Ability changes, cleanup, langs, fixes. Kam 2026-01-10 23:06:13 -05:00
  • c7d04cb9d3 Simplify ability interrupt logic and reorganize GUI Claude 2026-01-10 10:32:24 +00:00
  • b40fec2270 Clean up imports to use short class names Claude 2026-01-10 10:03:10 +00:00
  • f28d3483e6 Refactor Ability GUI to support third-party extensibility Claude 2026-01-10 09:48:37 +00:00
  • 479a2c5384 Update api Kam 2026-01-10 02:17:00 -05:00
  • bd9e0fdf43 Update api Kam 2026-01-10 02:16:49 -05:00
  • c82f7517de Revert "Annotations for API events" bigguy345 2026-01-10 07:13:00 +02:00
  • 06aa0ce22e Annotations for API events bigguy345 2026-01-10 07:12:46 +02:00
  • 5b36cdac1b Made ScriptContext class based instead bigguy345 2026-01-10 06:53:48 +02:00
  • 576401ebde Added object instantiation for Jave.type: i.e. var FileClass = Java.type("java.io.File") var file = new FileClass("name") bigguy345 2026-01-10 06:31:27 +02:00
  • 0d11db729b Merge remote-tracking branch 'origin/syntax-highlighter-unified' into syntax-highlighter-unified bigguy345 2026-01-10 06:04:07 +02:00
  • 78f7fa65f1 Add Script Context and better parsing for d.ts handling Kam 2026-01-09 22:59:13 -05:00
  • 71050da341 Fixed findReceiverExpr breaking when contains strings bigguy345 2026-01-10 05:52:49 +02:00
  • a5c02e6c94 Fixed static access problem for AutocompleteProvider & generally bigguy345 2026-01-10 05:44:36 +02:00
  • a106343a0e NashornBuiltins fixes bigguy345 2026-01-10 05:07:48 +02:00
  • 289c78f4de Proper TypeInfo getter for synthetic type members bigguy345 2026-01-10 04:34:24 +02:00
  • 55ae325458 Removed duplicate class bigguy345 2026-01-10 04:09:50 +02:00
  • 03935502cc Pushed local dts plugin with settings.gradle configured to use locally bigguy345 2026-01-10 03:53:26 +02:00
  • 95f550df0b Moved SubGuiSelectList to CNPC+ bigguy345 2026-01-10 02:52:38 +02:00
  • 9454af30cf Moved SubGuiSelectList to CNPC+ bigguy345 2026-01-10 02:52:20 +02:00
  • c2435b350c Removed .d.s files for clean merge sake bigguy345 2026-01-10 00:32:55 +02:00
  • bd0e8ad907 gitignore bigguy345 2026-01-10 00:32:20 +02:00
  • 0f27ef2628 Merge branch 'janino-scripts' into syntax-highlighter-unified bigguy345 2026-01-10 00:27:53 +02:00
  • fb0332e5cf Merge branch 'dev' into janino-scripts bigguy345 2026-01-10 00:19:14 +02:00
  • deec2a1986 Merge remote-tracking branch 'origin/janino-scripts' into janino-scripts bigguy345 2026-01-10 00:04:12 +02:00
  • b5df6b1709 Moved all janino classes to CNPC+ janino-scripts branch bigguy345 2026-01-09 23:44:07 +02:00
  • 18bab07f33 Fix Slam Kam 2026-01-09 16:22:39 -05:00
  • 166c8aa228 Ability Push Kam 2026-01-09 15:29:00 -05:00
  • 1e844444cf Colored Autocomplete items according to their token types bigguy345 2026-01-09 05:11:07 +02:00
  • 5c604a6919 Colored return type of members in Autocomplete menu according to their type token (Class/Interface/Enum/Primitive) bigguy345 2026-01-09 04:46:47 +02:00
  • c661bc95c8 Small AutocompleteMenu draw bug bigguy345 2026-01-09 04:28:58 +02:00
  • 277fe3387d oops forgot important class bigguy345 2026-01-09 03:00:32 +02:00
  • bfcdd3c47c - Set vars assigned with type ClassTypeInfo (e.g.Java.type("")) as static access bigguy345 2026-01-08 07:05:30 +02:00
  • 176a3b6d50 - Added Java.type("") for JS API - Added synthetic types (non-existant in java classloader and JS API, but custom defined like Nashorn's Java.type/extends/etc.. bigguy345 2026-01-08 06:56:41 +02:00
  • 5790679048 Properly setup autocompletion member suggestion for java classes in JS API bigguy345 2026-01-08 04:48:16 +02:00
  • 9eb30f862a Fixed AutocompleteManager breaking in findReceiverExpression if it contains quotes "" bigguy345 2026-01-08 04:20:39 +02:00
  • e45f6b7da5 Forgot this from last commit bigguy345 2026-01-08 04:19:54 +02:00
  • 869dda34a5 -Java class types can are now functional in JS API. (Autocomplete and marking) bigguy345 2026-01-08 04:09:18 +02:00
  • 99f7d05948 Properly resolved type parameters for autocomplete display (e.g., T → EntityPlayerMP) bigguy345 2026-01-08 03:14:44 +02:00
  • 2632ff4bc6 Added type parameter TypeInfo fetching to MethodInfo bigguy345 2026-01-08 02:42:01 +02:00
  • 7725d16e82 Implemented TypeParamInfo to TypeInfo and JSTypeInfo, and resolved all type params of JS API types after all are loaded bigguy345 2026-01-08 02:23:36 +02:00
  • 798e238804 Parsed generic type parameters in .d.ts files. i.e. IPlayer<T extends EntityPlayerMP> bigguy345 2026-01-08 01:26:01 +02:00
  • 8fb683ff2c Dynamic AutocompleteMenu dimension adjustment depending on available game window space above/below current line bigguy345 2026-01-07 23:30:15 +02:00
  • 57d63844c8 Removed redundant unused .d.ts files bigguy345 2026-01-07 22:58:09 +02:00
  • b74a29dc29 Expanded namespace pattern bigguy345 2026-01-07 22:47:13 +02:00
  • 2311634817 Revert "Fixed StackOverflows" bigguy345 2026-01-07 22:46:04 +02:00
  • 7d6bacb824 Fixed StackOverflows bigguy345 2026-01-07 20:31:02 +02:00
  • c433593459 Added net.minecraft to CNPC+ .d.ts apiPackages bigguy345 2026-01-07 18:11:52 +02:00
  • df0cc666d4 Removed DBC Addon .d.ts files bigguy345 2026-01-07 18:03:17 +02:00
  • 274e96af03 generateTypeScriptDefinitions gradle task bigguy345 2026-01-07 17:30:17 +02:00
  • f0ec2b0401 removed tags bigguy345 2026-01-07 01:07:17 +02:00