跳到正文

Create Regex

作者:CWTDev

Adds RegEx to creates addresses

收藏

介绍

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

Regex Override for Create’s Frog Filtering

This mod adds the ability to replace Create’s default glob-style matching for frogs with full Regular Expression (RegEx) support.

  • By default, Create’s simplified glob matching is still used.
  • To use RegEx matching, start your address pattern with the prefix: RegEx:
  • The mod will then interpret the rest of the address as a Java regular expression and match accordingly.

🔎 Important Note

If RegEx: is followed by a space or other whitespace, that whitespace becomes part of the regular expression — meaning it will only match addresses that start with that space.


💡 Example

RegEx:hello.*

✅ Matches: hello, helloWorld
❌ Does not match: ⠀hello (with a space at the start)

RegEx: hello.*

(with a space after the colon)

✅ Matches: ⠀hello, ⠀helloWorld (only if the address starts with a space)
❌ Does not match: hello, helloWorld

常见问题

Create Regex 支持哪些 Minecraft 版本?

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

Create Regex 怎么安装?

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

评论

登录后评论和评分

CWTDev 的其他作品

查看全部 →