aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/repo/recipes/RecipeLayouter.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-05-09 19:29:26 +0200
committerLinnea Gräf <nea@nea.moe>2025-05-09 22:03:43 +0200
commit62bca13bff1fe6302d31cad3ee0b4bed82ddca4b (patch)
tree6481380234763e8f05714468ad97766c4b090d8d /src/main/kotlin/repo/recipes/RecipeLayouter.kt
parentf925bd2a8d10d017a8aabb637ccd6546ad9cc123 (diff)
downloadFirmament-62bca13bff1fe6302d31cad3ee0b4bed82ddca4b.tar.gz
Firmament-62bca13bff1fe6302d31cad3ee0b4bed82ddca4b.tar.bz2
Firmament-62bca13bff1fe6302d31cad3ee0b4bed82ddca4b.zip
refactor: forge recipe as item list agnostic
Diffstat (limited to 'src/main/kotlin/repo/recipes/RecipeLayouter.kt')
-rw-r--r--src/main/kotlin/repo/recipes/RecipeLayouter.kt7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/kotlin/repo/recipes/RecipeLayouter.kt b/src/main/kotlin/repo/recipes/RecipeLayouter.kt
index 109bff5..ed0dca2 100644
--- a/src/main/kotlin/repo/recipes/RecipeLayouter.kt
+++ b/src/main/kotlin/repo/recipes/RecipeLayouter.kt
@@ -1,6 +1,8 @@
package moe.nea.firmament.repo.recipes
import io.github.notenoughupdates.moulconfig.gui.GuiComponent
+import me.shedaniel.math.Point
+import me.shedaniel.math.Rectangle
import net.minecraft.text.Text
import moe.nea.firmament.repo.SBItemStack
@@ -21,13 +23,16 @@ interface RecipeLayouter {
slotKind: SlotKind,
)
+ fun createTooltip(rectangle: Rectangle, label: Text)
+
fun createLabel(
x: Int, y: Int,
text: Text
)
- fun createArrow(x: Int, y: Int)
+ fun createArrow(x: Int, y: Int): Rectangle
fun createMoulConfig(x: Int, y: Int, w: Int, h: Int, component: GuiComponent)
+ fun createFire(ingredientsCenter: Point, animationTicks: Int)
}