diff options
| author | shedaniel <daniel@shedaniel.me> | 2022-07-19 00:06:17 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2022-07-27 00:56:05 +0800 |
| commit | 664815d74ffdc030fd52f0ed0480b1cd615ef384 (patch) | |
| tree | acf194d0ca0c6c7b04c1782af3d2507455f56d5a /runtime | |
| parent | 2c47af75968e2bdfae717d52cd0c137ed542673b (diff) | |
| download | RoughlyEnoughItems-664815d74ffdc030fd52f0ed0480b1cd615ef384.tar.gz RoughlyEnoughItems-664815d74ffdc030fd52f0ed0480b1cd615ef384.tar.bz2 RoughlyEnoughItems-664815d74ffdc030fd52f0ed0480b1cd615ef384.zip | |
Add InputMethods, Close #574
Diffstat (limited to 'runtime')
95 files changed, 3103 insertions, 928 deletions
diff --git a/runtime/build.gradle b/runtime/build.gradle index 8feb90d1e..c9e4677bb 100644 --- a/runtime/build.gradle +++ b/runtime/build.gradle @@ -18,6 +18,12 @@ dependencies { modApi("dev.architectury:architectury:${architectury_version}") compileClasspath(annotationProcessor("org.projectlombok:lombok:1.18.22")) compileClasspath(project(path: ":api", configuration: "namedElements")) + testImplementation(project(path: ":api", configuration: "namedElements")) + testImplementation("org.junit.jupiter:junit-jupiter:5.8.2") +} + +test { + useJUnitPlatform() } remapJar { diff --git a/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCoreClient.java b/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCoreClient.java index ac3d399ec..4c01ce177 100644 --- a/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCoreClient.java +++ b/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsCoreClient.java @@ -73,6 +73,7 @@ import me.shedaniel.rei.impl.client.registry.category.CategoryRegistryImpl; import me.shedaniel.rei.impl.client.registry.display.DisplayRegistryImpl; import me.shedaniel.rei.impl.client.registry.screen.ScreenRegistryImpl; import me.shedaniel.rei.impl.client.search.SearchProviderImpl; +import me.shedaniel.rei.impl.client.search.method.InputMethodRegistryImpl; import me.shedaniel.rei.impl.client.subsets.SubsetsRegistryImpl; import me.shedaniel.rei.impl.client.transfer.TransferHandlerRegistryImpl; import me.shedaniel.rei.impl.client.view.ViewsImpl; @@ -224,6 +225,7 @@ public class RoughlyEnoughItemsCoreClient { }, new EntryRendererRegistryImpl(), new ViewsImpl(), + new InputMethodRegistryImpl(), new SearchProviderImpl(), new ConfigManagerImpl(), new EntryRegistryImpl(), diff --git a/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsNetwork.java b/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsNetwork.java index 9258e3a08..01a2cd14c 100644 --- a/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsNetwork.java +++ b/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsNetwork.java @@ -30,7 +30,6 @@ import me.shedaniel.rei.api.common.category.CategoryIdentifier; import me.shedaniel.rei.api.common.display.Display; import me.shedaniel.rei.impl.common.transfer.InputSlotCrafter; import net.minecraft.ChatFormatting; -import net.minecraft.Util; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.network.chat.Component; import net.minecraft.resources.ResourceLocation; diff --git a/runtime/src/main/java/me/shedaniel/rei/impl/client/config/ConfigManagerImpl.java b/runtime/src/main/java/me/shedaniel/rei/impl/client/config/ConfigManagerImpl.java i |
