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
luisc
95d2814651
Backported GUI features and necessary classes from 1.12.
2021-09-30 21:44:30 -05:00