Commit Graph
58 Commits
Author SHA1 Message Date
Luis C.M. 572077b7e5 Loads of changes from the animation branch 2025-01-22 18:54:00 -06:00
luisc 8419d6f643 Removed easing out of animations for players. Fixed bug where default offsets are incorrect for some player models sometimes. 2024-09-24 18:13:49 -05:00
Matheus Barreto 3deb2fb884 optimize reflection for render events 2024-09-11 04:02:04 -03:00
Kam 934cc3d7cd Reapply "Revert Animation Events"
This reverts commit 4113bcc6e9.
2024-08-22 16:47:45 -04:00
Kam 4113bcc6e9 Revert "Revert Animation Events"
This reverts commit 1ffddd3ce9.
2024-08-22 16:47:07 -04:00
Kam 1ffddd3ce9 Revert Animation Events 2024-05-26 19:26:47 -04:00
Luis C.M. 13987bdc39 Merge branch 'animation-events' into dev 2024-05-10 20:35:33 -05:00
Kam 9fd715a3f8 MorePlayerModels Support for Overlays 2024-04-08 20:59:42 -04:00
Kam 564f494b73 Fix Overlays not Working in Dev Env or Matching Hand Model 2024-04-08 13:44:42 -04:00
Kam 9a090980a7 Small Changes 2024-04-08 04:35:03 -04:00
luisc d055d434df Merge remote-tracking branch 'origin/dev' into animation-events
# Conflicts:
#	src/api
#	src/main/java/noppes/npcs/controllers/data/AnimationData.java
2024-04-01 16:32:45 -05:00
Luis C.M. cc9cf6a7f9 big ol dumb reflection mixin why is dbc like this oh my god 2024-04-01 00:15:43 -05:00
luisc 799631eece Removed "render ticks" tick type. Instead, animations and frames can define a tick speed measured in milliseconds. Animations/frames using MC tick type will be 50ms (1000ms/20), and render ticks 20ms. 2024-03-23 23:34:01 -05:00
Kam f732665994 Null check just in case 2024-03-07 22:31:29 -05:00
Kam 8ec795c98a MarkData to NPCs [1.12 Backport] 2024-02-21 03:02:39 -05:00
Kam e46b78ff71 Optimize Imports 2024-02-15 17:54:28 -05:00
Luis C.M 4b50f34e07 Fixes to first person animation rendering and small change to the model renderer animation mixin. 2024-02-08 01:31:54 -06:00
luisc d683b3e64d More fixes to first-person animation rendering. 2024-01-24 18:10:17 -06:00
luisc 5dd3da83cd Fixed animations not animating in first person. 2024-01-24 17:59:43 -06:00
Luis C.M 0ee066b974 Initial commit for first person animations, still need to debug and fix. 2024-01-24 00:34:06 -06:00
Luis C.M 8340ae7311 Small fix to animations: still running when using render ticks when the game is paused 2024-01-08 00:15:19 -06:00
Luis C.M 3af3a541e2 Moved animation data into the controllers.data package. 2023-07-27 17:19:15 -05:00
Luis C.M 6470c8317b Client-side cache is now cleared when leaving or joining worlds 2023-06-05 18:50:41 -05:00
Luis C.M b8a3740ad2 Fixed player animations not updating after re-logging. 2023-01-23 22:58:55 -06:00
Luis C.M 07175758a7 Small fix for model part compatibility. 2023-01-23 18:47:23 -06:00
Luis C.M 9f02d118cd Fixed player animations not syncing correctly in multiplayer. 2023-01-19 00:00:03 -06:00
Luis C.M 5e5bf2eb1c Added render ticks option for frames, inherited from its animation parent if not customized. 2023-01-18 21:35:39 -06:00
Luis C.M f504424fd2 Added a declared field reflection cache, improving render times for NPC models that have many fields. 2023-01-18 21:28:16 -06:00
Luis C.M f61001d32a Changed mixin to support players with animations better. Rotations and pivots are now saved as and use floats. 2023-01-17 13:08:10 -06:00
Luis C.M be18e756fc Animation overhaul, along with animation changes to the API. 2023-01-16 13:53:15 -06:00
Luis C.M 54d53041ac Animation Data overhaul 2023-01-12 15:07:45 -06:00
KAMKEEL 8f62daba3e Refactor JobPuppet and PartConfig 2023-01-11 22:42:36 -05:00
Luis C.M 8905f5f42e Moved NPC puppet data to display data.
Improved mixin functionality, offsets and rotations always reset if the puppet "job" (not a job anymore, always in display) is disabled.
2023-01-11 19:12:53 -06:00
Luis C.M 7f407c3c44 Fixed puppet model rotations/offsets crossing over NPCs when they shouldn't. 2023-01-10 13:10:22 -06:00
Luis C.M 42c29f1d47 Added support for other models that inherit from ModelBiped to NPC puppet rendering. 2023-01-09 21:08:22 -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
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 51263a9f82 Added player rotations/pivots/animations, similar to NPC's. 2023-01-01 23:50:38 -06:00
c0508383 0a8fc3458d Implemented mixins, used to render skin overlays without conflict with other mods that change rendering like Optifine. 2022-08-31 07:53:35 -05:00
Luis C.M e1248d25c8 Fixed GL underflow errors. 2022-07-03 15:16:12 -05:00
Luis C.M c132bd2fe2 Skin overlays only render if a player has one now. 2022-07-03 15:06:37 -05:00
Luis C.M ac93394983 First person adjustments for scripted overlays 2022-07-03 14:23:33 -05:00
Luis C.M 51eab97f51 Simplified DBC player overlay rendering. 2022-07-01 00:42:23 -05:00
Luis C.M 522b5b884a Scripted Skin Overlay render and packet sending fixes. 2022-06-15 03:48:32 -05:00
Luis C.M dd207757ea IPlayer:
-Added disableMouseInput(long time, int... buttonIds) function.
2022-06-13 17:21:02 -05:00
Luis C.M 1293fabca9 RenderCNPCPlayer changes in ClientEventHandler:
-Fixed cancelling an uncancellable armor render event.
-Only RenderPlayerEvent.Specials.Pre is cancelled, rather than trying to cancel both Pre & Post.

RenderCNPCPlayer:
-Now always returns -1 as a render pass.
2022-06-13 00:47:39 -05:00
Luis C.M 8b77597e27 Overlays don't render over special DBC model parts like antennae & tails. 2022-06-12 03:38:20 -05:00
Luis C.M deffb78167 Fixed render spam on overlays when checking for armor rendering. 2022-06-08 16:51:28 -05:00