Luis C.M
8f16e6b20f
Added IDialogImage, a scripted object which is used by IDialog. Used to add dialog images.
...
IDialog:
-Added several new functions for dialogs' new visual attributes, as well as a way to add, get, create, remove, and clear dialog images.
Global NPC events:
-Added fields and variables from the old ScriptEvent events, in preparation to replace the old events with NpcEvent instances on local NPC scripts.
-Fixed issue where some event hooks would run on remote worlds.
Global NPC killed event:
-Added droppedItems and expDropped fields.
IWorld and NpcAPI:
-Now always uses a non-remove WorldServer object to create ScriptWorld objects and add them to the world cache.
2022-06-10 17:25:58 -05:00
Luis C.M
213d69f146
Function added
...
NpcAPI:
-Added stopServer() function.
2022-05-31 18:54:11 -05:00
Luis C.M
b6c62332ed
Fixed SkinOverlay objects not having their parent object initialized correctly.
2022-05-23 20:47:32 -05:00
Luis C.M
6220a8ce14
-Overlays for players and NPCs are now grouped in an "overlay handler" object, similar to how you retrieve timers.
...
-Fixed client NPC overlay updates.
2022-05-23 20:41:32 -05:00
Luis C.M
b9266c3cc5
Added plenty more documentation for the javadoc.
2022-05-17 18:02:09 -05:00
Luis C.M
41401d0521
Removed redundant ScriptSkinOverlay, using SkinOverlayData in place of it, which now implements ISkinOverlay.
2022-05-17 04:46:06 -05:00
Luis C.M
6f9358c1ca
Glow can be disabled/enabled on skin overlays
2022-05-16 22:04:54 -05:00
Luis C.M
89ac9f5225
Fix for the global script GUI menu.
2022-05-16 00:42:40 -05:00
Luis C.M
115b66d0c6
NPC flight fixes and a minor change to the createIItemStack function.
2022-05-13 23:14:55 -05:00
Luis C.M
b20babbb35
Added implementations for ScriptItemArmor, ScriptItemBlock, and ScriptItemBook, which all extend ScriptItemStack.
2022-05-11 22:42:31 -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
26f5f86dca
Implemented Scripted Custom Items.
2022-05-11 01:10:31 -05:00
Luis C.M
c3b9096295
Scripted particles can now spawn anywhere in the world, not just attached to an entity.
...
ScriptEntityParticle renamed to ScriptParticle, and EntityCustomFX renamed to CustomFX.
Re-enabled OpenGL blending for custom particles.
2022-05-06 03:38:24 -05:00
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
d1c4adf371
ScriptEntity instances are now properly retrieved in event scripts
2021-10-21 22:14:12 -05:00
luisc
5515f5ef83
Fixed executeCommand() function for scripting API on the server-side.
2021-10-19 19:49:43 -05:00
luisc
72f2c3c60a
Implemented global Forge events. Reorganized NPC API files.
2021-10-18 06:33:39 -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