Commit Graph
11 Commits
Author SHA1 Message Date
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 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
Luis C.M 8db16459df Made CTRL, Shift, ALT, and Meta keys execute the keyPressed event when pressed down, not just when released. 2022-05-02 23:11:45 -05: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 0d807b36d9 Added isGUIOpen() function, and setPosition function with a dimensionId parameter to ScriptPlayer. 2021-11-16 10:41:04 -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 40b39d3b20 Player key and mouse scripts now execute even when the player has a GUI open. 2021-11-13 12:52:21 -06: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
KAMKEEL a31efb2dc3 1.7.10 Files
Files added
2018-09-13 12:03:28 -04:00