This is about the configuration of automatically generating texture resource packs
Directory: plugins\imiPet\models\models\pack.yml (create by yourself)
# Whether to automatically generate texture packs
autoSpawn: false
# pack type
# optiFine
# customModelData
# all
type: "optiFine"
After the configuration is set
You need to be in the directory: plugins\imiPet\models\models
Create a folder named pack, and put texture materials (json[model], png[texture], mcmeta[dynamic]) into it
Change the name of the texture material you just put in as follows (except for the suffix):
idle (if the texture pack is idle, please change to idle)
walk (similarly, walking state)
attack (similarly, attack state)
Skill_AnimationID (Texture material of other actions, according to skill.yml
As shown in the figure (the skill is MechaEngineering, the animationID is ha)
Start the server or /imiPet reload
Will be generated in the directory plugins\imiPet
Then resourcePack is the texture resource pack you need to use
Wait a minute, you still have one job: pack.mcmeta
Load texture resource package into the client