lighting stuffs

This commit is contained in:
ThisIsALegitUsername 2023-03-06 14:21:22 +00:00
parent 4165059284
commit 5564600a94
9 changed files with 68918 additions and 68918 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -5,5 +5,5 @@ public class CustomRectSettingDraw extends Setting{
super(name, description);
}
public void onChange(){ }
public void onPress(){ }
}

View File

@ -10,7 +10,7 @@ import dev.resent.visual.cape.CapeUi;
public class Cape extends Mod{
public CustomRectSettingDraw open = new CustomRectSettingDraw("Choose cape", "Select which cape you want to use"){
@Override
public void onChange(){
public void onPress(){
mc.displayGuiScreen(new CapeUi());
}
};

View File

@ -22,7 +22,7 @@ public class FPSOptions extends Mod{
public BooleanSetting reducedWater = new BooleanSetting("Reduced water lag", "", true);
public CustomRectSettingDraw minSetting = new CustomRectSettingDraw("Minimal settings", ""){
@Override
public void onChange(){
public void onPress(){
GameSettings gameSettings = mc.gameSettings;
GlStateManager.enableTexture2D();

View File

@ -121,7 +121,7 @@ public class ClickGUI extends GuiScreen {
if(s instanceof CustomRectSettingDraw){
if(isMouseInside(mouseX, mouseY, x+21, height+41+var, x+27+fr.getStringWidth(s.name), height+var+53)){
((CustomRectSettingDraw)s).onChange();
((CustomRectSettingDraw)s).onPress();
}
}