Getting Started - ZigyTheBird/ZigysPlayerAnimatorAPI GitHub Wiki

Introduction

Hello there!
This is a very cool mod you can see what it does here.
This mod relies on the Player Animator mod for actually animating the player so you will need to add it to the dependencies as well.
You can find the essentials for animating the player here and here, if you are a beginner then the other wiki pages might cause a lot of confusion.
You can see examples of the features of the mod being used here.
If you ever need any help contact me on discord, my username is zigythebird.
This relatively ambitious mod is only maintained by one person (me) so if you spot any bugs be sure to make a GitHub issue.

Mod Downloads

CurseForge: https://www.curseforge.com/minecraft/mc-mods/playeranimatorapi
Modrinth: https://modrinth.com/mod/playeranimatorapi

Including the library in your dev environment

MC versions with the mod: 1.21, 1.20.4, 1.20.1
Pull requests that bring bug fixes and features from newer versions to old ones will be merged.

[!NOTE] The Player Animator mod is the only required dependancy. (Which you can include with your mod)
All other dependancies are either included with the mod or optional.

[!NOTE] For 1.20.1 replace neoforge with forge.

Latest version of playeranimatorapi: 2.2.0 (2.1.1 for pre 1.21)

Maven Repository

	maven {
		name "zigythebirdMods"
		url "https://maven.zigythebird.com/mods"
	}

NeoGradle

dependencies {
    implementation ("com.zigythebird.playeranimatorapi:playeranimatorapi-neoforge-$project.minecraft_version:$project.playeranimatorapi_version", {
        exclude group: "software.bernie.geckolib"
        exclude group: "com.github.Virtuoel"
        exclude group: "mod.azure.azurelib"
        exclude group: "com.eliotlash.mclib"
        exclude group: "maven.modrinth"
    })
}

ForgeGradle (1.20.1 only)

dependencies {
    implementation fg.deobf("com.zigythebird.playeranimatorapi:playeranimatorapi-forge-$project.minecraft_version:$project.playeranimatorapi_version", {
        exclude group: "com.github.Virtuoel"
        exclude group: "mod.azure.azurelib"
        exclude group: "com.eliotlash.mclib"
        exclude group: "maven.modrinth"
    })
}

Architectury Loom (Common)

dependencies {
    modImplementation ("com.zigythebird.playeranimatorapi:playeranimatorapi-common-$rootProject.minecraft_version:$rootProject.playeranimatorapi_version", {
        exclude group: "software.bernie.geckolib"
        exclude group: "com.github.Virtuoel"
        exclude group: "mod.azure.azurelib"
        exclude group: "com.eliotlash.mclib"
        exclude group: "maven.modrinth"
    })
}

Fabric Loom

dependencies {
    modImplementation ("com.zigythebird.playeranimatorapi:playeranimatorapi-fabric-$project.minecraft_version:$project.playeranimatorapi_version", {
        exclude group: "software.bernie.geckolib"
        exclude group: "com.github.Virtuoel"
        exclude group: "mod.azure.azurelib"
        exclude group: "com.eliotlash.mclib"
        exclude group: "net.fabricmc.fabric-api"
        exclude group: "maven.modrinth"
    })
}

Architectury Loom (NeoForge)

dependencies {
    modImplementation ("com.zigythebird.playeranimatorapi:playeranimatorapi-neoforge-$rootProject.minecraft_version:$rootProject.playeranimatorapi_version", {
        exclude group: "software.bernie.geckolib"
        exclude group: "com.github.Virtuoel"
        exclude group: "mod.azure.azurelib"
        exclude group: "com.eliotlash.mclib"
        exclude group: "maven.modrinth"
    })
}