Commit Graph
26 Commits
Author SHA1 Message Date
Luis C.M 0ceb5dc3e2 Changed JS code execution in the ScriptContainer, more similar to 1.12 now. 2023-04-02 18:44:56 -05:00
Luis C.M 46d668f44c Added IProjectile and its events. 2023-03-16 02:51:40 -05:00
Luis C.M 5b589768f6 Player, Forge, & NPC script console changes, & further fix to concurrent modification exception on script container. 2023-02-21 12:45:48 -06:00
Luis C.M 0ddcd15162 Fixed concurrent modification exception when saving scripts. 2023-02-19 12:48:40 -06:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
KAMKEEL 6e92f08851 Config Overhaul 2023-01-07 00:21:08 -05:00
Luis C.M 7a715ef308 NpcAPI:
Added functions for adding keywords to global script running
++ addGlobalObject(String,Object)
++ removeGlobalObject(String)
++ getEngineObjects()
2022-12-14 17:53:57 -06:00
Luis C.M 68600d7d00 Added additional GraalJS flags 2022-11-27 23:56:38 -06:00
Luis C.M 8e6f5b10d1 Implemented GraalJS support. 2022-11-27 21:43:29 -06:00
Luis C.M ed0290217f Added config to optionally enable/disable the ECMA6 Javascript standard in scripts. 2022-11-25 21:33:43 -06:00
Luis C.M c5d6179b95 Updated nashorn to use ECMA6 2022-11-25 20:53:03 -06:00
Luis C.M aa02e5dcc3 Fixed API interface errors, added casts for custom item script handlers in EventHooks, and added some event interfaces. 2022-11-23 23:59:01 -06:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
c0508383 9fc408e598 Added a configurable expansion to scripts' length, adding 65535 more characters with every additional increase. 2022-07-12 11:58:54 -05:00
Luis C.M cf33b90b26 Used interfaces in implementations instead of the real classes for most scripted classes. 2022-05-11 22:08:31 -05:00
Luis C.M 6896cec417 Every function in API classes that calls the main API class now calls the loaded API wrapper, renamed to NpcAPI, instead of the abstract class, renamed to AbstractNpcAPI. 2022-05-11 17:12:48 -05:00
Luis C.M 9a244ca2fe Renamed NPCs button on GUI, added configs for enabling player, forge, NPC, and all scripts. 2022-03-23 17:42:35 -05:00
luisc ff810cbc8d Full console output is now shown again for script errors. 2021-12-20 17:03:54 -06:00
luisc 23384d1d67 Fixed some server-side lag caused by player events. Player ticks now execute every 10 MC ticks. 2021-12-16 21:54:05 -06:00
luisc 6bdc68337c Revert "Made player script implementation closer to that of 1.12."
This reverts commit 3a9789b3fd.
2021-12-16 04:05:05 -06:00
luisc 3a9789b3fd Made player script implementation closer to that of 1.12. 2021-12-16 02:53:17 -06:00
luisc 816445bccd Script error output shortened to just the error description and line number. 2021-12-13 22:51:33 -06:00
luisc f14bc107d3 Double clicking events in the hook list will now paste them into your code. More scripting functions added for NPCs. 2021-12-03 21:13:56 -06:00
luisc 547f5ab82d Container event spam when no container is open fixed. Fixed scripted player and forge events not launching after merging ScriptContainer and EventScriptContainer. 2021-12-03 18:17:52 -06:00
luisc 72869e6a78 Consolidated EventScriptContainer and ScriptContainer into a single ScriptContainer class. NPCs are now able to fly when ai.movementType == 1. 2021-12-01 15:31:05 -06:00
KAMKEEL a31efb2dc3 1.7.10 Files
Files added
2018-09-13 12:03:28 -04:00