ZAWA Maker

ZAWA Maker

5.9k Downloads

Addon for the Zoo and Wild Animals Mod that allows the user to dynamically add in new animals to the mod with just needing to define some basic details, a model, optional animation and more.

 

The below how too is out dated please use the following video!

https://www.youtube.com/watch?v=J-r4O_GIJY4&feature=youtu.be

How To:

  1. These are the steps you must take in order to add new animals to the mod
  2. The first thing that you should do is create a folder where you put all your data to make things easier (this is not neccessary just helps organization)
  3. This mod only supports models saved from the mod Tabula, so after creating your model in the program save the file and be prepared to access it later.
  4. After you have finished with the model you are going to need a list of textures as well, be sure that you make the textures proper size or the mod will not load them (multiple of 16 texture size)
  5. For actually creating the animal you need to make a new json file, you can call it whatever you want but in my example I'll call it BlobFish.json
  6. In the BlobFish.json file you need to set it up like any other json file, although you should have all the keys listed below you can skip on most EXCEPT the name which is manditory
  7. These are the keys
  8. name: Any string value, this value is how the game will display the animal EX: Blob Fish
    health: Any float value for the health
    speed: Any float value for the speed
    nature: The animals nature allowed[Undefined, Skittish, Passive, Neutral, Protective, Territorial, Aggressive, None]
    variants: The number of texture variants the animal has
    tameItem: Item used for taming format[modid:item] ex[minecraft:apple, zawa:snake_kibble]
    breedItem: Item used for breeding format[modid:item] ex[minecraft:apple, zawa:snake_vial]
    food: The food items list allowed[insectivore, carnivore, leaf_eater, herbivore, omnivore, grazer, pescatarian, fish_eater]
    textures: array of strings for each texture ex["variant1.png"]
    model: String pointing to the model json ex["BlobfishModel.json"]
    drops: Array of strings for each item the animal drops format[modid:item]
    boxSize: array width,height [1, 1]
    animation: The animation file
  9. An example file can be found here
  10. The only things to note when making the json file is that your model must have .tbl at the end and be exactly the same as the file, this applies to the textures as well where the names must be the same and have .png
  11. If you decide to animate the file you must define a model key with the tbl file, and you will have an animation and headRotations array keys here is an example which should be self-explanitory but if you have questions the discord is above
  12. After you have made all your files, you have to create a compressed zip file, after that name it whatever you want EX: "BlobFish.zip" and copy all your data into the root of the zip; includes: json for animal, optional animation json, textures, and the model
  13. Once you have finished making your animal you can put it in the run -> zawamaker -> animals and load the game!