跳到正文

Wiki Lookup

作者:Grend

Adds the /wiki command to quickly and easily look things up on Minecraft wiki!

收藏

介绍

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

Wiki Lookup is a simple mod that adds two convenient ways to look up anything from in-game.  These lookups will open up in your system’s default web browser.

  • First, it adds the /wiki command, which will look up whatever you type after it on Minecraft wiki (or another wiki of your choice, see below).
  • Second, it adds a new key binding (default: L) that will automatically look up any item that you are currently hovering over with your mouse.

This mod requires Iceberg, you can download it here. 

 

Client / Server

This mod is fully client-side.

 

Configuration

Please see the configuration file for detailed instructions!  The configuration file contains the following options:

  • wiki_definitions – A list of wikis to use in the format <mod id> = <wiki url>. A mod id of _ (underscore) will be used as the default wiki for any queries that a more specific wiki cannot be found for.  Defaults to Minecraft wiki for all queries.
  • open_in_new_tabs – Default true.  If set to false, Wiki Lookup will attempt to open all queries in the same browser tab.  This is accomplished via javascript tricks, so results may vary.
  • attempt_wiki_resolution – Default true.  If enabled and you have multiple wikis configured, this option will attempt to figure out the right wiki to use for each query.  May be slow for large modpacks.

 

Example wiki definitions

All wiki URLs should use the Search function of the wiki, and contain a placeholder of {} where the query will go.

 

Vanilla Minecraft

    [client.options.wiki_definitions]

        _ = “https://minecraft.fandom.com/wiki/Special:Search?go=Search&search={}”

 

FTB modpack

        [client.options.wiki_definitions]
            _ = “https://ftb.fandom.com/wiki/Special:Search?go=Search&search={}”
            minecraft = “https://minecraft.fandom.com/wiki/Special:Search?go=Search&search={}”

 

 

You are free to use this mod in modpacks.

 

Problems, feature request, something else?  Join us on Discord!

常见问题

Wiki Lookup 支持哪些 Minecraft 版本?

Wiki Lookup 支持 Minecraft Java 版 1.16.5–1.20.2,共 4 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Wiki Lookup 怎么安装?

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

评论

登录后评论和评分

Grend 的其他作品

查看全部 →