Commit Graph
2005 Commits
Author SHA1 Message Date
Luis C.M 0db7ef8e66 Simplified puppet rendering code, iterates over puppet parts and their corresponding model renderers instead of having several if statements. 2023-01-07 14:01:04 -06:00
Luis C.M 235ddaa1ea Implemented interpolation options for player model animations. 2023-01-07 13:38:44 -06:00
Luis C.M d6ed069862 Merge branch 'dev' into player-anims
# Conflicts:
#	src/api
2023-01-07 13:15:45 -06:00
Luis C.M 99403257f5 Merge remote-tracking branch 'origin/dev' into dev 2023-01-07 13:13:56 -06:00
Luis C.M 4346992f14 IJobPuppet:
-Added the option to not interpolate between angles and move from one value to another at a constant speed.
2023-01-07 13:13:44 -06:00
Luis C.M c9426682c0 Added another mixin necessary for rendering model rotations for players in MP. 2023-01-06 23:47:55 -06:00
KAMKEEL 6e92f08851 Config Overhaul 2023-01-07 00:21:08 -05:00
Luis C.M ef01b700da Merge remote-tracking branch 'origin/player-anims' into player-anims 2023-01-06 14:46:31 -06:00
Luis C.M e89e4d4c2b IJobPuppet:
-Regrouped functions in the interface, a little easier to follow.
-Rotation & Offset setters now use floats as parameters instead of ints.
2023-01-06 14:41:16 -06:00
Luis C.M 2e745fbda1 IPlayerModelData:
-Regrouped functions in the interface, a little easier to follow.
-Rotation & Offset setters now use floats as parameters instead of ints.
2023-01-06 14:28:15 -06:00
Luis C.M 27b80037bd Added total model rotation functionality to player model data. 2023-01-06 13:43:49 -06:00
Luis C.M 58afabc43b Small fix to avoid popping matrices when not needed. 2023-01-05 18:21:38 -06:00
Luis C.M ad689440aa Implemented complete model rotations. 2023-01-05 18:18:28 -06:00
Luis C.M 3bb1b4fcb0 Added general model rotation functions to PlayerModelData. 2023-01-05 17:58:32 -06:00
Luis C.M 695dfce7d0 Merge branch 'dev' into player-anims 2023-01-05 16:47:36 -06:00
Luis C.M 28a1650c05 Added setRotation(float rotationYaw, float rotationPitch) function for IEntity & ICustomNpc 2023-01-03 23:36:53 -06:00
Luis C.M bb5b3f5f00 Merge branch 'dev' into player-anims 2023-01-03 19:35:43 -06:00
Luis C.M d2611385de ITimers:
-Added timerIds() function, listing all active timer IDs
2023-01-03 19:30:15 -06:00
Luis C.M 51263a9f82 Added player rotations/pivots/animations, similar to NPC's. 2023-01-01 23:50:38 -06:00
Luis C.M b167755cc0 Fixed a small puppet offset client update bug. 2022-12-31 18:47:13 -06:00
Luis C.M d638c98d81 Added alternate distanceTo function using three double values instead of an IPos object. 2022-12-28 00:45:27 -06:00
Luis C.M 1df7819931 Added a few more functions having to do with capturing picked up drops to IEntity. 2022-12-27 20:27:36 -06:00
Luis C.M 828d03a0cb ScriptEntity:
-Fix to getStoredDataKeys()
2022-12-27 17:29:22 -06:00
Luis C.M 7d4a59d45a IEntity & IWorld:
-Added getStoredDataKeys() & getTempDataKeys() functions.
2022-12-27 16:46:59 -06:00
Luis C.M 1ac0b3b0a3 Added more functions to IPlayer, IEntityLiving, IEntityLivingBase, and IAnimal. 2022-12-26 01:13:28 -06:00
Luis C.M 699b24e467 More fixes to global NPC scripts not executing on servers, and added more functions to IEntityLivingBase. 2022-12-24 01:46:43 -06:00
Luis C.M 8d52e9356c Fixed Global NPC script tabs not working on the server-side after being errored. 2022-12-23 20:45:04 -06:00
Luis C.M a82a06fe4d Fixed resetting NPC body part pivots and rotations. 2022-12-22 23:34:13 -06:00
Luis C.M 2588f14105 Changed the functionality of the new variable that allows for larger angles. 2022-12-22 17:15:40 -06:00
Luis C.M 678ee8fc02 Added more API functions to IJobPuppet, and a "limitAngles" variable that lets puppet parts use full angles. 2022-12-22 17:04:53 -06:00
Luis C.M c950dcfa5a Adjusted puppet arm pivots based on body angles. 2022-12-22 16:31:28 -06:00
Luis C.M bb7b33bf95 Added puppet offsets and adjusted puppet leg pivots based on body angles. 2022-12-22 15:24:39 -06:00
Luis C.M 4f553a9ee4 Fixed legs being dislocated from body for puppet NPCs when the body's Y-rotation is modified. 2022-12-22 10:54:56 -06:00
Luis C.M 343721c87a Fixed arms being dislocated from body for puppet NPCs when the body's Y-rotation is modified. 2022-12-22 10:40:54 -06:00
Luis C.M 74ed9d9de9 Very small fix to setRotation function 2022-12-22 10:15:08 -06:00
Luis C.M c0ad318573 Added setRotation function to set all three rotations for parts. 2022-12-22 10:02:21 -06:00
Luis C.M 1d6499ea48 Added puppet animations and more functions for the IJobPuppet interface. 2022-12-22 01:36:50 -06:00
Luis C.M 5d520837b1 Implemented a way to play ISound(s) to players without using a sound ID. 2022-12-21 19:07:19 -06:00
Luis C.M a895c8bd24 NpcAPI:
-Added millisToTime(long) and ticksToTime(long) functions to return time formatted strings from long values.

IPlayerQuestData:
-Added last completed time functions for repeating quests.

IQuest:
-Added repeat functions for repeating quests.

ServerCloneController:
-Fixed cloned NPCs having identical UUIDs.
2022-12-20 09:21:39 -06:00
Luis C.M 73ceeab907 Tracked quest data is sent for the next quest when a quest is completed now. 2022-12-19 17:18:28 -06:00
Luis C.M 808de24db4 Player data is now saved to disk when a quest is finished. Removed an unused packet. 2022-12-19 17:07:50 -06:00
Luis C.M cfac349265 Fixed quest reward null pointer exception. 2022-12-19 16:09:18 -06:00
Luis C.M 3d498814f9 Implemented custom commands. 2022-12-18 15:54:14 -06:00
Luis C.M a47af08d0f Fixed spawning clones without checking for region protection. 2022-12-18 02:58:12 -06:00
Luis C.M 6f33b9df92 NpcAPI:
++ hasGlobalObject(String)
2022-12-16 19:36:39 -06:00
Luis C.M 7a715ef308 NpcAPI:
Added functions for adding keywords to global script running
++ addGlobalObject(String,Object)
++ removeGlobalObject(String)
++ getEngineObjects()
2022-12-14 17:53:57 -06:00
Luis C.M 3945e7ffb8 NpcAPI:
Added createItemFromNBT(INbt) function.
2022-12-14 16:44:13 -06:00
Luis C.M 3152cf2379 ScriptController:
-Fixed engine test null pointer exception.
2022-12-14 01:55:32 -06:00
Luis C.M 958aeea46a ScriptNpc:
-Fixed setRole and setJob functions.
2022-12-07 23:38:15 -06:00
Luis C.M 68600d7d00 Added additional GraalJS flags 2022-11-27 23:56:38 -06:00