PecoraGenesis
PecoraGenesis 是一款 Minecraft 插件,引入了遗传系统和牲畜管理机制。
牛、羊、猪和兔子等牲畜被分配了基因,繁殖它们会产生基因组合和突变,从而形成多样的性状。
野生动物被视为拥有基础基因 AA。
通过反复繁殖,基因会发生进化并影响:
此外,从家畜获得的肉类具有特殊效果,可以通过在营火上烹饪来进一步增强。
概述
每种牲畜实体都有其自身的遗传数据,这些数据存储在数据库文件中。
这允许持续追踪个体的基因和性状。
遗传系统包含以下概率因素:
inherit_chance(遗传率)
dominance_chance(显性率)
这些机制创造了类似于现实世界遗传学的繁殖结果。
支持的动物
以下牲畜受遗传系统影响:
- 牛 (Cow)
- 绵羊 (Sheep)
- 猪 (Pig)
- 兔子 (Rabbit)
熟肉效果
食用熟肉会根据动物种类和基因等级赋予不同的效果。
状态效果
| 动物 |
基因等级 |
效果 |
等级 |
持续时间 |
| 牛 |
1 |
力量 |
I |
10–20秒 |
|
2 |
力量 |
I |
40–50秒 |
|
3 |
力量 |
II |
5–10秒 |
| 猪 |
1 |
急迫 |
I |
30–40秒 |
|
2 |
急迫 |
I |
60–70秒 |
|
3 |
急迫 |
II |
20–30秒 |
| 兔子 |
1 |
跳跃提升 |
I |
20–30秒 |
|
2 |
跳跃提升 + 缓慢降落 |
I |
40–50秒 |
|
3 |
跳跃提升 |
II |
20–30秒 |
|
3 |
缓慢降落 |
I |
20–30秒 |
| 绵羊 |
1 |
速度 |
I |
20–30秒 |
|
2 |
速度 |
I |
50–60秒 |
|
3 |
速度 |
II |
10–20秒 |
饥饿与饱和度
| 动物 |
食物等级 |
饥饿值 |
饱和度 |
几率 |
| 牛 |
0 |
8 |
12.8 |
无 |
|
1 |
9 |
+1 |
40% |
|
2 |
10 |
+2 |
30% |
| 猪 |
0 |
8 |
12.8 |
无 |
|
1 |
9 |
+1 |
40% |
|
2 |
10 |
+2 |
30% |
| 兔子 |
0 |
5 |
6 |
无 |
|
1 |
6 |
+1 |
40% |
|
2 |
7 |
+2 |
30% |
| 绵羊 |
0 |
6 |
9.6 |
无 |
|
1 |
7 |
+1 |
40% |
|
2 |
8 |
+2 |
30% |
注:2点饥饿值 = 1个饥饿条图标。
查看基因
使用石锄右键点击牲畜以查看其基因。
繁殖系统
当繁殖牲畜时,基因根据以下概率确定:
| 类型 |
几率 |
| 一般遗传 (AG 等) |
75% |
| 突变 (AA, AG, GG 等) |
20% |
| 显性突变 (TG, AC 等) |
5% |
突变顺序:
A → T → G → C → A ...
基因性状
每种基因组合提供不同的加成:
| 基因 |
掉落 |
食物 |
繁殖 |
状态 |
| 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 |
性状说明
| 性状 |
描述 |
| 掉落 |
肉类掉落数量 |
| 食物 |
饥饿与饱和度恢复 |
| 繁殖 |
双胎繁殖几率 |
| 状态 |
状态效果的强度 |
其他说明
兼容性
- Paper
- Purpur
- Spigot
- Bukkit
支持的 Minecraft 版本
要求
安装
-
从 GitHub 下载插件 JAR 文件:
-
将其放入 /plugins/ 文件夹
-
重启服务器
Wiki
更新日志
- 2026年3月14日 – 初始发布
- 2026年3月15日 – 小修复 (v1.1)
- 2026年3月16日 – 改进更新通知 (v1.2)
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:
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
Compatibility
- Paper
- Purpur
- Spigot
- Bukkit
Supported Minecraft Versions
Requirements
Installation
-
Download the plugin JAR from GitHub:
-
Place it into your /plugins/ folder
-
Restart your server
Wiki
Changelog
- Mar 14, 2026 – Initial release
- Mar 15, 2026 – Minor fixes (v1.1)
- Mar 16, 2026 – Improved update notifications (v1.2)
评论 0
登录后参与评分
还没有评论,来抢沙发吧