aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-03-21 23:29:30 +0800
committershedaniel <daniel@shedaniel.me>2021-03-21 23:29:30 +0800
commit7bbef49785f594dfe3d6eac0cfc6ee84841aae80 (patch)
tree257f04b3d0e32001ba140967ff505d128f303ffc /runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java
parent53a861009ae84680993ee95355155fddc4554490 (diff)
downloadRoughlyEnoughItems-7bbef49785f594dfe3d6eac0cfc6ee84841aae80.tar.gz
RoughlyEnoughItems-7bbef49785f594dfe3d6eac0cfc6ee84841aae80.tar.bz2
RoughlyEnoughItems-7bbef49785f594dfe3d6eac0cfc6ee84841aae80.zip
Rewrite search engine and expose as API
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java b/runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java
index 031f4b22e..e0d4f7274 100644
--- a/runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java
+++ b/runtime/src/main/java/me/shedaniel/rei/impl/PluginManagerImpl.java
@@ -38,6 +38,7 @@ import me.shedaniel.rei.api.util.CollectionUtils;
import me.shedaniel.rei.impl.entry.ItemComparatorRegistryImpl;
import me.shedaniel.rei.impl.registry.CategoryRegistryImpl;
import me.shedaniel.rei.impl.registry.DisplayRegistryImpl;
+import me.shedaniel.rei.impl.search.SearchProviderImpl;
import me.shedaniel.rei.impl.subsets.SubsetsRegistryImpl;
import me.shedaniel.rei.impl.transfer.TransferHandlerRegistryImpl;
import net.fabricmc.api.EnvType;
@@ -62,6 +63,7 @@ public class PluginManagerImpl implements PluginManager {
private final List<REIPlugin> plugins = new ArrayList<>();
public PluginManagerImpl() {
+ registerReloadable(new SearchProviderImpl());
registerReloadable(new ConfigManagerImpl());
registerReloadable(new EntryTypeRegistryImpl());
registerReloadable(new ItemComparatorRegistryImpl());