Commit Graph
51 Commits
Author SHA1 Message Date
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 4715e2ffbf Implemented closeOnEsc supplier for ScriptTextArea 2025-12-20 11:53:26 +02:00
bigguy345 1702252629 Fixed resizing game window/gui initi'ing newly creating the text editor 2025-12-20 00:31:30 +02:00
Kam b25f2b786e Add debug logging toggle for sync flow 2025-10-19 22:06:11 -04:00
Kam 9c541999f3 Optimize Imports 2025-07-23 14:22:52 -04:00
Kam 236b901e61 Add a Pre-Load Boolean to Scripts to they don't save Empty 2025-05-29 21:09:58 -04:00
Kam 180d257024 Proper Reformating 2025-03-13 17:14:45 -04:00
Kam eeb6b2ea8b Scripted Items Display Errors & Fix Console Scroll Wheel and Scroll Bar 2025-02-09 04:02:16 -05:00
Kam 1fa9e41c24 Confirm Click for Clearing and Pasting Scripts 2024-03-19 14:35:32 -04:00
Kam 4ddea96914 Remove References / Imports 2024-02-09 18:25:08 -05:00
Kam 89d683c6bc Remove the broken Editor 2024-02-09 16:45:40 -05:00
Luis C.M 5f3ed66234 Implemented syntax highlighting for scripts. 2023-07-30 01:26:36 -05:00
Luis C.M 29935a1c6d Implemented local NPC event scripts. 2023-03-16 04:27:19 -05:00
KAMKEEL 8b89711403 Fix URL Links 2023-02-28 03:35:37 -05:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05: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
c0508383 12a3fffeab PlayerEvent:
-Added PlayerEvent.AttackEvent & PlayerEvent.AttackedEvent, preventing any knockback from happening from attacks.
2022-07-07 12:49:30 -05:00
Luis C.M cc61684fb8 Fixed custom item console 2022-07-03 09:46:40 -05:00
Luis C.M 4094f3e851 Added 4 different spawning options, and spawning height max and mins to natural spawn entries. 2022-06-29 03:36:52 -05:00
Luis C.M 3f8910f5bd Added CustomGuiEvent.SlotClickEvent to the scripting GUI. 2022-06-18 12:53:09 -05:00
Luis C.M aab550cdca Implemented custom item rotation rate, and start using, using, stop using, finished using events for custom items. 2022-05-11 14:24:12 -05:00
Luis C.M 11cc46b48f Fixed some scripted item events, and fixed positioning of scripted items. 2022-05-11 13:30:13 -05:00
Luis C.M 18ff2bff78 Implemented Global NPC Events!
All NPCs activate these scripts. If a player wants to create a script that's universally used by all NPCs, this allows for that to happen with a lot of ease!
2022-03-23 03:54:06 -05:00
luisc 791adfc1b4 Implemented textfield unfocused event 2022-01-14 16:09:27 -06:00
luisc 04def38b63 Added dialog events to scripted player events 2022-01-12 22:59:03 -06:00
luisc b024f800ae Added quest start, complete, and turnin events, and a faction points event to scripted player events. 2022-01-12 20:12:16 -06:00
luisc 6b9cfb9d25 Implemented custom GUIs. 2022-01-12 04:44:08 -06:00
luisc e5edbe002e Registered forge events on both MinecraftForge.EVENT_BUS and FMLCommonHandler.instance().bus(). 2021-12-23 10:26:46 -06:00
luisc c8f6a24baf Added command forge event 2021-12-22 03:33:50 -06:00
luisc 2743fa17d8 Added command forge event 2021-12-22 03:30:01 -06:00
luisc 7d94e0e210 Removed forge chunk and terrain gen events. 2021-12-17 08:25:02 -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 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 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
luisc b068c76fc8 Fixed some forge events not working from being registered on the wrong event bus. 2021-10-23 02:43:28 -05:00
luisc f88cbb8b51 Server-side compatibility changes 2021-10-19 02:49:46 -05:00
luisc bb1da8376d Implemented 1.12 event scripting API. 2021-10-18 22:01:15 -05:00
luisc feeef71b5a Added more player events. 2021-10-18 20:50:54 -05:00
luisc 72f2c3c60a Implemented global Forge events. Reorganized NPC API files. 2021-10-18 06:33:39 -05:00
luisc c5ed7497c8 Added console output and correct script halting to scripted player events. Renamed PlayerScriptContainer to EventScriptContainer. 2021-10-17 16:11:29 -05:00
luisc a9bce4a3e3 Fixed player script enabled button not working right on servers. Added more player events and a getDimension() method to ScriptPlayer. Set player scripts to be off by default. 2021-10-15 09:17:31 -05:00
luisc 047552d9e5 Made constant BlockPos calculateLogBaseTwo calculation explicit, enabled player events by default. 2021-10-12 04:20:33 -05:00
luisc 6752f8baec Implemented several more events for players, including a click event, key event, fall event, and the basic entity living hurt, killed, and kills events, among others. 2021-10-12 02:57:32 -05:00
luisc 6c8c7671b8 Implemented KeyPressed event. 2021-10-11 07:16:10 -05:00
luisc 1ee14920ff Scripted player tick events are functional, GUI for player events is complete. Global player events run as they should now, just need to start implementing more of them. 2021-10-11 06:49:30 -05:00
luisc 6aa98aecf3 Work on Player Event Script GUIs 2021-10-02 08:47:13 -05:00
luisc 44bd1692d1 GUI's properly implemented, script data still needs work. 2021-10-01 01:17:12 -05:00