Skip to content

Extending The Project

DashieDev edited this page Apr 4, 2023 · 7 revisions

This is where you can find documentation to get to know the system and make your extensions compatible with it.

Resource Packs

This is one of the major ways of extending the mods asset without modifying its code. You can use this to add various things to further customize the game. By using resource packs, you have the ability to encapsulate your work and dynamically add it to the game without even restarting Minecraft! You can even share your work if you want.

Most of the dog texture assets will be contained in the entity texture directory of the dog, which is

/assets/doggytalents/textures/entity/dog/

Adding Skins through Resource Packs

Doggy Talents by itself, provide a selection of skins that players can choose out of the box. But you can always add more, as much as you want due to the fact that there is no defined limit in the mod.

  • Under the dog texture directory, create another subdirectory called custom.
  • From there, you can begin adding your texture files which are modeled after the vanilla wolf default model. The texture resolution must be exactly a multiple of 64x32.
  • Additionally, Doggy Talents also supports 3 different variants of the ear and tails while which variant of the tail or ear is being rendered is solely dependent on the texture file where each variant corresponds to a fixed UV coordinates and will be rendered if the pixel values in that coordinates are occupied. The exact coordinates and dimensions for each of the variants are following
ear_normal:
    + texture : [16, 14]
    + dimension : [2, 2, 1]
ear_boni:
    + texture : [16, 14]
    + dimension : [2, 2, 1]
ear 
    + texture : [16, 14]
    + dimension : [2, 2, 1]
Clone this wiki locally