Commit Graph
52 Commits
Author SHA1 Message Date
Luis C.M 1ce5b7b302 ScriptCustomItem:
-Fixed issue where NBT data was not being sent to the client side, caused by latest commit.
2023-05-30 00:56:39 -05:00
Luis C.M fe780d69ee Added target lost event. Added all new NPC events to the old 1.7.10 script system. 2023-03-16 04:56:33 -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
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 0db96f9040 Fixed forge, player, & npc scripts not being able to be deleted or added. 2023-02-19 16:22:28 -06:00
Luis C.M de6375c4cb Fixed script console not appearing with the new global script tab saving method. 2023-02-19 15:20:51 -06:00
Luis C.M b8dc090db8 Player, Forge, & NPC scripts are saved in separate packets for separate tabs now, so script save/get packets aren't too big for the server. 2023-02-19 13:38:43 -06:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
Luis C.M 699b24e467 More fixes to global NPC scripts not executing on servers, and added more functions to IEntityLivingBase. 2022-12-24 01:46:43 -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
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 89ac9f5225 Fix for the global script GUI menu. 2022-05-16 00:42:40 -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 26f5f86dca Implemented Scripted Custom Items. 2022-05-11 01:10:31 -05:00
Luis C.M 3066e1dfbc Global event script buttons and the script GUI for an NPC are enabled/disabled/darkened based on their respective configs. 2022-03-23 18:54:55 -05:00
Luis C.M 286f6862cb Small clarifications in the new scripting configs, and removed some unused imports. 2022-03-23 17:48:58 -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
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 69d4fb20ff Modified client and server packet sending a little bit for player and forge scripts. 2021-12-20 16:57:05 -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