diff options
author | nopothegamer <40329022+nopothegamer@users.noreply.github.com> | 2021-07-22 16:08:24 +1000 |
---|---|---|
committer | nopothegamer <40329022+nopothegamer@users.noreply.github.com> | 2021-07-22 16:08:24 +1000 |
commit | 8bc8b575a4f594d6c6efea5ca8f8dabd4a233d68 (patch) | |
tree | 29fc94a02eb9ed3aeda1eb0f9205c0f89eeb261b /src | |
parent | 8d9aeb9e47eba0ef4275b64592bc6dcd7696e0f9 (diff) | |
download | NotEnoughUpdates-8bc8b575a4f594d6c6efea5ca8f8dabd4a233d68.tar.gz NotEnoughUpdates-8bc8b575a4f594d6c6efea5ca8f8dabd4a233d68.tar.bz2 NotEnoughUpdates-8bc8b575a4f594d6c6efea5ca8f8dabd4a233d68.zip |
made pv cit models not die
gamer
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java index acd1f99d..df148ec4 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/profileviewer/GuiProfileViewer.java @@ -2600,7 +2600,7 @@ public class GuiProfileViewer extends GuiScreen { for(int i=0; i<4; i++) {
JsonObject item = NotEnoughUpdates.INSTANCE.manager.getItemInformation().get(type+";"+i);
if(item != null) {
- int x = guiLeft+50;
+ int x = guiLeft+20;
float y = guiTop+82+15*(float)Math.sin(((currentTime-startTime)/800f)%(2*Math.PI));
GlStateManager.translate(x, y, 0);
ItemStack stack = NotEnoughUpdates.INSTANCE.manager.jsonToStack(item, false);
@@ -2610,10 +2610,10 @@ public class GuiProfileViewer extends GuiScreen { stackTag.removeTag("ExtraAttributes");
stack.setTagCompound(stackTag);
- GlStateManager.scale(-1.5f, 1.5f, 1);
+ GlStateManager.scale(1.5f, 1.5f, 1);
GlStateManager.enableDepth();
Utils.drawItemStack(stack, 0, 0);
- GlStateManager.scale(-1/1.5f, 1/1.5f, 1);
+ GlStateManager.scale(1/1.5f, 1/1.5f, 1);
GlStateManager.translate(-x, -y, 0);
break;
}
|