
? Eggify
扔出鸡蛋……捕获生物。
Eggify 是一款适用于 Minecraft 的 Fabric 模组,它赋予投掷出的鸡蛋一定的可配置概率,将生物转化为其对应的刷怪蛋。
当转换成功时:
- 该生物会消失,伴随传送门风格的粒子效果和音效
- 该生物掉落其对应的刷怪蛋
- 掉落的刷怪蛋在可能的情况下保留有用的变体数据
示例:
Gray Sheep -> Sheep Spawn Egg,附带 Color: Gray
Savanna Armorer Villager -> Villager Spawn Egg,附带生物群系、职业和等级
Screaming Goat -> Goat Spawn Egg,附带 Type: Screaming
Sulfur Cube(已吸收方块)-> Sulfur Cube Spawn Egg,保留其吸收的内容
✨ 功能特性
- 可为拥有原版刷怪蛋的生物配置被动、敌对和 Boss 生物的掉落概率
- 可合成
Egg of No Escape 以实现必定捕获
- 通过 fabric-permissions-api 支持 LuckPerms
- 支持黑名单,禁止某些生物掉落刷怪蛋
- 为多种生物保留变体数据
- 刷怪蛋的工具提示中显示详细信息,如年龄、颜色、生物群系、职业、毛皮、性格或类型
Egg of No Escape 的合成配方是在工作台周围放置 8 颗钻石并中间放 1 个鸡蛋。它在合成书中以自定义名称显示,命中时保证捕获,未命中时有 50% 的默认概率完好无损地掉落回来,而不是破碎。
在工作台中合成此配方。自动化制造台(Crafters)会拒绝合成且不消耗材料,因为合成需要玩家权限检查。
Eggify 只能捕获拥有原版刷怪蛋的生物。例如,Wither 可以被捕获,但 Ender Dragon 不行,因为 Minecraft 没有提供原版的龙刷怪蛋。
? 命令
/eggify info
显示当前 Eggify 的配置信息。
/eggify held
显示主手所持物品的调试信息。
/eggify reload
重新加载配置文件。
? 权限
当 useLuckPerms=true 时,Eggify 支持以下权限节点:
eggify.use
允许玩家使用普通投掷鸡蛋来捕获生物。
eggify.command
允许玩家使用 /eggify info。
eggify.debug
允许玩家使用 /eggify held。
eggify.special.craft
允许玩家合成 Egg of No Escape。
eggify.special.use
允许玩家投掷并使用 Egg of No Escape。
注意:
- 如果没有安装 LuckPerms,所有人都可以进行 eggify 操作。
- 如果没有激活 LuckPerms 集成,
/eggify info 受 allowCommandPermissionNode 控制。
- 如果没有激活 LuckPerms 集成,
/eggify held 受 allowDebugCommand 控制。
/eggify reload 始终仅限 OP 玩家使用。
- 当
useLuckPerms=true 且安装了 LuckPerms 时,allowCommandPermissionNode 和 allowDebugCommand 将被忽略。
- 即使启用了 LuckPerms 支持,OP 玩家仍然可以使用管理员命令。
eggify.special.use 独立于 eggify.use,因此服务器可以将特殊鸡蛋作为奖励发放,而无需允许普通的 eggify 操作。
⚙️ 配置
配置文件位于:config/eggify.json
文件中包含内联注释以解释每个选项。
默认配置:
// Eggify configuration
{
// 投掷的鸡蛋将被动生物转换为刷怪蛋的概率(百分比)。
"passiveDropChancePercent": 30.0,
// 投掷的鸡蛋将敌对生物转换为刷怪蛋的概率(百分比)。
"hostileDropChancePercent": 15.0,
// 投掷的鸡蛋将配置的 Boss 生物转换为刷怪蛋的概率(百分比)。
"bossDropChancePercent": 5.0,
// 如果为 true,Eggify 需要 LuckPerms 权限节点。
"useLuckPerms": false,
// 如果为 true,非 OP 玩家可以使用 eggify.command 权限使用 /eggify info。
"allowCommandPermissionNode": false,
// 如果为 true,非 OP 玩家可以在不使用 LuckPerms 的情况下使用 /eggify held。
"allowDebugCommand": false,
// 启用 Egg of No Escape 配方和必定捕获效果。
"enableSpecialEgg": true,
// 未命中的 Egg of No Escape 完好无损掉落回来的概率(百分比)。
"specialEggRecoveryChancePercent": 50.0,
// 此列表中的生物使用 Boss 稀有度。
// 只有拥有原版刷怪蛋的生物才能真正被捕获。
"bossMobs": [
"minecraft:wither"
],
// 此列表中的生物永远不能被 eggify。
"blacklistedMobs": []
}
? 变体说明
Eggify 尝试保留有用的身份数据,同时剥离实时运行时数据,如位置、速度、生命值、AI 状态、效果、物品栏和交易状态。
这意味着模组旨在保留以下内容:
- 幼崽 vs 成年
- 羊的颜色
- 兔子的毛皮花纹
- 哞菇的类型
- 青蛙的类型
- 村民的生物群系、职业和等级
- 狼的毛皮花纹
- 骆驼的颜色和商人类型
- 猫的花色
- 山羊的类型
- 熊猫的性格
- 鹦鹉的颜色
- 美西螈的颜色
Tropical Fish 故意不包含在变体保留范围内。
For Server Owners
推荐的 LuckPerms 示例:
/lp user <player> permission set eggify.use true
/lp user <player> permission set eggify.command true
/lp user <player> permission set eggify.debug true
/lp user <player> permission set eggify.special.craft true
/lp user <player> permission set eggify.special.use true
如果你希望非 OP 玩家在不使用 LuckPerms 的情况下使用 /eggify info,请同时设置:
"allowCommandPermissionNode": true
如果你希望非 OP 玩家在不使用 LuckPerms 的情况下使用 /eggify held,请同时设置:
"allowDebugCommand": true
LuckPerms 文档:
?️ 测试服务器
欢迎加入我的 Minecraft 服务器以测试我的模组:play.swordfishbe.eu

? Eggify
Throw an egg… claim the mob.
Eggify is a Fabric mod for Minecraft that gives thrown eggs a configurable chance to convert a mob into its spawn egg.
When an eggify succeeds:
- the mob disappears with portal-style particles and a sound is played
- the mob drops its spawn egg
- the dropped spawn egg keeps useful variant data when possible
Examples:
Gray Sheep -> Sheep Spawn Egg with Color: Gray
Savanna Armorer Villager -> Villager Spawn Egg with biome, profession and level
Screaming Goat -> Goat Spawn Egg with Type: Screaming
Sulfur Cube with an absorbed block -> Sulfur Cube Spawn Egg that keeps its absorbed content
✨ Features
- Configurable passive, hostile and boss drop chances for mobs with vanilla spawn eggs
- Craftable
Egg of No Escape for guaranteed captures
- LuckPerms support through fabric-permissions-api
- Blacklist support for mobs that should never drop spawn eggs
- Variant preservation for many mobs
- Spawn egg tooltip details such as age, color, biome, profession, coat, personality or type
The Egg of No Escape recipe uses 8 diamonds around 1 egg. It shows up in the recipe book with its custom name, guarantees capture on a hit, and on a miss it has a 50% default chance to drop back intact instead of breaking.
Craft this recipe at a crafting table. Automated Crafters reject it without consuming ingredients because crafting requires a player permission check.
Eggify can only capture mobs that have a vanilla spawn egg. For example, the Wither works, but the Ender Dragon does not because Minecraft does not provide a vanilla dragon spawn egg.
? Commands
/eggify info
Shows the current Eggify configuration.
/eggify held
Shows debug info for the item in your main hand.
/eggify reload
Reloads the config file.
? Permissions
Eggify supports the following permission nodes when useLuckPerms=true:
eggify.use
Allows the player to eggify mobs with regular thrown eggs.
eggify.command
Allows the player to use /eggify info.
eggify.debug
Allows the player to use /eggify held.
eggify.special.craft
Allows the player to craft the Egg of No Escape.
eggify.special.use
Allows the player to throw and use the Egg of No Escape.
Notes:
- Without LuckPerms, eggifying is available to everyone.
- Without active LuckPerms integration,
/eggify info is controlled by allowCommandPermissionNode.
- Without active LuckPerms integration,
/eggify held is controlled by allowDebugCommand.
/eggify reload is always OP-only.
- When
useLuckPerms=true and LuckPerms is installed, allowCommandPermissionNode and allowDebugCommand are ignored.
- OP players can still use the admin commands even when LuckPerms support is enabled.
eggify.special.use is independent from eggify.use, so servers can give special eggs as rewards without also allowing regular eggifying.
⚙️ Configuration
The config file is created at: config/eggify.json
The file includes inline comments to explain every option.
Default config:
// Eggify configuration
{
// Chance in percent that a thrown egg converts a passive mob into its spawn egg.
"passiveDropChancePercent": 30.0,
// Chance in percent that a thrown egg converts a hostile mob into its spawn egg.
"hostileDropChancePercent": 15.0,
// Chance in percent that a thrown egg converts a configured boss mob into its spawn egg.
"bossDropChancePercent": 5.0,
// When true, Eggify requires LuckPerms permission nodes.
"useLuckPerms": false,
// When true, non-OP players can use /eggify info with eggify.command.
"allowCommandPermissionNode": false,
// When true, non-OP players can use /eggify held without LuckPerms.
"allowDebugCommand": false,
// Enables the Egg of No Escape recipe and guaranteed capture effect.
"enableSpecialEgg": true,
// Chance in percent that a missed Egg of No Escape drops back intact.
"specialEggRecoveryChancePercent": 50.0,
// Mobs in this list use the boss rarity.
// Only mobs with a vanilla spawn egg can actually be captured.
"bossMobs": [
"minecraft:wither"
],
// Mobs in this list can never be eggified.
"blacklistedMobs": []
}
? Variant Notes
Eggify tries to preserve useful identity data while stripping live runtime data like position, velocity, health, AI state, effects, inventory and trade state.
This means the mod aims to keep things like:
- baby vs adult
- sheep color
- rabbit coat
- mooshroom type
- frog type
- villager biome, profession and level
- wolf coat
- llama color and trader type
- cat coat
- goat type
- panda personality
- parrot color
- axolotl color
Tropical Fish is intentionally excluded from variant preservation.
For Server Owners
Suggested LuckPerms examples:
/lp user <player> permission set eggify.use true
/lp user <player> permission set eggify.command true
/lp user <player> permission set eggify.debug true
/lp user <player> permission set eggify.special.craft true
/lp user <player> permission set eggify.special.use true
If you want non-OP players to use /eggify info without LuckPerms, also set:
"allowCommandPermissionNode": true
If you want non-OP players to use /eggify held without LuckPerms, also set:
"allowDebugCommand": true
LuckPerms docs:
- Official wiki:
- Command usage:
- GitHub wiki mirror:
?️ Test Server
Feel free to join my Minecraft server to test my mods: play.swordfishbe.eu
评论 0
登录后参与评分
还没有评论,来抢沙发吧