生物转换蛋模组
转化任意生物为对应的生成蛋,只需简单的SHIFT + 右键点击!
为想要轻松收集和**迁移生物**的玩家提供便利!
? 核心功能
- 精准瞄准 - 使用先进的射线检测技术,准确识别你正在注视的生物
- 支持 80+ 种生物 - 适用于被动、中立、敌对及特殊生物
- 操作简便 - 手持胡萝卜钓竿时按住 SHIFT + 右键即可
- 音效与视觉反馈 - 转换成功时会听到声音并看到粒子效果
- 25 格范围 - 可在最多 25 格远的距离转换生物
- 性能优化 - 高效的射线检测系统,不会导致游戏卡顿
- 无需资源包 - 纯数据包方案,开箱即用
? 使用方法
- 获取胡萝卜钓竿 - 在创造模式合成或获取
- 找到生物 - 定位你想要转换的生物
- 瞄准生物 - 直视该生物
- 按住 SHIFT - 按下并按住潜行键
- 右键点击 - 使用胡萝卜钓竿
- 拾取生成蛋 - 生物消失并掉落其对应的生成蛋!
? 安装步骤
请按照以下步骤安装数据包:
- 下载数据包的
.zip 文件
- 进入你的 Minecraft 世界文件夹
- 将
.zip 文件放入 datapacks 文件夹中
- 重新加载世界或在游戏内使用
/reload 命令
- 聊天栏中应显示**确认消息**!
世界文件夹位置
- Windows:
%appdata%\.minecraft\saves\[WorldName]\datapacks
- macOS:
~/Library/Application Support/minecraft/saves/[WorldName]/datapacks
- Linux:
~/.minecraft/saves/[WorldName]/datapacks
⚙️ 配置要求
| 组件 |
详情 |
| Minecraft 版本 |
1.21.11 (Java 版) |
| 数据包格式 |
94 |
| 依赖项 |
无 |
| 资源包 |
不需要 |
✨ 支持的生物
被动生物
悦灵、犰狳、美西螈、蝙蝠、骆驼、猫、鸡、鳕鱼、牛、驴、狐狸、青蛙、发光鱿鱼、马、哞菇、骡、豹猫、鹦鹉、猪、河豚、兔子、鲑鱼、羊、骷髅马、嗅探兽、雪傀儡、鱿鱼、炽足兽、蝌蚪、热带鱼、海龟、村民、流浪商人
中立生物
蜜蜂、洞穴蜘蛛、海豚、溺尸、末影人、山羊、铁傀儡、羊驼、熊猫、猪灵、北极熊、蜘蛛、商人羊驼、狼、僵尸猪灵
敌对生物
烈焰人、灰烬傀儡、旋风人、苦力怕、远古守卫者、末影螨、唤魔者、恶魂、守卫者、疣猪兽、尸壳、岩浆怪、幻翼、猪灵蛮兵、掠夺者、劫掠兽、潜影贝、蠹虫、骷髅、史莱姆、流浪者、恼鬼、卫道士、监守者、女巫、凋灵骷髅、僵尸疣猪兽、僵尸、僵尸村民
? 兼容性
- ✅ 适用于生存和创造模式
- ✅ 与大多数其他数据包兼容
- ✅ 支持多人游戏
- ✅ 支持遵循原版生成蛋命名规范的模组生物
? 技术细节
工作原理
该数据包使用:
- 记分板目标 用于检测右键点击
- 谓词 用于检测潜行状态
- 射线检测系统 用于精准瞄准生物(最远 25 格)
- 执行命令 用于生物类型检测和转换
文件结构
mob_to_egg/
├── pack.mcmeta
└── data/
├── minecraft/
│ └── tags/
│ └── function/
│ ├── load.json
│ └── tick.json
└── mob_to_egg/
├── predicate/
│ └── is_sneaking.json
└── function/
├── load.mcfunction
├── tick.mcfunction
├── raycast.mcfunction
├── raycast_step.mcfunction
├── convert_mob.mcfunction
├── convert_mob_from_raycast.mcfunction
└── spawn_egg_by_type.mcfunction
调试命令
/scoreboard objectives setdisplay sidebar click
这将显示你是否正确注册了右键点击事件。
? 预览
转换生物时发生的情况
当你成功转换一个生物时:
- ? 生物位置会出现粒子效果
- ? 播放鸡蛋破壳声
- ? 动作栏出现绿色成功提示
- ? 生物位置掉落生成蛋
⚠️ 已知限制
- Boss 生物(末影龙、凋灵)无法被转换 - 它们在原版 Minecraft 中没有生成蛋
- 盔甲架和物品实体排除在转换之外
- 需要胡萝卜钓竿作为交互物品(这是 Minecraft 检测右键点击的限制)
? 许可证
此数据包可免费使用、修改和分发。虽不强制要求署名,但我们将不胜感激!
? 支持
Bug 报告与建议
发现 Bug 或有建议?欢迎通过 discord 联系我!
表示支持
如果你喜欢这个数据包,可以考虑:
- ? 分享给朋友
- ? 在我的 discord 上留下评论
- ? 制作视频展示该数据包
此数据包会频繁更新以改善游戏体验。
立即下载并开始转换吧!
Mob to Egg Converter
Transform any mob into its spawn egg with a simple SHIFT + Right-click!
For anyone who wants an easy way to collect and relocate mobs!
? Core Features
- Precision Targeting - uses advanced raycast technology to accurately detect the mob you're looking at
- 80+ Mobs Supported - works with passive, neutral, hostile, and special mobs
- Simple Controls - just SHIFT + Right-click with a Carrot on a Stick
- Audio & Visual Feedback - hear sounds and see particles when conversion is successful
- 25 Block Range - convert mobs from up to 25 blocks away
- Performance Optimized - efficient raycast system that doesn't lag your game
- No Resource Pack - pure datapack solution, works out of the box
? How to Use
- Get a Carrot on a Stick - craft or obtain one from creative inventory
- Find a Mob - locate the mob you want to convert
- Aim at the Mob - look directly at the mob
- Hold SHIFT - press and hold your sneak key
- Right-Click - use your Carrot on a Stick
- Collect the Egg - the mob disappears and drops its spawn egg!
? Installation
Follow these steps to install the datapack:
- Download the datapack
.zip file
- Navigate to your Minecraft world folder
- Place the
.zip file in the datapacks folder
- Reload the world or use
/reload command in-game
- You should see a confirmation message in chat!
World Folder Location
- Windows:
%appdata%\.minecraft\saves\[WorldName]\datapacks
- macOS:
~/Library/Application Support/minecraft/saves/[WorldName]/datapacks
- Linux:
~/.minecraft/saves/[WorldName]/datapacks
⚙️ Requirements
| Component |
Details |
| Minecraft Version |
1.21.11 (Java Edition) |
| Pack Format |
94 |
| Dependencies |
None |
| Resource Pack |
Not required |
✨ Supported Mobs
Passive Mobs
Allay, Armadillo, Axolotl, Bat, Camel, Cat, Chicken, Cod, Cow, Donkey, Fox, Frog, Glow Squid, Horse, Mooshroom, Mule, Ocelot, Parrot, Pig, Pufferfish, Rabbit, Salmon, Sheep, Skeleton Horse, Sniffer, Snow Golem, Squid, Strider, Tadpole, Tropical Fish, Turtle, Villager, Wandering Trader
Neutral Mobs
Bee, Cave Spider, Dolphin, Drowned, Enderman, Goat, Iron Golem, Llama, Panda, Piglin, Polar Bear, Spider, Trader Llama, Wolf, Zombified Piglin
Hostile Mobs
Blaze, Bogged, Breeze, Creeper, Elder Guardian, Endermite, Evoker, Ghast, Guardian, Hoglin, Husk, Magma Cube, Phantom, Piglin Brute, Pillager, Ravager, Shulker, Silverfish, Skeleton, Slime, Stray, Vex, Vindicator, Warden, Witch, Wither Skeleton, Zoglin, Zombie, Zombie Villager
? Compatibility
- ✅ Works in both Survival and Creative mode
- ✅ Compatible with most other datapacks
- ✅ Multiplayer friendly
- ✅ Works with modded mobs that follow vanilla spawn egg naming conventions
? Technical Details
How it Works
The datapack uses:
- Scoreboard objectives for right-click detection
- Predicates for sneak detection
- Raycast system for accurate mob targeting (up to 25 blocks)
- Execute commands for mob type detection and conversion
File Structure
mob_to_egg/
├── pack.mcmeta
└── data/
├── minecraft/
│ └── tags/
│ └── function/
│ ├── load.json
│ └── tick.json
└── mob_to_egg/
├── predicate/
│ └── is_sneaking.json
└── function/
├── load.mcfunction
├── tick.mcfunction
├── raycast.mcfunction
├── raycast_step.mcfunction
├── convert_mob.mcfunction
├── convert_mob_from_raycast.mcfunction
└── spawn_egg_by_type.mcfunction
Debug Commands
/scoreboard objectives setdisplay sidebar click
This will show you if right-clicks are being registered properly.
? Preview
What Happens When You Convert a Mob
When you successfully convert a mob:
- ? Particle effects appear at the mob's location
- ? Chicken egg sound plays
- ? Green success message appears in your action bar
- ? Spawn egg drops at the mob's location
⚠️ Known Limitations
- Boss mobs (Ender Dragon, Wither) cannot be converted - they don't have spawn eggs in vanilla Minecraft
- Armor Stands and Item Entities are excluded from conversion
- Requires a Carrot on a Stick as the interaction item (Minecraft limitation for detecting right-clicks)
? License
This datapack is free to use, modify, and distribute. Credit is appreciated but not required!
? Support
Bug Reports & Suggestions
Found a bug or have a suggestion? Feel free to message me on the discord!
Show Your Support
If you enjoy this datapack, consider:
- ? Sharing it with friends
- ? Leaving a review on my discord
- ? Making a video showcasing the datapack
This datapack is getting frequently updated to improve the game experience.
Download now and start converting!
评论 0
登录后参与评分
还没有评论,来抢沙发吧