-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed unused imports and seperated 'Toggle Huds' from 'Hud Options'…
… clickgui tab. ** TODO: Criticals is broken and will crash the game.
- Loading branch information
1 parent
7694d16
commit 7d8c249
Showing
39 changed files
with
115 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# Done to increase the memory available to gradle. | ||
org.gradle.jvmargs=-Xmx1G | ||
org.gradle.jvmargs=-Xmx2G | ||
org.gradle.parallel=true | ||
|
||
# Fabric Properties | ||
# check these on https://fabricmc.net/develop | ||
minecraft_version=1.20.5 | ||
yarn_mappings=1.20.5+build.1 | ||
loader_version=0.15.10 | ||
loader_version=0.15.11 | ||
|
||
# Mod Properties | ||
mod_version = 1.4.1 | ||
maven_group = net.aoba | ||
archives_base_name = Aoba | ||
|
||
# Dependencies | ||
fabric_version=0.97.7+1.20.5 | ||
fabric_version=0.97.8+1.20.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
src/main/java/net/aoba/event/listeners/BlockStateListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* Aoba Hacked Client | ||
* Copyright (C) 2019-2024 coltonk9043 | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package net.aoba.gui.tabs; | ||
|
||
import net.aoba.Aoba; | ||
import net.aoba.event.listeners.MouseScrollListener; | ||
import net.aoba.gui.hud.AbstractHud; | ||
import net.aoba.gui.tabs.components.HudComponent; | ||
import net.aoba.gui.tabs.components.StackPanelComponent; | ||
import net.minecraft.client.gui.DrawContext; | ||
|
||
public class ToggleHudsTab extends ClickGuiTab { | ||
public ToggleHudsTab(AbstractHud[] abstractHuds) { | ||
super("Toggle HUDs", 50, 50, false); | ||
|
||
Aoba.getInstance().eventManager.AddListener(MouseScrollListener.class, this); | ||
StackPanelComponent stackPanel = new StackPanelComponent(this); | ||
stackPanel.setTop(30); | ||
|
||
for(AbstractHud hud : abstractHuds) { | ||
HudComponent hudComponent = new HudComponent(hud.getID(), stackPanel, hud); | ||
stackPanel.addChild(hudComponent); | ||
} | ||
|
||
this.children.add(stackPanel); | ||
this.setWidth(300); | ||
} | ||
|
||
@Override | ||
public void draw(DrawContext drawContext, float partialTicks) { | ||
super.draw(drawContext, partialTicks); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.