Download Regex Search — Minecraft Mods — MetaMods
Regex Search

Regex Search

Active

Downloads

0

Last update

2 years ago

Versions

1.20.1
Client and server
Fabric
Control
Storage
Utils

Regex Search

Open up new possibilities for searching items in the Minecraft world! This mod allows you to find any objects based on various criteria: name, modification, identifier, tags, and tooltips.

Main Features

The mod offers three search modes for maximum flexibility:

  • Regular Expressions - powerful search using regex
  • Extended Notation - special prefixes for precise searching
  • Text Search - regular text-based search

Visual Highlighting

Found items are highlighted in the world, making them easy to spot even through walls. The system also shows the type of container where the sought object is located.

Search Settings

You can search among blocks, entities, or both categories simultaneously. An option for case sensitivity is also available.

How to Use

Open the search window using the Y key (configurable). Enter your query and press Enter to start searching. To remove highlighting, simply clear the search field. Up/down arrows allow you to browse previous search history.

Search Window

In the search interface, you can configure:

  1. Case sensitivity
  2. Saving the last search
  3. Search area (blocks, entities, or both)
  4. Search mode

Extended Notation

Special prefixes allow you to precisely specify which item attribute to search:

  • @mod - items from the specified modification
  • id - items with identifier containing the specified text
  • $tag - search by item tags
  • #tooltip - search in tooltip text
  • name - search by item name
  • -negate - exclude items matching the condition
  • ^word - attribute starts with the specified text
  • word$ - attribute ends with the specified text

Usage Examples

@minecraft Finds all items from Minecraft, including minecraft2, not_minecraft and similar

^redstone Items whose identifier starts with "redstone"

-#a All items that don't contain the letter "a" in their tooltips

^sword$ Only items with the exact name "sword"

Server Settings

  • int range - search radius in all directions
  • int recursionLimit - nesting depth for search (-1 for unlimited)
  • int maxInventories - maximum number of containers to return (-1 for unlimited)
  • int maxSearchResults - total number of items to return (-1 for unlimited)
  • int maxSearchResultsPerInventory - maximum number of items per container (-1 for unlimited)
Project members
Natanaelel

Natanaelel

Developer

Natte

Natte

Created: 7 Sep 2023

ID: 14966