diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/MatterEntanglerRecipe.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/MatterEntanglerRecipe.kt index c038932a2..6a3dbe4ee 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/MatterEntanglerRecipe.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/MatterEntanglerRecipe.kt @@ -26,6 +26,7 @@ import ru.dbotthepony.mc.otm.data.Codec2RecipeSerializer import ru.dbotthepony.mc.otm.data.DecimalCodec import ru.dbotthepony.mc.otm.data.IngredientMatrixCodec import ru.dbotthepony.mc.otm.data.minRange +import ru.dbotthepony.mc.otm.registry.MItems import ru.dbotthepony.mc.otm.registry.MRecipes import java.util.Optional import java.util.UUID @@ -92,6 +93,10 @@ open class MatterEntanglerRecipe( return true } + override fun getToastSymbol(): ItemStack { + return ItemStack(MItems.MATTER_ENTANGLER) + } + fun toFinished(id: ResourceLocation): FinishedRecipe { return SERIALIZER.toFinished(this, id) } diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/PainterRecipe.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/PainterRecipe.kt index 8adc962ed..1f3210b9e 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/PainterRecipe.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/PainterRecipe.kt @@ -22,6 +22,7 @@ import ru.dbotthepony.mc.otm.core.tagNotNull import ru.dbotthepony.mc.otm.data.Codec2RecipeSerializer import ru.dbotthepony.mc.otm.data.PredicatedCodecList import ru.dbotthepony.mc.otm.data.minRange +import ru.dbotthepony.mc.otm.registry.MItems import ru.dbotthepony.mc.otm.registry.MRecipes import java.util.EnumMap import java.util.function.Predicate @@ -100,6 +101,10 @@ class PainterRecipe( return MRecipes.PAINTER } + override fun getToastSymbol(): ItemStack { + return ItemStack(MItems.PAINTER) + } + fun toFinished(id: ResourceLocation): FinishedRecipe { return SERIALIZER.toFinished(this, id) } diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/PlatePressRecipe.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/PlatePressRecipe.kt index 5bf5eca8b..aca5daf14 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/PlatePressRecipe.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/recipe/PlatePressRecipe.kt @@ -21,6 +21,7 @@ import ru.dbotthepony.mc.otm.registry.MRecipes import ru.dbotthepony.mc.otm.core.registryName import ru.dbotthepony.mc.otm.data.Codec2RecipeSerializer import ru.dbotthepony.mc.otm.data.minRange +import ru.dbotthepony.mc.otm.registry.MItems class PlatePressRecipe( val input: Ingredient, @@ -74,6 +75,10 @@ class PlatePressRecipe( override fun getType(): RecipeType = MRecipes.PLATE_PRESS + override fun getToastSymbol(): ItemStack { + return ItemStack(MItems.PLATE_PRESS) + } + fun toFinished(id: ResourceLocation) = SERIALIZER.toFinished(this, id) companion object {