Skip to content

Commit

Permalink
GuiConfig cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
strubium committed May 28, 2024
1 parent 26a3d46 commit 0f70a29
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/main/java/mcjty/theoneprobe/gui/GuiConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.TextFormatting;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import org.apache.commons.lang3.tuple.Pair;

import java.io.IOException;
Expand All @@ -24,7 +26,7 @@
import java.util.Map;

import static mcjty.theoneprobe.api.TextStyleClass.*;

@SideOnly(Side.CLIENT)
public class GuiConfig extends GuiScreen {
private static final int WIDTH = 230;
private static final int HEIGHT = 230;
Expand Down Expand Up @@ -84,12 +86,10 @@ public void drawScreen(int mouseX, int mouseY, float partialTicks) {
int y = guiTop + 10;
RenderHelper.renderText(Minecraft.getMinecraft(), x, y, TextFormatting.GOLD + "Placement:");
y += 12;
RenderHelper.renderText(Minecraft.getMinecraft(), x+10, y, "Click on corner in screenshot");
y += 10;
RenderHelper.renderText(Minecraft.getMinecraft(), x+10, y, "to move tooltip there");
RenderHelper.renderText(Minecraft.getMinecraft(), x+10, y, "Click a corner in the screenshot");
y += 10;

y += 20;
RenderHelper.renderText(Minecraft.getMinecraft(), x+10, y, "to move the tooltip there");
y += 30;

hitboxes = new ArrayList<>();
RenderHelper.renderText(Minecraft.getMinecraft(), x, y, TextFormatting.GOLD + "Presets:");
Expand Down Expand Up @@ -256,5 +256,4 @@ private void renderElements(ProbeInfo probeInfo, IOverlayStyle style) {

GlStateManager.popMatrix();
}

}

0 comments on commit 0f70a29

Please sign in to comment.