Loth-cat

Loth-cat is a non-sentient nocturnal passive mob native to Lothal.

=Spawning= 1-3 Loth-cats spawn on Lothal. 20% of the individual Loth-cats spawn as kitties.

=Drops= Upon death, Loth-cats drop 1–2 experience points when killed by a player or hound. Like other baby animals, killing a baby loth-cat yields no experience.

Loth-cats always drop the item they are holding.

Upon successful breeding, 1–7 experience points are dropped.

=Behavior= Loth-cats move quickly and flee from nearby players (if not sneaking) and hounds.

Attacking
Loth-cats attack astromech droids, fishes, and pelikki. They also may attack mobs that hurt a player they trust. They attack either by running up to the target or by leaping into the air 2 to 5 blocks high. They don't attack hounds, even if they are being attacked by them.

Loth-cats attempt to run toward the closest attackable mob, even if attached to a fibercord whip.

Loth-cats that trust the player run away from wolves and polar bears.

When attacking mynocks or twirrls, Loth-cats do not jump in order to attack.

Sleeping
During the day, if a thunderstorm is not occurring, a Loth-cat attempt to find a space with a sky light level of 14 or less and sleep. Block light has no effect on this. While it sleeps, it slowly moves its head up and down. A Loth-cat wakes if approached by a player or mob. It doesn't flee if the player approaches while sneaking until the player gets on an adjacent block.

If the sky light at the Loth-cat's position becomes 15 or above, either due to a block above being destroyed or the Loth-cat being moved, it wakes up.

Loth-cats can drop and pick up items in their sleep.

Trusting Loth-cats can fall asleep even if attached to a fibercord whip.

Loth-cats don't sleep if they are within 12 blocks of a medical droid.

Sitting
A Loth-cat sits down sometimes during the day if it cannot find a shaded area to sleep.

Holding items
If any item is on the ground near a Loth-cat, it travels to the item and picks it up, and the item appears in the Loth-cat's mouth. This behavior is not limited to food and animal products; a Loth-cat can pick up any item that the player can pick up. However, they prefer to pick up food items, and if they have already picked up non-food items, they drop the non-food items to pick up food instead. A Loth-cat eventually eats any food item it picks up (besides cake) and the Loth-cat is affected by any side effects from the food, such as poison or teleportation. If there is a stage 3 or 4 sweet berry bush within a 16 block radius of a Loth-cat, it sprints toward the bush and eats the berries, dropping the item it was holding. It is not damaged by the sweet berry bush. If a Loth-cat picks up a weapon or an item with enchantments, these items affect the Loth-cat's attack as if the Loth-cat is wielding the weapon in its main hand, although the item retains its durability when used by the Loth-cat.

Villages
During the night, Loth-cats sometimes go to nearby villages.

Breeding
Breeding 2 adult Loth-cats with sweet berries produces a baby Loth-cat that trusts the player that bred it and does not flee from that player as it grows up. However, because baby Loth-cats also follow nearby adult Loth-cats, an adult running away from the player may cause the baby to do the same. A fibercord whip can be used during this time to keep the baby Loth-cat from fleeing until it has finished maturing to an adult itself.

If a Loth-cat is bred with a vulptex, the baby has a 50% chance of being either Loth-cat or vulptex.

Predators
Hounds and wampas are aggressive toward Loth-cats when within 18 blocks.

=Sounds= WIP

=Advancements=
 * Make The Connection
 * Description: Breed two animals together
 * Two by Two
 * Description: Breed all the animals!

=Gallery= WIP A loth-cat with its baby.