diff --git a/README.md b/README.md index 3252731..65fb63f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ 一个改进 1.7.10 中 NEI 搜索功能的 mod,让 NEI 支持拼音搜索与 JEI 风格的关键字匹配 -同时也使一些其他的mod支持拼音搜索,目前支持的有: +当前版本在原来的基础上添加了NEI以外的拼音搜索兼容 ,使其更类似于[JustEnoughCharacters](https://github.com/Towdium/JustEnoughCharacters) , + +目前支持的Mod有: `Applied Energistics 2` @@ -16,6 +18,9 @@ `GTNH版本Better Questing添加的任务搜索` +`Just Enough Calculation` + +`Logistics Pipes` ## 主要功能 @@ -25,10 +30,8 @@ - `@` 前缀的关键字匹配物品所属的 mod,如匠魂中的「混凝土」可用 `@tcon hnt` 搜索到 - `$` 前缀的关键字匹配矿物辞典,如所有的 GT 热金属锭可用 `$ingothot` 搜索到 - `&` 前缀的关键字匹配物品 ID - -## TODO -~~添加配置文件,使对应兼容可以在配置文件添加~~ -- 添加暴力兼容模式 +- 添加了模糊音的配置文件 +- 可以在配置文件来添加对应mod的兼容(基于[JustEnoughCharacters](https://github.com/Towdium/JustEnoughCharacters)) ## 注意事项 @@ -36,13 +39,16 @@ 推荐原版 NEI 用户升级至上述的修改版 NEI,因为它极大地提升了 NEI 的搜索性能,并且移植了一些 JEI 的功能进来。 +虽然此修改版本添加了别的mod兼容,但是它还是需要NEI + ## 鸣谢 此 mod 的核心功能基于 [JustEnoughCharacters](https://github.com/Towdium/JustEnoughCharacters) 的作者开发的拼音匹配工具 [PinIn](https://github.com/Towdium/PinIn)。 PinIn 实现了一套基于 NFA 的拼音匹配算法……算了,我没有这方面的知识,而且词穷,反正就是:非常智能!性能很好!吹爆! -ASM部分来自Towdium的[JustEnoughCharacters](https://github.com/Towdium/JustEnoughCharacters) +ASM部分基于Towdium的[JustEnoughCharacters](https://github.com/Towdium/JustEnoughCharacters) + ## 协议 此项目是采用 GNU General Public License v3 or later 协议的自由软件。 diff --git a/build.gradle b/build.gradle index 4f742c0..5a64fce 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { } } dependencies { - classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-1.4.0-SNAPSHOT' + classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-1.4.5-SNAPSHOT' } } @@ -31,10 +31,12 @@ minecraft { repositories { mavenCentral() + jcenter() maven { name 'chickenbones' url 'http://chickenbones.net/maven' } + maven { url 'https://jitpack.io' } flatDir { dirs 'libs' } @@ -52,7 +54,7 @@ dependencies { compile 'codechicken:CodeChickenLib:1.7.10-1.1.3.138:dev' compile 'codechicken:CodeChickenCore:1.7.10-1.0.7.+:dev' - shade "com.github.towdium:pinin:${verpinin}-all" + shade "com.github.towdium:pinin:${verpinin}" } diff --git a/gradle.properties b/gradle.properties index 858eba3..71c19bf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ org.gradle.daemon=false # General Specifications mc_version=1.7.10 -mod_version=1.4.3 +mod_version=1.4.5 forge_version=10.13.4.1614 mod_group=com.github.vfyjxf.nechar mod_id=nechar diff --git a/src/main/java/net/vfyjxf/nechar/NechConfig.java b/src/main/java/net/vfyjxf/nechar/NechConfig.java index a2e93b4..2413284 100644 --- a/src/main/java/net/vfyjxf/nechar/NechConfig.java +++ b/src/main/java/net/vfyjxf/nechar/NechConfig.java @@ -31,7 +31,9 @@ public class NechConfig { "vswe.stevesfactory.components.ComponentMenuLiquid:updateSearch", // Steve's Factory Manager liquid search "vswe.stevesfactory.components.ComponentMenuItem:updateSearch", // Steve's Factory Manager item search "betterquesting.api2.client.gui.panels.lists.CanvasQuestSearch:queryMatches", //Better Questing quest search --gtnh - "me.towdium.jecalculation.utils.Utilities$I18n:contains" // Just Enough Calculation + "me.towdium.jecalculation.utils.Utilities$I18n:contains",// Just Enough Calculation + "logisticspipes.gui.orderer.GuiOrderer:isSearched", // Logistics Pipes orderer + "logisticspipes.gui.orderer.GuiRequestTable:isSearched" // Logistics Pipes request table }; public static void loadConfig(File configFile) {