Commit Graph
39 Commits
Author SHA1 Message Date
luisc 8a7f40189e Fixed redundant function calls for saving player data in NoppesUtilServer when using isGUIOpen(). Added getServerTime() to NpcAPI. 2021-11-22 02:33:28 -06:00
luisc 77c2897109 Added getAllServerPlayers, createItem & createEntityParticle to NPC API. Added getDimensionID() to ScriptWorld. 2021-11-22 01:10:27 -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 6b2a9d92b1 Added hasCollided() function to ScriptEntity. 2021-10-28 16:54:41 -05:00
luisc 2ffa9bfcfa Added setImmune() function to ScriptEntity. 2021-10-28 16:46:09 -05:00
luisc 27dce4a90a Small parameter adjustment to ScriptLivingBase.hurt() 2021-10-25 01:07:31 -05:00
luisc 1478841098 Added hurt functions to ScriptLivingBase 2021-10-25 00:58:03 -05:00
luisc 6fcf566ef7 Made setRotation work for players, with yaw and pitch parameters. 2021-10-24 23:33:22 -05:00
luisc 18aa2d099f Added updatePlayerInventory to ScriptPlayer 2021-10-24 01:53:20 -05:00
luisc a29058d696 Fixed timers on the server-side. 2021-10-22 02:22:45 -05:00
luisc d1c4adf371 ScriptEntity instances are now properly retrieved in event scripts 2021-10-21 22:14:12 -05:00
luisc 4de969f6c9 Implemented scripted timers for players and NPCs. 2021-10-20 23:04:52 -05:00
luisc a993c8feff Fixed forge scripts on the server side. getIEntity() now correctly returns an IPlayer when given a player as a parameter. 2021-10-20 20:27:42 -05:00
luisc 5515f5ef83 Fixed executeCommand() function for scripting API on the server-side. 2021-10-19 19:49:43 -05:00
luisc 8b710ed520 Fixed executeCommand() function for scripting API. 2021-10-19 16:59:09 -05:00
luisc b15f5221fd Added getAllNbt function to ScriptEntity. 2021-10-19 14:48:59 -05:00
luisc 40e738384f Disabled invulnerability during knockback() for ScriptEntity. 2021-10-19 03:44:41 -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 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 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 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 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 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 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 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 2749637ed6 Fixed Typo in Script 2021-05-09 01:46:37 -04:00
KAMKEEL 2262639182 Create Dev Branch
Add Scripting for ModelType
2021-05-08 03:51:29 -04:00
KAMKEEL a31efb2dc3 1.7.10 Files
Files added
2018-09-13 12:03:28 -04:00