Not even using this

This commit is contained in:
Sollace 2019-01-27 20:25:53 +02:00
parent 996131c332
commit a6794a692f

View file

@ -29,8 +29,6 @@ import com.google.gson.JsonObject;
import com.google.gson.JsonParseException; import com.google.gson.JsonParseException;
import com.google.gson.JsonSyntaxException; import com.google.gson.JsonSyntaxException;
import net.minecraft.client.resources.IResourceManager;
import net.minecraft.client.resources.IResourceManagerReloadListener;
import net.minecraft.inventory.InventoryCrafting; import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipe; import net.minecraft.item.crafting.IRecipe;
@ -41,7 +39,7 @@ import net.minecraft.util.NonNullList;
import net.minecraft.util.ResourceLocation; import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World; import net.minecraft.world.World;
public class CraftingManager implements IResourceManagerReloadListener { public class CraftingManager {
private static final Logger LOGGER = LogManager.getLogger(); private static final Logger LOGGER = LogManager.getLogger();
@ -72,11 +70,6 @@ public class CraftingManager implements IResourceManagerReloadListener {
types.put("crafting_shapeless", ShapelessRecipes::deserialize); types.put("crafting_shapeless", ShapelessRecipes::deserialize);
} }
@Override
public void onResourceManagerReload(IResourceManager resourceManager) {
load();
}
public void load() { public void load() {
JSON_PARSERS.clear(); JSON_PARSERS.clear();
REGISTRY.clear(); REGISTRY.clear();