lighting stuffs
This commit is contained in:
parent
4165059284
commit
5564600a94
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
34381
javascript/classes.js
34381
javascript/classes.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -5,5 +5,5 @@ public class CustomRectSettingDraw extends Setting{
|
|||
super(name, description);
|
||||
}
|
||||
|
||||
public void onChange(){ }
|
||||
public void onPress(){ }
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
};
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user