Commit Graph
503 Commits
Author SHA1 Message Date
KAMKEEL 3e6e28d857 More Constructors 2023-01-12 19:40:06 -05:00
KAMKEEL 91bcd43942 Animation/Frame Data Classes with a EnumAnimationPart 2023-01-12 19:32:40 -05:00
Luis C.M 54d53041ac Animation Data overhaul 2023-01-12 15:07:45 -06:00
KAMKEEL adb581ea64 Full Animation File Makeup
> Remove JobPuppet
> Remove PlayerModelData
> REWORK IAnimationPart
and IAnimation
2023-01-12 03:13:39 -05:00
KAMKEEL 8f62daba3e Refactor JobPuppet and PartConfig 2023-01-11 22:42:36 -05:00
KAMKEEL 95f559c36b Fix TagController import in Tag File 2023-01-10 16:51:46 -05:00
KAMKEEL 309f912f10 Tag and Tag Controller 2023-01-10 16:47:49 -05:00
Luis C.M d7d43f74b9 Merge branch 'dev' into player-anims 2023-01-09 15:11:04 -06:00
Luis C.M 4d17df936a Fix for player overlay speeds. 2023-01-09 14:13:20 -06:00
Luis C.M d87a37e017 Added PlayerModelData as a parent of its parts when constructing them. 2023-01-09 00:03:09 -06:00
Luis C.M 94127e5fa4 IPlayerModelData:
-Re-implemented some previously removed functions.
2023-01-08 23:49:14 -06:00
Luis C.M bfb262a487 IPlayerModelData:
-Added allEnabled function for setting all parts as enabled.
2023-01-08 23:28:08 -06:00
Luis C.M 0b5ffce55f IPlayerModelData:
-Renamed some functions to better reflect them changing all parts of JobPuppet
2023-01-08 23:04:57 -06:00
Luis C.M c146a973f0 IPlayerModelData:
-Restructured to implement the new IModelPart interface
2023-01-08 22:57:52 -06:00
Luis C.M 3b11ddb4b4 Simplified player animation rendering, similar to the NPC puppet part commit on dev. 2023-01-07 14:10:36 -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
KAMKEEL 6e92f08851 Config Overhaul 2023-01-07 00:21:08 -05: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 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 51263a9f82 Added player rotations/pivots/animations, similar to NPC's. 2023-01-01 23:50:38 -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 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 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 0414817673 Implemented event interfaces, made more events cancellable. 2022-11-24 14:36:09 -06:00
Luis C.M aa02e5dcc3 Fixed API interface errors, added casts for custom item script handlers in EventHooks, and added some event interfaces. 2022-11-23 23:59:01 -06:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
KAMKEEL c264c7c9d0 Merge branch 'master' into dev 2022-11-15 00:10:32 -05:00
Pétrus Pradella 79e20b07db Properly save PlayerData on json only on 'PlayerEvent.SaveToFile' 2022-11-11 15:15:42 -03:00
KAMKEEL 5ff3a3a1ba Player Logging 2022-11-07 01:49:54 -05:00
Luis C.M 8d3cd3fd82 Revert "Merge remote-tracking branch 'origin/dev' into dev"
This reverts commit 66edbcea80, reversing
changes made to 3fd962289c.
2022-11-06 01:25:28 -06:00
KAMKEEL 6ae465c5d0 Revert "Added several more functions to pre-existing classes:"
This reverts commit e9a8f8cebc.
2022-11-06 00:10:04 -04:00
KAMKEEL 7692c1b628 More Readable Logs with CNPC Level 2022-11-05 21:30:06 -04:00
Luis C.M e9a8f8cebc Added several more functions to pre-existing classes:
-Spawner, Transport, Healer, Guard, Bard jobs received more functions.
-Added more functions to the transporter role.
-IRole: Added getNpc() function.
-IAnimal, IEntityLiving, and IEntityLivingBase received more functions from their MC counterparts.
-Nearly every function with that takes position/vector parameters now has an equivalent with IPos as a parameter instead.
2022-11-05 20:19:14 -05:00
KAMKEEL 37da3f6069 NPC Script Logging Config V 1.0
Added V 1.0 (CNPC+ Script Logging)
> Logs Activities for when CNPC+ Scripts are called
(Writes to CustomNPCs-latest.log)

Configuration Options Available in Config
2022-11-03 02:47:55 -04:00
KAMKEEL 29b716a25c Fix isEnabled 2022-11-02 14:00:03 -04:00
KAMKEEL e6dbfaa4f5 ScriptingEnabled Fix 2022-11-02 13:38:20 -04:00
Luis C.M 45bda8ffe1 NPC Natural Spawning:
-Further small fixes to natural spawning.
-Fixed "Skipping Entity with id " console spam.
-Entity entries can now be set to null.
-Fixed incorrect event bus logic.
2022-10-31 17:48:53 -05:00
Luis C.M a8d9285ce5 Very small fix to reading spawn data NBT. 2022-10-29 16:46:53 -05:00
KAMKEEL 5799167129 SkinOverlay Blend | Default 2022-08-25 03:46:49 -04:00
c0508383 41a6803e2e PlayerQuestData:
-Fixed concurrent modification error
2022-07-20 16:26:09 -05:00
c0508383 5e0b1282f7 Faction:
-Removed unnecessary CustomNPCsException throw in addEnemyFaction.
2022-07-07 01:15:22 -05:00
Luis C.M 256ba5c599 Removed ScriptFaction in place of IFaction. 2022-07-01 23:26:47 -05:00
Luis C.M dd700c677b Natural Spawn Entries:
-Added GUI options for new natural spawn attributes.
-Added 4 more entity options
-Fixed natural spawning not working at night
2022-06-29 14:21:55 -05:00
Luis C.M 4094f3e851 Added 4 different spawning options, and spawning height max and mins to natural spawn entries. 2022-06-29 03:36:52 -05:00
Luis C.M 7d0b124422 Npc API:
-Added natural spawn controller support
2022-06-29 00:06:38 -05:00
Luis C.M 1ca5a306fc IDBCPlayer:
-Items can be set in vanity or armor slots, based on a "vanity" boolean value in setItem().

ISkinOverlay:
-Renamed setScale to setTextureScale.
2022-06-19 15:18:13 -05:00