跳到正文

Regex Search

作者:Natanaelel

Search and highlight items in the world using Regular Expressions

收藏

截图

介绍

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

Regex Search

Search for items in the world. You can search by name, mod, id, tags and tooltips.

Highlights matching items in the world so you can easily find them.

Features

Different search modes

  • Regex: Search using regular expressions
  • Extended: Search using extended notation, see below
  • Literal: Search with normal text

Highlight items

  • Items matching your query gets highlighted
  • Can be seen through walls
  • Show what kind of container the item lies in

Search options

  • Search in blocks, entities, or both
  • Match or ignore letter case

How to use

Open search screen using Y (configurable)

Press enter to search

Clear search field to remove highlights

Use up/down arrows for search history

Search screen

Here you can select

  1. Whether to match or ignore letter case
  2. If your last search will be remembered
  3. Search in blocks, entities, or both
  4. Select search mode

Extended notation

Extended notation allows you to specify which attribute to match by using different prefixes.

  • @mod Matches all items from the mod mod
  • *id Matches all items whose item id contains id
  • $tag Matches the item’s tags
  • #tooltip Matches the item’s tooltip
  • name Matches the item’s name
  • -negate Matches everything that does not match negate
  • ^word Matches items whose attribute starts with word
  • word$ Matches items whose attribute ends with word

Examples

@minecraft
Matches everything from minecraft. Also matches items from minecraft2 not_minecraft etc.

*^redstone
Matches items whose id starts with redstone

-#a
Matches all items whose tooltip does not contain the letter a

^sword$
Matches only items whose name is exactly sword

Server-side config

  • int range Search range in all directions
  • int recursionLimit How many levels of nesting to search, -1 for no limit
  • int maxInventories Max number of containers to return, -1 for no limit
  • int maxSearchResults Total number of items to return, -1 for no limit
  • int maxSearchResultsPerInventory -1 for no limit

常见问题

Regex Search 支持哪些 Minecraft 版本?

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

Regex Search 怎么安装?

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

评论

登录后评论和评分

Natanaelel 的其他作品

查看全部 →