容器内不可放置龙蛋
在多人服务器(SMP)中,龙蛋是终极奖杯——每个世界仅有一枚,持有者便拥有炫耀的资本。本模组确保这一规则不变。它阻止龙蛋被存入任何容器,从而防止有人将服务器中最稀有的物品悄悄锁进隐藏的箱子、末影箱或背包里的潜影盒中。如果龙蛋意外进入了容器,它会立即弹出并落在上方,使其成为一个必须携带、守护和争夺的物理实体,而非被藏匿于视线之外。非常适合用于寻蛋活动、“守住龙蛋”挑战,或确保服务器中的龙蛋争夺战不会因某人将其塞进储物间而平息。
禁止存放的范围
所有容器:箱子、陷阱箱、木桶、潜影盒、末影箱、漏斗、发射器、投掷器、锻造台、熔炉/高炉/烟熏炉、雕纹书架以及新的木制架子(所有木材类型)
自动化设备同样受限:漏斗、漏斗矿车、发射器和锻造台无法将龙蛋投入任何地方
储物矿车与载有箱子的船只
龙蛋永远不会丢失或被虚空清除——若无法放入容器,它将安全掉落至玩家身边或方块顶部
控制指令
/noeggincontainers on / off / status —— 实时切换开关(仅限 OP),设置重启后依然保存
备注
服务端模组——仅需服务器安装;原版客户端可正常加入
需要 Fabric API。专为 Minecraft 1.21.11 (Fabric) 构建
No Egg In Containers
On an SMP the dragon egg is the trophy — there's only one per world, and whoever holds it holds bragging rights. This mod keeps it that way. It stops the dragon egg from ever being stashed inside a container, so nobody can quietly lock the server's rarest item away in a hidden chest, an ender chest, or a shulker in their backpack. If the egg somehow ends up in a container anyway, it's instantly popped back out on top, keeping it a physical, contestable object that has to be carried, guarded, and fought over instead of tucked out of sight. Perfect for egg-hunt events, "keep the egg" challenges, or just making sure your server's dragon egg drama never gets buried in someone's storage room.
What it blocks
Every container: chests, trapped chests, barrels, shulker boxes, ender chests, hoppers, droppers, dispensers, crafters, furnaces/blast furnaces/smokers, chiseled bookshelves, and the new wooden shelves (all wood types)
Automation too: hoppers, hopper minecarts, droppers, and crafters can't feed an egg into anything
Storage minecarts & chest boats
The egg can never be lost or voided — if it can't stay in a container, it drops safely back to you or on top of the block
Controls
/noeggincontainers on / off / status — toggle it live (ops only), setting saves across restarts
Notes
Server-side — only the server needs it; vanilla clients can join fine
Requires Fabric API. Built for Minecraft 1.21.11 (Fabric)
评论 0
登录后参与评分
还没有评论,来抢沙发吧