Commit Graph
33 Commits
Author SHA1 Message Date
Kam 1c693fd66f Add Monkey and Canine Tails 2024-03-20 14:24:08 -04:00
Kam 2fd7594720 Remove Fernflower References 2024-03-17 23:17:36 -04:00
Goodbird 54f4ed5c16 Added timer integration 2024-01-22 08:05:03 +03:00
Kam da313f6d0a Compatibility Helper DBC 2023-07-19 11:17:11 -04:00
Luis C.M b04a35efc4 Added armwear functions 2023-03-17 04:34:14 -05:00
Luis C.M 58aaaa158a IModelData:
-Added hidePart() comment
2023-03-17 03:04:26 -05:00
Luis C.M 6913cadc79 IModelData:
-Implemented hidePart() abd hidden() functions
2023-03-17 02:59:33 -05:00
Luis C.M 9a77e2f146 Made setRotation() function in ModelRotatePart clamp float values. 2023-03-17 02:38:15 -05:00
Luis C.M f0b33cf913 Moved model scale parts into a single ModelScale class, similar to ModelRotate.
Added NPC model data interfaces to the API.
2023-03-17 02:36:28 -05:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
KAMKEEL 6e92f08851 Config Overhaul 2023-01-07 00:21:08 -05:00
Luis C.M d2611385de ITimers:
-Added timerIds() function, listing all active timer IDs
2023-01-03 19:30:15 -06:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
c0508383 84958cfd02 DataTimers:
-Prevented concurrent modification error when removing a ticking timer.
2022-07-06 15:28:25 -05:00
Luis C.M 8e0b5d042c Fixed null error when sending skin overlay data to update players' clients. 2022-07-05 14:18:40 -05:00
Luis C.M 34dd42f0db Removed redundant loop variables and casts. 2022-07-04 13:13:08 -05:00
Luis C.M 948fc4f497 Some timer functions now throw an exception when the timer they're trying to access does not exist. 2022-07-04 13:05:43 -05:00
Luis C.M a47323575e Fixed skin overlay crash on multiplayer. 2022-06-15 00:53:59 -05:00
Luis C.M 40a210ce8f Added configurable limits to skin overlays and dialog images. 2022-06-14 23:27:15 -05:00
1whohears 8c687e7ef5 fixed DataTimers.writeToNBT 2022-06-02 21:32:19 -05:00
Luis C.M 33bb0307e9 Separated data objects and data controller objects in the noppes.npcs.controllers package. 2022-05-24 01:07:50 -05:00
Luis C.M 532180f00f Fixed NBT issue with player overlays. 2022-05-24 00:36:47 -05:00
Luis C.M 82938fe5cd Fixed NBT issue with player overlays. 2022-05-24 00:11:34 -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
luisc d2d3cef681 When setMaxTicks() is called and the remaining ticks in a timer are greater than that value, the remaining ticks are updated to the new max tick value. 2022-02-27 23:11:52 -06:00
luisc 403738262c Added timer functions.
ticks(int id):
Gets the remaining ticks in the timer that matches this id.

setTicks(int id, int ticks):
Sets the remaining ticks in the timer that matches this id.

maxTicks(int id):
Gets the maximum ticks that must elapse for the timer that matches this id to finish.

setMaxTicks(int id, int ticks):
Sets the maximum ticks that must elapse for the timer that matches this id to finish.

repeats(int id):
Returns true if the timer with the given id is set to repeat, false otherwise.

setRepeats(int id, bool repeat):
Sets whether the timer with the given id should repeat. If true, the timer will repeat, and not repeat otherwise.
2022-02-27 23:08:24 -06:00
luisc 1a78b2dad7 Timers are only updated if a timer exists for a player. 2021-12-17 17:30:50 -06:00
luisc f3ebf86b1e Critical fix to NBT loading when loading entities into chunks from a different version. 2021-11-29 21:21:49 -06:00
luisc a29058d696 Fixed timers on the server-side. 2021-10-22 02:22:45 -05:00
luisc 4de969f6c9 Implemented scripted timers for players and NPCs. 2021-10-20 23:04:52 -05:00
luisc 72f2c3c60a Implemented global Forge events. Reorganized NPC API files. 2021-10-18 06:33:39 -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