? 这个模组是什么?
Mischievous Skull 模组为游戏引入了一个全新的方块——一具神秘的头颅,带来了独特的机制。一旦该头颅被破坏,玩家将获得一个随机的 Lv.1 状态效果(例如力量、速度、急迫等),且持续时间为无限。这一特性非常适合冒险地图创作者,他们可以通过将这些头颅放置在关键位置来增加不可预测性和策略性,从而提升游戏体验。
该头颅的设计灵感来源于《Hunt Showdown》中的 Traits charms,为你的冒险增添了一丝调皮的气息。无论你是正在设置具有挑战性的任务,还是仅仅想尝试新的玩法动态,Mischievous Skull 模组都肯定能为你的世界带来一些有趣的惊喜。
自定义效果
你可以通过提供位于以下路径的 数据资源 来更改头颅可以随机抽取的状态效果及其持续时间:
data/mischievous-skull/skull_effects.json
该文件可以来自:
- 世界文件夹下的 数据包(例如
saves/<world>/datapacks/<your_pack>/data/mischievous-skull/skull_effects.json)。
- 包含
data/ 目录树的 资源包(在资源包根目录下使用相同的路径)。
模组 JAR 包内自带默认的 skull_effects.json。优先级较高的包会覆盖优先级较低的包,这与其他 Minecraft 数据的处理方式相同。在专用服务器上,修改文件后请运行 /reload 以重新加载服务器数据。
格式
effects:对象数组。
id:状态效果标识符(namespace:path),例如原版的 minecraft:strength 或其他模组的 examplemod:my_effect。
duration(可选):持续时间的 游戏刻数(20 刻 = 1 秒)。省略此字段或将其设置为 0 表示 无限 持续时间。大于 0 的值将应用定时效果。
如果文件缺失、无效或 effects 为空,模组将回退到其内置列表(与之前相同的九个正面效果)。未知的效果 ID 将被跳过,并在日志中发出警告。
示例(原版 + 定时效果)
{
"effects": [
{ "id": "minecraft:strength", "duration": 0 },
{ "id": "minecraft:speed", "duration": 200 }
]
}
在此示例中,力量效果将以无限持续时间随机抽取,而速度效果在应用时将持续 200 刻(10 秒)。
示例(来自其他模组的效果)
另一个模组必须 注册 该状态效果,并在你的实例中 加载。使用该模组的命名空间及效果路径(请参阅其文档或数据)。
{
"effects": [
{ "id": "minecraft:regeneration", "duration": 0 },
{ "id": "examplemod:my_custom_effect", "duration": 600 }
]
}
如果未安装 examplemod 或未注册 examplemod:my_custom_effect,则在重载时该行将被忽略并记录警告;列表中的其余部分仍然生效。
截图

Mischievous Skull
头颅给予的随机效果
? What's this mod?
The Mischievous Skull mod introduces a new block into the game—a mysterious skull that offers a unique twist. Once destroyed, the skull grants the player a random Level 1 effect (such as Strength, Speed, Haste, etc.) with an infinite duration. This feature is perfect for adventure map creators looking to add an element of unpredictability and strategy, placing these skulls in key locations to enhance the gameplay experience.
The design of the skull is inspired by the Traits charms from the game Hunt Showdown, adding a touch of mischievousness to your adventures. Whether you're setting up a challenging quest or simply want to experiment with new gameplay dynamics, the Mischievous Skull mod is sure to add some fun surprises to your world.
Customizing effects
You can change which status effects the skull can roll, and how long each one lasts, by providing a data resource at:
data/mischievous-skull/skull_effects.json
That file can come from:
- A datapack under your world folder (for example
saves/<world>/datapacks/<your_pack>/data/mischievous-skull/skull_effects.json).
- A resource pack that includes a
data/ tree (the same path under the pack root).
The mod ships a default skull_effects.json inside the mod JAR. Packs with higher priority override lower ones, like other Minecraft data. On a dedicated server, run /reload after changing the file so server data is reloaded.
Format
effects: array of objects.
id: status effect identifier (namespace:path), e.g. vanilla minecraft:strength or another mod’s effect examplemod:my_effect.
duration (optional): duration in game ticks (20 ticks = 1 second). Omit the field or set it to 0 for infinite duration. Values greater than 0 apply a timed effect.
If the file is missing, invalid, or effects is empty, the mod falls back to its built-in list (the same nine positive effects as before). Unknown effect IDs are skipped with a warning in the log.
Example (vanilla + timed effect)
{
"effects": [
{ "id": "minecraft:strength", "duration": 0 },
{ "id": "minecraft:speed", "duration": 200 }
]
}
Here, Strength can roll with infinite duration, and Speed with 200 ticks (10 seconds) when applied.
Example (effect from another mod)
Another mod must register that status effect and be loaded in your instance. Use that mod’s namespace and effect path (check its documentation or data).
{
"effects": [
{ "id": "minecraft:regeneration", "duration": 0 },
{ "id": "examplemod:my_custom_effect", "duration": 600 }
]
}
If examplemod is not installed or does not register examplemod:my_custom_effect, that line is ignored at reload time and a warning is logged; the rest of the list still applies.
Screenshots

The Mischievous Skull
Random effect give by the skull
评论 0
登录后参与评分
还没有评论,来抢沙发吧