Supporting Animania
Introduction
(...)
What Happens When Both HA And Animania Are Installed?
HA loads bunch of internal configurations for Animania. It consists of registration, AI, attributes, and food preferences.
Registration
Unfortunately, Animania has its own food, taming, and breeding system. So the default configurations turn off HA's feature. Taming, Mating, Weight, and Aging are disabled.
For the details about animal.json
, refer this document.
Attributes
Default configs are generated by copying vanilla configs. It includes max health and move speed changes. Therefore Animania animals with HA have higher health than animals of Animania alone.
For the details,
AI
Most AIs are disabled because many features are disabled during registration. Only defense AI is active which makes cows to avenge attackers.
Food Preferences
Food preferences are included in default configurations, but they are inactive because weight system is disabled. ("hungry": false
)
Useful HA Features
Productions
HA provides production customization. In this article, we will add milk production to Hampshire.
Adding Milk Production
This production entry will make every sow produce milk. Because fluid production requires certain attributes, you should register new attributes to them.
Loot Tables
HA provides loot table customization. You can add custom drops to animals. No document for loot tables now.
AIs
HA provides complicated AI customization. Because most features are disabled, there are just a few useful things.
Making Animals Defensive
Refer config/hungryanimals_example/ais/minecraft/cows.json
.
Making Animals Running Away
To enable this, taming system should be enabled. It is because without taming system, every animals are considered as domesticated. Taming systems from HA and Animania are not compatible now. You should tame animals in both method.
Last updated
Was this helpful?