Kam
495fd98bfd
Implement Profile Events to Player Scripts
2025-03-11 17:16:54 -04:00
Kam
67a1650fb6
Profile Events
2025-03-06 01:24:51 -05:00
Kam
20a46e6007
Custom Effect [WIP]
2025-02-10 14:58:45 -05:00
Kam
934cc3d7cd
Reapply "Revert Animation Events"
...
This reverts commit 4113bcc6e9 .
2024-08-22 16:47:45 -04:00
Kam
4113bcc6e9
Revert "Revert Animation Events"
...
This reverts commit 1ffddd3ce9 .
2024-08-22 16:47:07 -04:00
Kam
1ffddd3ce9
Revert Animation Events
2024-05-26 19:26:47 -04:00
Luis C.M
61781710f1
Implemented animation events and made some event classes abstract.
2024-03-24 17:03:58 -05:00
Kam
2fd7594720
Remove Fernflower References
2024-03-17 23:17:36 -04:00
Luis C.M
78357165a2
Marked events that can be cancelled as cancellable if they didn't have the annotation.
2023-01-25 21:54:25 -06:00
Luis C.M
681f62eeb6
Added getHookName() function
2022-11-24 16:46:20 -06:00
Luis C.M
0414817673
Implemented event interfaces, made more events cancellable.
2022-11-24 14:36:09 -06:00
KAMKEEL
be9ae94163
Start API Branch
2022-11-15 15:25:53 -05:00
Luis C.M
8d3cd3fd82
Revert "Merge remote-tracking branch 'origin/dev' into dev"
...
This reverts commit 66edbcea80 , reversing
changes made to 3fd962289c .
2022-11-06 01:25:28 -06:00
KAMKEEL
6ae465c5d0
Revert "Added several more functions to pre-existing classes:"
...
This reverts commit e9a8f8cebc .
2022-11-06 00:10:04 -04:00
Luis C.M
e9a8f8cebc
Added several more functions to pre-existing classes:
...
-Spawner, Transport, Healer, Guard, Bard jobs received more functions.
-Added more functions to the transporter role.
-IRole: Added getNpc() function.
-IAnimal, IEntityLiving, and IEntityLivingBase received more functions from their MC counterparts.
-Nearly every function with that takes position/vector parameters now has an equivalent with IPos as a parameter instead.
2022-11-05 20:19:14 -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
c0508383
9bd644f84a
PlayerEvent.MouseClickedEvent:
...
-Added isCtrlPressed, isAltPressed, isShiftPressed, isMetaPressed, and keysDown fields for button combinations.
2022-07-06 18:41:39 -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
6dea5a1cbc
Interfaces have a file strucutre resembling the file structure of their implementing classes.
2022-05-11 16:43:14 -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
09f76d84c4
GuiContainerNPCInterface, GuiNPCInterface, GuiNpcMenu all disable repeat key events when closed like all other GUIs now.
...
The keyEvent scripted event no longer detects repeat held key presses.
2022-05-03 13:34:56 -05:00
Luis C.M
5c9424bac8
Added the repeatKey field to KeyEvent, distinguishing whether the event was triggered by the key being held down or the first press.
2022-05-03 13:20:41 -05:00
luisc
7e0ff3c836
Removed println statement please forgive me oh god
2022-02-02 18:21:08 -06:00
luisc
7de585843d
Added get/setHunger, and get/setSaturation functions for ScriptPlayer.
...
The player KeyPressed event now sends a list of keys that are currently pressed by the player.
2022-01-31 20:16:00 -06:00
luisc
27b88c1fce
Player key events now detect key presses as well, not just releases.
2021-11-13 13:32:33 -06:00
luisc
d1c4adf371
ScriptEntity instances are now properly retrieved in event scripts
2021-10-21 22:14:12 -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
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
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
95d2814651
Backported GUI features and necessary classes from 1.12.
2021-09-30 21:44:30 -05:00
luisc
8b6e84a8d4
Removed many unnecessary/redundant backported files. Focused only on classes that make events work.
2021-09-30 01:48:54 -05:00