1.20.2
This commit is contained in:
		
							parent
							
								
									a18cb2a137
								
							
						
					
					
						commit
						0982c30299
					
				
					 5 changed files with 9 additions and 9 deletions
				
			
		|  | @ -24,7 +24,7 @@ public class HUDOverlay | |||
|     public void render(DrawContext drawContext, int scaledWidth, int scaledHeight) | ||||
|     { | ||||
|         // do not draw if F3 enabled | ||||
|         if (mc.options.debugEnabled) return; | ||||
|         if (mc.getDebugHud().shouldShowDebugHud()) return; | ||||
| 
 | ||||
|         // draw stats | ||||
| 		drawContext.drawTextWithShadow(mc.textRenderer, "FPS: " + ColorUtils.gray + mc.fpsDebugString.split(" ")[0], 2, 2, Moonlight.uiColorA); | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ public class ModulesListOverlay | |||
|     public void render(DrawContext drawContext, int scaledWidth, int scaledHeight) | ||||
|     { | ||||
|         // do not draw if F3 enabled | ||||
|         if (mc.options.debugEnabled) return; | ||||
|         if (mc.getDebugHud().shouldShowDebugHud()) return; | ||||
|          | ||||
|         int yOffset = 0; | ||||
|         for (Module_ m : enabledModules) | ||||
|  |  | |||
|  | @ -19,7 +19,7 @@ public class ClickGUIScreen extends Screen | |||
| 	{ | ||||
| 		super(Text.literal("ClickGUI")); | ||||
| 		categoryPanes = new ArrayList<CategoryPane>(); | ||||
| 		Map<String, Object> panePos = ((Map<String, Object>)Moonlight.INSTANCE.CONFIG.config.get("panes")); | ||||
| 		Map<String, Object> panePos = ((Map<String, Object>)Moonlight.CONFIG.config.get("panes")); | ||||
| 		for (Category category : Category.values()) | ||||
| 		{  | ||||
| 			int xOffset = MathUtils.d2iSafe(((Map<String, Object>)panePos.get(category.name)).get("x")); | ||||
|  | @ -32,7 +32,7 @@ public class ClickGUIScreen extends Screen | |||
| 	@Override | ||||
| 	public void render(DrawContext drawContext, int mouseX, int mouseY, float delta)  | ||||
| 	{ | ||||
| 		this.renderBackground(drawContext); | ||||
| 		this.renderBackground(drawContext, mouseX, mouseY, delta); | ||||
| 		for (CategoryPane category : categoryPanes) | ||||
| 		{ | ||||
| 			category.render(drawContext, mouseX, mouseY, delta, textRenderer); | ||||
|  |  | |||
|  | @ -25,7 +25,7 @@ public class SettingsScreen extends Screen | |||
|     @Override | ||||
| 	public void render(DrawContext drawContext, int mouseX, int mouseY, float delta)  | ||||
| 	{ | ||||
|         this.renderBackground(drawContext); | ||||
|         this.renderBackground(drawContext, mouseX, mouseY, delta); | ||||
| 
 | ||||
|         // move window if dragging | ||||
|         if (dragging) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kawaiizenbo
						kawaiizenbo