PecoraGenesis
PluginMIT

PecoraGenesis

PecoraGenesis enhances livestock with genetics, allowing special meat, milk variation, and persistent gene-based traits.

38
Downloads
1
Followers
4 months ago
Updated
📦
4
Versions

📖About PecoraGenesis

PecoraGenesis

PecoraGenesis is a Minecraft plugin that introduces a genetics system and livestock management mechanics.

Livestock such as Cows, Sheep, Pigs, and Rabbits are assigned genes, and breeding them creates genetic combinations and mutations, resulting in varied traits.

Wild animals are treated as having the base gene AA.
Through repeated breeding, genes evolve and affect:

  • Meat drop amount
  • Hunger restoration
  • Twin breeding efficiency
  • Status effects

Additionally, meat obtained from domesticated animals has special effects, which can be further enhanced by cooking it over a campfire.


Overview

Each livestock entity has its own genetic data, which is stored in a database file.
This allows persistent tracking of individual genes and traits.

The genetics system includes the following probability factors:

  • inherit_chance (inheritance rate)
  • dominance_chance (dominance rate)

These mechanics create breeding results similar to real-world genetics.


Supported Animals

The following livestock are affected by the genetics system:

  • Cow
  • Sheep
  • Pig
  • Rabbit

Cooked Meat Effects

Eating cooked meat grants effects depending on the animal and gene level.

Status Effects

Animal Gene Level Effect Level Duration
Cow 1 Strength I 10–20s
2 Strength I 40–50s
3 Strength II 5–10s
Pig 1 Haste I 30–40s
2 Haste I 60–70s
3 Haste II 20–30s
Rabbit 1 Jump Boost I 20–30s
2 Jump Boost + Slow Falling I 40–50s
3 Jump Boost II 20–30s
3 Slow Falling I 20–30s
Sheep 1 Speed I 20–30s
2 Speed I 50–60s
3 Speed II 10–20s

Hunger & Saturation

Animal Food Level Hunger Saturation Chance
Cow 0 8 12.8 None
1 9 +1 40%
2 10 +2 30%
Pig 0 8 12.8 None
1 9 +1 40%
2 10 +2 30%
Rabbit 0 5 6 None
1 6 +1 40%
2 7 +2 30%
Sheep 0 6 9.6 None
1 7 +1 40%
2 8 +2 30%

Note: 2 hunger points = 1 hunger bar icon.


Checking Genes

Right-click a livestock animal with a Stone Hoe to view its genes.


Breeding System

When breeding livestock, genes are determined with the following probabilities:

Type Chance
General inheritance (AG, etc.) 75%
Mutation (AA, AG, GG, etc.) 20%
Dominant mutation (TG, AC, etc.) 5%

Mutation order:
A → T → G → C → A ...


Gene Traits

Each gene combination provides different bonuses:

Gene Drop Food Breed Status
AA 0 0 0 0
TA 0 1 1 0
AT 0 1 2 0
TT 0 2 0 0
GA 0 0 1 0
AG 1 0 2 0
GG 3 0 0 0
CA 0 0 1 1
GT 2 1 0 0
TG 1 2 0 0
AC 0 0 2 1
TC 0 2 0 1
CT 0 1 0 2
CG 1 0 0 2
CC 0 0 0 3
GC 2 0 0 1

Trait Explanation

Trait Description
Drop Meat drop amount
Food Hunger & saturation restoration
Breed Twin breeding chance
Status Strength of status effects

Additional Notes

  • Twin breeding chance:

    • 0 = None
    • 1 = 25%
    • 2 = 50%
  • Meat drop multiplier:

    • 0 = Vanilla
    • 1 = 1.2×
    • 2 = 1.5×
    • 3 = 2.0×
  • Milk cooldown chance:
    Determines the probability of a 5-minute cooldown when milking cows/goats.


Compatibility

  • Paper
  • Purpur
  • Spigot
  • Bukkit

Supported Minecraft Versions

  • Minecraft 1.21.x

Requirements

  • Java 21+

Installation

  1. Download the plugin JAR from GitHub:
    https://github.com/yamaimo11924/PecoraGenesis

  2. Place it into your /plugins/ folder

  3. Restart your server


Wiki

https://seesaawiki.jp/ymc/d/PecoraGenesis

Changelog

  • Mar 14, 2026 – Initial release
  • Mar 15, 2026 – Minor fixes (v1.1)
  • Mar 16, 2026 – Improved update notifications (v1.2)