aboutsummaryrefslogtreecommitdiff
path: root/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/impl/RenderingEntry.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-08-27 19:36:00 +0800
committershedaniel <daniel@shedaniel.me>2020-08-27 19:36:50 +0800
commit6104964f60bac00a4ac1359bd244d361e50786bd (patch)
tree04bf0350e7305633436bb133e8647f0cecce0bf5 /RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/impl/RenderingEntry.java
parent935417891d62500610fb05ce75dc8d63219c39d2 (diff)
downloadRoughlyEnoughItems-6104964f60bac00a4ac1359bd244d361e50786bd.tar.gz
RoughlyEnoughItems-6104964f60bac00a4ac1359bd244d361e50786bd.tar.bz2
RoughlyEnoughItems-6104964f60bac00a4ac1359bd244d361e50786bd.zip
Migrate from yarn to mojmap
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/impl/RenderingEntry.java')
-rw-r--r--RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/impl/RenderingEntry.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/impl/RenderingEntry.java b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/impl/RenderingEntry.java
index 99d02c403..8246c1361 100644
--- a/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/impl/RenderingEntry.java
+++ b/RoughlyEnoughItems-api/src/main/java/me/shedaniel/rei/impl/RenderingEntry.java
@@ -25,16 +25,16 @@ package me.shedaniel.rei.impl;
import me.shedaniel.rei.api.EntryStack;
import me.shedaniel.rei.api.fractions.Fraction;
-import net.minecraft.client.gui.DrawableHelper;
-import net.minecraft.util.Identifier;
+import net.minecraft.client.gui.GuiComponent;
+import net.minecraft.resources.ResourceLocation;
import org.jetbrains.annotations.ApiStatus;
import java.util.Optional;
@ApiStatus.OverrideOnly
-public abstract class RenderingEntry extends DrawableHelper implements EntryStack {
+public abstract class RenderingEntry extends GuiComponent implements EntryStack {
@Override
- public Optional<Identifier> getIdentifier() {
+ public Optional<ResourceLocation> getIdentifier() {
return Optional.empty();
}
@@ -105,12 +105,12 @@ public abstract class RenderingEntry extends DrawableHelper implements EntryStac
@Override
public int getZ() {
- return getZOffset();
+ return getBlitOffset();
}
@Override
public void setZ(int z) {
- setZOffset(z);
+ setBlitOffset(z);
}
@Override