aboutsummaryrefslogtreecommitdiff
path: root/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/server/ContainerInfoHandler.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-12-11 20:24:47 +0800
committershedaniel <daniel@shedaniel.me>2020-12-11 20:24:47 +0800
commit90b8a8181eb7e642fb88832f8bd8baa3acdcf804 (patch)
tree85774b5a26be6a8303f99c5316aee320a737ffc8 /RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/server/ContainerInfoHandler.java
parent14edd7e3f9e3716ff60e9d918760049c1313a485 (diff)
downloadRoughlyEnoughItems-90b8a8181eb7e642fb88832f8bd8baa3acdcf804.tar.gz
RoughlyEnoughItems-90b8a8181eb7e642fb88832f8bd8baa3acdcf804.tar.bz2
RoughlyEnoughItems-90b8a8181eb7e642fb88832f8bd8baa3acdcf804.zip
Remove deprecated classes
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/server/ContainerInfoHandler.java')
-rw-r--r--RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/server/ContainerInfoHandler.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/server/ContainerInfoHandler.java b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/server/ContainerInfoHandler.java
index fdfeba33c..a1149f5e1 100644
--- a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/server/ContainerInfoHandler.java
+++ b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/server/ContainerInfoHandler.java
@@ -26,7 +26,6 @@ package me.shedaniel.rei.server;
import com.google.common.collect.Maps;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.inventory.AbstractContainerMenu;
-import org.jetbrains.annotations.ApiStatus;
import java.util.Map;
@@ -34,15 +33,6 @@ public class ContainerInfoHandler {
private static final Map<String, Map<Class<? extends AbstractContainerMenu>, ContainerInfo<? extends AbstractContainerMenu>>> containerInfoMap = Maps.newLinkedHashMap();
public static void registerContainerInfo(ResourceLocation category, ContainerInfo<? extends AbstractContainerMenu> containerInfo) {
- registerScreenWithHandlerInfo(category, containerInfo);
- }
-
- /**
- * @deprecated Use {@link #registerContainerInfo(Identifier, ContainerInfo)}
- */
- @Deprecated
- @ApiStatus.ScheduledForRemoval
- public static void registerScreenWithHandlerInfo(ResourceLocation category, ContainerInfo<? extends AbstractContainerMenu> containerInfo) {
if (!containerInfoMap.containsKey(category.toString()))
containerInfoMap.put(category.toString(), Maps.newLinkedHashMap());
containerInfoMap.get(category.toString()).put(containerInfo.getContainerClass(), containerInfo);