Mod

SearchWorldEnhance

Quick rating

SearchWorldEnhance

No reviews yet

Add a “Search World” box for MC pre-1.13 || Enhance the searching behaviour

API/Library
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
GNU Lesser General Public License v3.0 or later
Latest Version
0.0.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Mod Synopsis

This is a lightweight mod run on client-side, which brings a “Search World” box to world selection screens(prior MC 1.13) and enhance the searching behaviour by using key-value pair arguments.

How to Use This Mod

This mod adds a “Search World” box to the world select screen(prior MC 1.13), and the searching behaviour is now like this:
worlddirname-=foo - Search for worlds whose directory names contain foo, case-sensitive
worldname/="^New World$" - Search for worlds whose names exactly are New World, case-insensitive
gamemode=S,commands=true - Search for worlds whose default game modes are Survival and commands are enabled

Format of Arguments

Each two key-value pairs are separated by ,(which means &&(and), and trailing , is allowed once). In contrast, a key-value pair is like this: <key_name><relationship_symbol><value>.
For regex keys, available relationship symbols are:

  • = - left contains right, case-insensitive
  • != - left does not contain right, case-insensitive
  • -= - left contains right, case-sensitive
  • !-= - left does not contain right, case-sensitive
  • /= - left matches right, case-insensitive
  • !/= - left does not match right, case-insensitive
  • /-= - left matches right, case-sensitive
  • !/-= - left does not match right, case-sensitive

Values are strings like this:

  • foo - resolved as foo
  • "Foo Bar" - resolved as Foo Bar
  • "One says \"\\s are useful\"" - resolved as One says "\s are useful"

For long keys, available relationship symbols are:

  • = and == - left equals right
  • < - left is less than right
  • <= - left is less than or equal to right
  • > - left is greater than right
  • >= - left is greater than or equal to right
  • != - left does not equal right

Values are long integers like this:

  • 0
  • 1234567
  • -98765432109999

For enum keys, available relationship symbols are:

  • = - left is right
  • != - left is not right

Values are all enums defined by the enum class and null.

For boolean keys, there is only one available relationship symbol =(means left is right).

Values are like this:

  • true, t, yes, y, 1 - for true
  • false, f, no, n, 0 - for false

If the format of arguments is valid, expected search result will be shown. Note that results of original search behaviour will be shown together, e.g. if there is a world named gamemode=C whose default gamemode is Survival, when you type gamemode=C in the box, this world will still be shown as a part of the result. If you want to avoid this, you can type worldname!="gamemode=C",gamemode=C in the box.

All Key-value Pair Parameters Added by This Mod

worldname(Regex) - Match world names
worlddirname(Regex) - Match world directory names
lastplayed(Long) - Match last played time
gamemode(Enum made up by S, C, A, SP) - Match default game modes
commands(Boolean) - Match commands enabling statuses
hardcore(Boolean) - Match whether the worlds are hardcore

I Want to Add My Key-value Pair Parameters!

There is a class rege.rege.minecraftmod.searchworldenhance.util.SearchKeyRegistry in this mod, you should register yours using this class's static methods. All valid keys are non-empty strings without -, , =, !, >, <, ,, /, ", \. An example is in the static block of rege.rege.minecraftmod.searchworldenhance.SearchWorldEnhanceMain's source code.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync