diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-08-28 16:16:56 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-08-28 16:16:56 +0800 |
| commit | 50bab68a198f47090655288dcbd586958c6b59b9 (patch) | |
| tree | 82ec67696cf8a5fbd900b48da60e6bd2beb895d7 /api/src/main/java | |
| parent | 903b302447e67c92c11dd3bc14b69f88362891b8 (diff) | |
| download | RoughlyEnoughItems-50bab68a198f47090655288dcbd586958c6b59b9.tar.gz RoughlyEnoughItems-50bab68a198f47090655288dcbd586958c6b59b9.tar.bz2 RoughlyEnoughItems-50bab68a198f47090655288dcbd586958c6b59b9.zip | |
API parity with 1.17 version
Diffstat (limited to 'api/src/main/java')
| -rw-r--r-- | api/src/main/java/me/shedaniel/rei/api/client/registry/category/CategoryRegistry.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/main/java/me/shedaniel/rei/api/client/registry/category/CategoryRegistry.java b/api/src/main/java/me/shedaniel/rei/api/client/registry/category/CategoryRegistry.java index 35817b419..6e83dfac2 100644 --- a/api/src/main/java/me/shedaniel/rei/api/client/registry/category/CategoryRegistry.java +++ b/api/src/main/java/me/shedaniel/rei/api/client/registry/category/CategoryRegistry.java @@ -109,6 +109,8 @@ public interface CategoryRegistry extends Reloadable<REIClientPlugin>, Iterable< <T extends Display> CategoryConfiguration<T> get(CategoryIdentifier<T> category); + <T extends Display> Optional<CategoryConfiguration<T>> tryGet(CategoryIdentifier<T> category); + <T extends Display> void configure(CategoryIdentifier<T> category, Consumer<CategoryConfiguration<T>> action); int size(); |
