Commit Graph
239 Commits
Author SHA1 Message Date
luisc 70536de655 Removed checkQuestCompleted from ScriptPlayer, now redundant with new quest checks that happen periodically. 2022-02-02 07:21:45 -06:00
luisc 1ebf747302 Optimized NBT access of player data when checking quest completion, player data variable is passed down to lower functions.
Player's quests are checked for completion every couple seconds now.
2022-02-02 07:18:33 -06:00
luisc 632e92f82e Added set/getPitch to ScriptEntity 2022-02-01 05:10:38 -06:00
luisc 90ca1a0200 Added isAirborne() function to ScriptEntity 2022-02-01 02:30:50 -06:00
luisc 9109c134c1 Added more general setMotion function with x y and z parameters. 2022-01-31 23:59:15 -06:00
luisc 1af875aea9 Fixed concurrent modification bug with NPC tasks. 2022-01-31 23:01:52 -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 67c83b1ce9 Added rotation for custom GUI lines, labels, and textured rectangles 2022-01-31 15:39:21 -06:00
luisc 83e13285f9 Added rotation to overlay components, and color codes to overlay labels 2022-01-31 14:51:06 -06:00
luisc 3be088c4cc Moved OpenGL lines to within the loop that renders each component, fixing some weird alpha errors. 2022-01-30 22:58:12 -06:00
luisc 54fadbe63f Implemented label, alpha, and formatting for Custom GUI labels. 2022-01-30 22:49:03 -06:00
luisc da3b04e78e Implemented MC chat formatting for color codes: &l, &m, &r, &o, and &k all affect overlay labels. 2022-01-30 22:41:55 -06:00
luisc e7a19264b2 Added alpha and style options for overlay labels. 2022-01-30 14:22:29 -06:00
luisc 966ab4bf72 Custom Overlays and GUIs now properly set alpha values for some components. 2022-01-30 13:29:00 -06:00
luisc e5e1aa1972 Made color and alpha components global among ScriptGui classes. 2022-01-30 05:20:45 -06:00
luisc be61bd4e17 Made color and alpha components global among ScriptOverlay classes. 2022-01-30 04:33:00 -06:00
luisc 534f716991 Implemented Scripted Overlays which stay on the player's screen. Overlays persist in the client, and can be removed from the screen as well. 2022-01-30 04:05:01 -06:00
luisc 8b24dad211 Added Custom GUI Lines, with configurable thickness & color. Draws a line between one point defined by (x1,y1), and another defined by (x2,y2) 2022-01-28 03:21:00 -06:00
luisc fcaafe4b26 Fixed NBT issue with the new quest kill amounts. 2022-01-27 06:14:03 -06:00
luisc f876f13d77 Added 9 more slots for quest kill objectives, and an option for kill quests to progress only if a player kills an NPC with that name.
Added quest interface support to get and modify data from specific quest types.
2022-01-27 05:40:51 -06:00
luisc 989effb5c5 Added more a full inventory to NPCs, selectable on two tabs and double-point values for NPC droprates. 2022-01-27 03:50:36 -06:00
luisc f14337f1bb Added config for NPC sizes, default 100. 2022-01-25 14:54:15 -06:00
luisc eb45a6a959 Added several more dialog functions for the rest of the dialog options. 2022-01-25 14:44:24 -06:00
luisc 092b3ce0c1 Fixed overloaded hurt(damage,entity) function not working when an entity is to be hurt by a player 2022-01-22 22:50:01 -06:00
luisc 06c730b166 Fixed scale & color issues for custom GUI textured rectangles. 2022-01-21 01:15:21 -06:00
luisc b9bc1e5ed7 Merge remote-tracking branch 'origin/master' 2022-01-20 20:27:39 -06:00
luisc 83756381e4 Added toggleable shadows and scaling to custom GUI labels. 2022-01-20 20:27:26 -06:00
Luis C.M 52f342302c Merge branch 'KAMKEEL:master' into master 2022-01-20 16:32:16 -06:00
luisc 0788b2750f Quick fix for custom GUI textured rectangles, now with working x and y offsets. 2022-01-20 00:15:21 -06:00
luisc dd22f604cc Compatibility fix for mods that initialize player or worldobj fields as null. 2022-01-15 22:52:27 -06:00
luisc f8a6fe3d75 Compatibility fix for mods that initialize player or worldobj fields as null. 2022-01-15 22:49:07 -06:00
KAMKEEL f9ab885ddd Update Version 1.4.2
Fixed Faction Dupe Glitch
Fixed Darken Screen not saving
2022-01-15 16:51:46 -05:00
Kamron Vaswani e0f77bdcff Merge pull request #24 from c0508383/master
Fixed a faction duplication glitch
2022-01-15 16:50:07 -05:00
luisc 6ff2678f26 Fixed a faction duplication glitch 2022-01-15 15:14:55 -06:00
KAMKEEL a1a0864692 Wrong Button ID Darken Screen 2022-01-15 15:24:37 -05:00
KAMKEEL b3098053ec Fixing Dark Screen not savning 2022-01-15 15:21:20 -05:00
KAMKEEL 2155566113 Hotfix 2022-01-15 04:45:51 -05:00
luisc 24e8648a1d Merge remote-tracking branch 'origin/master' 2022-01-15 03:16:37 -06:00
luisc e1c283a19e Hotfix to Custom GUI labels for servers 2022-01-15 03:16:22 -06:00
Kamron Vaswani aba9dd250a Merge pull request #22 from c0508383/master
Added collision options for CNPCs.
2022-01-14 21:51:16 -05:00
KAMKEEL f508fbed1a 1.4
Fix Decimal Display
2022-01-14 21:48:15 -05:00
luisc 007660f16f Added collision options for CNPCs. 2022-01-14 19:07:41 -06:00
luisc 4f38edc147 Limited config NpcNavRange to 96. Added darken screen option to dialogs. 2022-01-14 17:37:09 -06:00
luisc 6a6548845b Fixed textfield focus event running when textfield is unfocused 2022-01-14 16:50:13 -06:00
luisc 0aef0827ec Fixed scripted particles not spawning on some NPCs. Custom particle packets are now sent to all players. 2022-01-14 16:39:24 -06:00
luisc 791adfc1b4 Implemented textfield unfocused event 2022-01-14 16:09:27 -06:00
luisc 2874643c84 Fixed textured rectangles in custom GUIs not being placed relative to the GUIs' position. 2022-01-14 15:41:27 -06:00
luisc b0da137db5 Custom GUI slot fix 2022-01-14 15:06:25 -06:00
luisc c28a9156d5 Custom GUI slot fix 2022-01-14 15:06:04 -06:00
luisc 555ceb741f Added a modifiable and toggleable flying height limit to NPCs 2022-01-13 05:28:20 -06:00