From 6104964f60bac00a4ac1359bd244d361e50786bd Mon Sep 17 00:00:00 2001 From: shedaniel Date: Thu, 27 Aug 2020 19:36:00 +0800 Subject: Migrate from yarn to mojmap Signed-off-by: shedaniel --- .../src/main/java/me/shedaniel/rei/api/RecipeDisplay.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java') diff --git a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java index 32177e121..a22dea125 100644 --- a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java +++ b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/api/RecipeDisplay.java @@ -24,7 +24,7 @@ package me.shedaniel.rei.api; import me.shedaniel.rei.utils.CollectionUtils; -import net.minecraft.util.Identifier; +import net.minecraft.resources.ResourceLocation; import org.jetbrains.annotations.ApiStatus; import java.util.Collections; @@ -68,14 +68,14 @@ public interface RecipeDisplay { * * @return the identifier of the category */ - Identifier getRecipeCategory(); + ResourceLocation getRecipeCategory(); /** * Gets the recipe location from datapack. * * @return the recipe location */ - default Optional getRecipeLocation() { + default Optional getRecipeLocation() { return Optional.empty(); } -- cgit