aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/EntryRegistry.java
diff options
context:
space:
mode:
authorDanielshe <shekwancheung0528@gmail.com>2019-11-06 21:40:11 +0800
committerDanielshe <shekwancheung0528@gmail.com>2019-11-06 21:40:15 +0800
commit0cc101e5cb57e62674abe421983444f79ea630fc (patch)
treeb3d1c4c1853a3e9d60ae2857e7aa1b5430f2f559 /src/main/java/me/shedaniel/rei/api/EntryRegistry.java
parentd26cb24ffffc1e6063a2dd1053ccbc886c60767f (diff)
downloadRoughlyEnoughItems-0cc101e5cb57e62674abe421983444f79ea630fc.tar.gz
RoughlyEnoughItems-0cc101e5cb57e62674abe421983444f79ea630fc.tar.bz2
RoughlyEnoughItems-0cc101e5cb57e62674abe421983444f79ea630fc.zip
3.2.6
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/EntryRegistry.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/EntryRegistry.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/EntryRegistry.java b/src/main/java/me/shedaniel/rei/api/EntryRegistry.java
index 338986578..03cf0c21e 100644
--- a/src/main/java/me/shedaniel/rei/api/EntryRegistry.java
+++ b/src/main/java/me/shedaniel/rei/api/EntryRegistry.java
@@ -5,6 +5,8 @@
package me.shedaniel.rei.api;
+import me.shedaniel.rei.RoughlyEnoughItemsCore;
+import me.shedaniel.rei.api.annotations.ToBeRemoved;
import me.shedaniel.rei.utils.CollectionUtils;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
@@ -13,6 +15,10 @@ import java.util.List;
public interface EntryRegistry {
+ static EntryRegistry getInstance() {
+ return RoughlyEnoughItemsCore.getEntryRegistry();
+ }
+
/**
* Gets the current modifiable stacks list
*