Cattlestrophic!

Cattlestrophic!

Mod

A mod introducing new mechanics on animals breeding and growth.

Client and server EconomyFoodGame Mechanics MobsUtility

924 downloads
9 followers
Follow Save

Cattlestrophic!

This mod adds animal survival mechanics to Minecraft, making animals die from hunger and old age.

Cattlestrophic! is designed to be fun and challenging in both singleplayer and multiplayer.

The total configurability of this mod lets you create a custom animal system, where you can set every aspect of Vanilla animals and include modded animals. You can set every aspect of the mod through the config system.

For support and information about updates and new features, join our Discord! Join our Discord

Features

Wild vs. Domesticated Animals

Natural and egg-spawned animals are considered wild.

Breeding animals will result in domesticated animals.

While all animals are affected by age, domesticated ones will also die from hunger if they are not fed, anyway domesticated animals will live longer than wild animals and will also have some differences in their behavior.

Age and hunger time mechanics can be configured through agingRateInTicks and hungerDepletionRateInTicks, while wildMaxAge and domesticatedMaxAge control the maximum age of animals.

Wild animals have several restrictions and penalties compared to domesticated animals:

Lead Restriction

Wild animals cannot be leashed. You must first domesticate them through breeding. This can be disabled through the config preventLeashingWildAnimals.

Reduced Loot Drops

Wild animals drop fewer items when killed compared to their domesticated counterparts, instead domesticated animals will have a bonus to their loot drops. This can be modified through the config wildAnimalLootPenaltyMultiplier and domesticatedAnimalLootBonusMultiplier.

Lower Breeding Chance

Wild animals have a lower chance of successfully breeding, controlled by the wildAnimalBreedChance configuration setting.

Extended Breeding Cooldown

Wild animals have an extended breeding cooldown period after breeding, controlled by the wildBreedingExtraCooldownTicks configuration setting.

Feeding Mechanics

Domesticated animals will die from starvation if they don't get fed.

Animals can be fed by right-clicking them with Animal Feed item or by placing a Feeding Trough nearby. Feeding troughs can be stocked with generic food items and will replenish the animal's hunger over time.

The feeding trough features can be modified through the config feedingTroughRange, feedingAmount and maxAnimalsPerTrough.

Age Limits

Every animal has a maximum age. Wild animals will die from old age, domesticated animals will live longer.

Inspection Tool

The inspection tool can be used to check the animal's age and hunger level. The inspection tool can be found in the creative inventory.

Age and Hunger Visualization System

Animal's age and hunger level are shown through different particle effects. Animals will start showing these effects when they are close to their maximum age (over 75% and 90%) or minimum hunger (below 20%) level.

Configurations

This mod is completely configurable.

Parameters

  • enableMod: Enable or disable the mod
  • enableAnimalSettings: Enable or disable animal settings
  • hungerDepletionRate: Hunger depletion rate in ticks
  • agingRate: Aging rate in ticks
  • showHungerIndicators: Show hunger indicators
  • showAgeIndicators: Show age indicators
  • feedingTroughRange: Feeding trough range in blocks
  • feedingAmount: Feeding amount each time the animal is fed by the trough
  • maxAnimalsPerTrough: Maximum number of animals that can be fed by a trough
  • breedingCooldownTicks: Breeding cooldown in ticks
  • growthTimeTicks: Growth time in ticks
  • wildMaxAge: Wild age limit (duration in time will depend on aging rate)
  • domesticatedMaxAge: Domesticated age limit (duration in time will depend on aging rate)
  • preventLeashingWildAnimals: Prevent leashing of wild animals
  • wildAnimalBreedChance: Chance for wild animals to successfully breed (0.0-1.0)
  • wildBreedingExtraCooldownTicks: Additional breeding cooldown ticks for wild animals
  • wildAnimalLootPenaltyMultiplier: Multiplier for loot dropped by wild animals (0.0-1.0)
  • domesticatedAnimalLootBonusMultiplier: Multiplier for loot dropped by domesticated animals (1.0+)

Animal Settings

The animal affected by the mod can be configurated through the animal settings system.

If the enableAnimalSettings parameter is set to false, the animal settings system will be disabled, and the mod will always use the default animal settings (only affecting most vanilla animals).

In the config folder, you can find the cattlestrophic_animal_settings folder containing the default animal settings for Minecraft animals affected by the mod.

If you want to add new animal to the settings, you need to create (or copy) a new json file in the appropriate folder (the minecraft folder for Vanilla animals) and place it in the cattlestrophic_animal_settings folder. For Modded animals, you need to create a new folder, with the mod id as name, and place it in the cattlestrophic_animal_settings folder.

So for a modded animal, the correct path would be config\cattlestrophic_animal_settings/[modid]/[entity_type].json.

The json file should have the following structure:

  • acceptedFoodItems: List of food items id that can be used to feed the animal in the feeding trough
  • hungerDepletionRateOverride: Override the hunger depletion rate for this animal
  • wildMaxAgeOverride: Override the wild max age for this animal
  • domesticatedMaxAgeOverride: Override the domesticated max age for this animal
  • breedingCooldownTicksOverride: Override the breeding cooldown ticks for this animal
  • growthTimeTicksOverride: Override the growth time ticks for this animal
  • feedingAmountOverride: Override the feeding amount for this animal

Project members

theblackfox97

Member

Details

Licensed MIT
Published 4 months ago
Updated 2 months ago