跳到正文

Ice & Fire Mount Control

作者:Ethane

A server-side addon for modpack authors to gate Ice and Fire creature mounts behind progression, commands, config, or datapacks.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Ice and Fire Mount Control is a server-side configuration addon for modpack authors.

It blocks riding selected Ice and Fire mounts until they are enabled by the pack or server. This lets you gate flying, aquatic, and other creature mounts behind progression without changing taming, breeding, combat, inventories, or creature AI.

Mount access can be managed with in-game commands, server config, or datapacks.

1. In game

By default, controlled mounts are blocked. Run these as an operator:

/iafmountcontrol allow iceandfire:hippogryph
/iafmountcontrol deny iceandfire:hippogryph
/iafmountcontrol status iceandfire:hippogryph
/iafmountcontrol list

allow and deny apply to every player on the server.

2. Configuration

After starting the server once, edit iafmountcontrol-server.toml while the server is stopped.

enabled = true
allowedMounts = [
  "iceandfire:hippogryph",
  "iceandfire:hippocampus"
]
sendDenialMessage = true
messageDisplay = "ACTION_BAR"

Add entity IDs to allowedMounts to allow them from the start. Set enabled = false to disable the addon without deleting the list.

3. Datapack integration

Use a datapack advancement, quest reward, function, command block, or script to unlock a mount:

iafmountcontrol allow iceandfire:hippogryph

For example, put that command in an advancement reward function when the player completes a progression milestone. The unlock is server-wide.

To add mounts from other mods, create or extend:

data/iafmountcontrol/tags/entity_type/controlled_mounts.json
{
  "replace": false,
  "values": [
    "anothermod:rideable_creature"
  ]
}

Then run /reload.

常见问题

Ice & Fire Mount Control 支持哪些 Minecraft 版本?

Ice & Fire Mount Control 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Ice & Fire Mount Control 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Ethane 的其他作品

查看全部 →