跳到正文

Conditional Tips

作者:kyazuki

An addon for the Tips mod that lets you show tips only under specific conditions.

收藏

介绍

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

Conditional Tips is an addon for the Tips mod. With this addon, you can define custom conditions for when a tip should appear.

Conditions

Dimensions

  • Whitelist:
{
  "type": "conditional_tips:conditional_tip",
  "tip_conditions": [
    {
      "dimensions": [
        "minecraft:the_nether",
        "minecraft:the_end"
      ]
    }
  ],
  "tip": {
    "text": "This tip is only shown when you're in the nether or the end."
  }
}
  • Blacklist:
{
  "type": "conditional_tips:conditional_tip",
  "tip_conditions": [
    {
      "excludeDimensions": [
        "minecraft:overworld"
      ]
    }
  ],
  "tip": {
    "text": "This tip is only shown when you're not in the overworld."
  }
}

Advancements

  • Whitelist:
{
  "type": "conditional_tips:conditional_tip",
  "tip_conditions": [
    {
      "advancements": [
        "minecraft:story/lava_bucket"
      ]
    }
  ],
  "tip": {
    "text": "This tip is only shown when you had the \"Hot Stuff\" advancement."
  }
}
  • Blacklist:
{
  "type": "conditional_tips:conditional_tip",
  "tip_conditions": [
    {
      "unachievedAdvancements": [
        "minecraft:story/lava_bucket"
      ]
    }
  ],
  "tip": {
    "text": "This tip is only shown when you don't have the \"Hot Stuff\" advancement yet."
  }
}

Multiple Conditions

  • AND
{
  "type": "conditional_tips:conditional_tip",
  "tip_conditions": [
    {
      "dimensions": [
        "minecraft:the_nether"
      ],
      "advancements": [
        "minecraft:nether/root"
      ]
    }
  ],
  "tip": {
    "text": "This tip is only shown when you're in the nether and had the advancement."
  }
}
  • OR
{
  "type": "conditional_tips:conditional_tip",
  "tip_conditions": [
    {
      "dimensions": [
        "minecraft:the_nether"
      ]
    },
    {
      "dimensions": [
        "minecraft:the_end"
      ]
    }
  ],
  "tip": {
    "text": "This tip is only shown when you're in the nether or the end."
  }
}

常见问题

Conditional Tips 支持哪些 Minecraft 版本?

Conditional Tips 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Conditional Tips 怎么安装?

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

评论

登录后评论和评分