The systems it provides
We will go by them as follows
- Attributes
- Item Interfaces
- Animator
- Task Provider
Attributes
This is the CORE of your animals, you can extend this class if you want.
The attributes hold the following by default:- AnimalName
- ModId
- EntityAttributeProperties
- EntityBaseProperties
See attributes for a more indepth guide for attributes.
Item Interfaces
This is a tool that is only useful to you if you need to automatically register items
By default, the item interface does nothing.
See items for a more indepth guide for item interfaces.
Animator
This is an object you can drive the animations into
By default, it has Client and Server sided animations (server sends packets to client)
See animator for a more indepth guide for animators.
Task Provider
This is how the animal behaves.
By default, there are no provided tasks in Travelers-Lib.
See task providers for a more indepth guide for task providers.
How to register the actual animal?
This depends, if you've followed the guide above its as simple as option 1.
public static ExampleAnimal exampleAnimal;public static void init() {exampleAnimal = new ExampleAnimal();}
That is it!
The animals rendering gets registered by travelers, so you are good to go!