Can anyone help me with my screen being too blurry? Idk if im doing anythin wrong in my code.
public class ClickGUI extends Screen {
public static final ClickGUI INSTANCE = new ClickGUI();
public List<Frame> frames;
private ClickGUI(){
super(Text.literal("Click Gui"));
this.frames = new ArrayList<>();
int offset = 20;
for(Module.Category category : Module.Category.values()){
frames.add(new Frame(category, offset, 30, 100, 30));
offset += 120;
}
}
@Override
public void render(DrawContext drawContext, int mouseX, int mouseY, float delta){
for(Frame frame: frames){
frame.render(drawContext, mouseX, mouseY, delta);
}
super.render(drawContext, mouseX, mouseY, delta);
}
@Override
public boolean mouseClicked(double mouseX, double mouseY, int button) {
for(Frame frame : frames){
frame.mouseClicked(mouseX, mouseY, button);
}
return super.mouseClicked(mouseX, mouseY, button);
}
}