From 90b8a8181eb7e642fb88832f8bd8baa3acdcf804 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Fri, 11 Dec 2020 20:24:47 +0800 Subject: Remove deprecated classes Signed-off-by: shedaniel --- .../java/me/shedaniel/rei/server/ContainerInfoHandler.java | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/server/ContainerInfoHandler.java') 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, ContainerInfo>> containerInfoMap = Maps.newLinkedHashMap(); public static void registerContainerInfo(ResourceLocation category, ContainerInfo containerInfo) { - registerScreenWithHandlerInfo(category, containerInfo); - } - - /** - * @deprecated Use {@link #registerContainerInfo(Identifier, ContainerInfo)} - */ - @Deprecated - @ApiStatus.ScheduledForRemoval - public static void registerScreenWithHandlerInfo(ResourceLocation category, ContainerInfo containerInfo) { if (!containerInfoMap.containsKey(category.toString())) containerInfoMap.put(category.toString(), Maps.newLinkedHashMap()); containerInfoMap.get(category.toString()).put(containerInfo.getContainerClass(), containerInfo); -- cgit