arstnei0 / player-anim-learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlayerAnimator Fabric Example

Fabric example mod, modified to demonstrate how to use PlayerAnimator library on Fabric.

This example uses mixins, to see a mixinless setup (not recommended) see forge example.

Setup

For setup instructions please see the fabric wiki page that relates to the IDE that you are using.

AnimationResourceLoading

This will load animations form resource packs, including the mod pack.

//Use this to get a loaded KeyframeAnimation
AnimationResourceLoading.animations.get(animationID)

PlayerAnimationExample

An example animation event, what will make the player wave when using a paper item.
Of course, you'll create your own events with mixins or packets.

License

This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.

About

License:Creative Commons Zero v1.0 Universal


Languages

Language:Java 100.0%