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/impl/EmptyEntryStack.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/EmptyEntryStack.java') diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/EmptyEntryStack.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/EmptyEntryStack.java index 66fc6417d..b90cef44c 100644 --- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/EmptyEntryStack.java +++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/EmptyEntryStack.java @@ -23,6 +23,7 @@ package me.shedaniel.rei.impl; +import com.mojang.blaze3d.vertex.PoseStack; import me.shedaniel.math.Point; import me.shedaniel.math.Rectangle; import me.shedaniel.rei.api.EntryStack; @@ -30,8 +31,7 @@ import me.shedaniel.rei.api.fractions.Fraction; import me.shedaniel.rei.api.widgets.Tooltip; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; -import net.minecraft.client.util.math.MatrixStack; -import net.minecraft.util.Identifier; +import net.minecraft.resources.ResourceLocation; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.Nullable; @@ -48,7 +48,7 @@ public class EmptyEntryStack implements EntryStack { } @Override - public Optional getIdentifier() { + public Optional getIdentifier() { return Optional.empty(); } @@ -148,7 +148,7 @@ public class EmptyEntryStack implements EntryStack { } @Override - public void render(MatrixStack matrices, Rectangle bounds, int mouseX, int mouseY, float delta) { + public void render(PoseStack matrices, Rectangle bounds, int mouseX, int mouseY, float delta) { } -- cgit