Commit Graph
128 Commits
Author SHA1 Message Date
luisc feeef71b5a Added more player events. 2021-10-18 20:50:54 -05:00
luisc 15bfbcdbd1 Added storeAsClone function. Made some fields in Script Entity, NPC, and Player public because of the refactoring. 2021-10-18 07:02:19 -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 699182f4c0 Added ScriptBlock and ScriptNbt support to scripting API 2021-10-12 03:23:56 -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
luisc 8b6e84a8d4 Removed many unnecessary/redundant backported files. Focused only on classes that make events work. 2021-09-30 01:48:54 -05:00
luisc 5a1c4757cf Went down huge rabbit hole to attempt adding scripted events for players. Chock full of errors, trying to backport classes from the 1.12 version. 2021-09-30 00:56:49 -05:00
luisc 71e13a177f Removed Entity field from ScriptEntityParticle 2021-09-08 13:45:50 -05:00
luisc c39ebc4909 Added ScriptEntityParticle class to store and modify scripted particle objects in code. Added support for this calss to ScriptWorld and ScriptEntity. 2021-09-08 13:41:57 -05:00
luisc f6d9149038 Undid removing screen darken from NPC dialogues. 2021-09-06 13:40:25 -05:00
luisc 50e3ae7f83 Removed screen darken from NPC dialogues. 2021-09-06 13:37:36 -05:00
luisc b43d89f91e Removed redundant/unused imports from EntityCustomFX 2021-09-06 13:36:28 -05:00
luisc 1c2534bfc4 Removed ModelPartData parameter from EntityCustomFX. Reverted ModelPartData to its original version, no longer storing particle attributes. 2021-09-06 13:33:09 -05:00
luisc 61ad3dc849 Removed ModelPartData parameter from EntityCustomFX. Reverted ModelPartData to its original version, no longer storing particle attributes. 2021-09-06 12:47:51 -05:00
luisc 6e9c693d49 Changed entity search method for custom particles to solely use entity IDs instead of entities near the closest player. 2021-09-06 12:28:14 -05:00
luisc fbc22fdef2 Added Custom Particles for scripted entities that work on server and client sides. 2021-09-06 01:24:38 -05:00
luisc 9f4ab7f01e Added getWidth() getHeight() and getYOffset() functions to ScriptEntity 2021-09-05 23:01:25 -05:00
luisc 2a378190ae Added EntityCustomFX class, used for spawning custom particles on entities. 2021-09-05 21:53:58 -05:00
luisc 459976c54d Modified giveItem() method to give the player item(s) with all attributes of the ScriptItemStack parameter. 2021-09-05 21:48:36 -05:00
KAMKEEL a2e869ddb3 Added Some Local Cape Designs 1.23 1.21 2021-07-10 00:51:17 -04:00
KAMKEEL 1b3f9dc019 Update Version 2021-07-10 00:48:54 -04:00
KAMKEEL 3727d1af7a Added Flying Code / Corrected Hidden Parts not Saving
Added a ton of code regarding Flying doesn't work correctly. Please Uncomment them by searching for

Comment: // Fly Change

Fixed Hidden Parts not Saving
2021-07-10 00:48:03 -04:00
KAMKEEL 7e7aaa805b Allowed for NBTData of hiding body parts 2021-06-13 20:17:12 -04:00
Kamron Vaswani c05c4fdb0d Update README.md 2021-06-13 19:36:05 -04:00
KAMKEEL acd666e073 Merge branch 'dev' 1.2 2021-06-13 19:28:22 -04:00
KAMKEEL a1d467f657 Update for New Version Merge 2021-06-13 19:28:12 -04:00
KAMKEEL 3a36be0ae4 Added MarkovNameGenerator, Added Disable Body Part Feature
Two New Features >>

+ Added Markov Name Generate
+ Corrected Hide Body Parts
2021-06-13 19:26:00 -04:00
KAMKEEL f155ef2481 Fixed Staff Bug
Corrected the Staff Crash issue
2021-06-13 16:35:53 -04:00
KAMKEEL 65eeca72cf Commenting out Fly Changes for Build 2021-06-13 16:24:15 -04:00
KAMKEEL f9bdc66956 Flying Tests 2021-06-13 16:22:06 -04:00
KAMKEEL 8028dde5ae Added Minecraft Source to be adapted later
This is only for experimental purposes
2021-05-11 18:14:31 -04:00
KAMKEEL 502d8faf73 Delete d.txt 2021-05-10 18:53:58 -04:00
KAMKEEL de8f8c9a45 Added Files
Issue Report
Banner
2021-05-10 18:53:38 -04:00
Kamron Vaswani 4c8045f4df Update README.md 2021-05-10 17:42:24 -04:00
KAMKEEL efa3f0f263 Merge branch 'master' of https://github.com/KAMKEEL/CustomNPC-Plus 2021-05-10 17:41:26 -04:00
KAMKEEL d31a4b3879 Create Url64Example.gif 2021-05-10 17:41:24 -04:00
Kamron Vaswani 44b6199062 Update README.md 2021-05-10 17:03:24 -04:00
KAMKEEL 7d4949b07a Merge branch 'master' of https://github.com/KAMKEEL/CustomNPC-Plus 2021-05-10 17:02:09 -04:00
KAMKEEL 24fea99f72 Create guiAnimation.gif 2021-05-10 17:02:04 -04:00
Kamron Vaswani 4921b3a010 Update README.md 2021-05-10 17:00:52 -04:00
KAMKEEL 46fd50a6ae Relocate Images 2021-05-10 17:00:17 -04:00
KAMKEEL 013a9f801e Added Images 2021-05-10 16:36:52 -04:00