- Joined
- Jul 11, 2020
- Messages
- 0
- Reaction score
- 25
- Points
- 0
Here's how to do it:
[HIDE]
1) Create a class and name it whatever
2) Type this:
or what ever your main Module class is.
3) add a boolean called
4) Add onEnable and onDisable where if its enabled it's true and if it's disabled its false
5) Go to your GuiIngame class or GuiIngameHook or your Mixin and under
6) Go here and copy and paste or insert this
and your done.
[/HIDE]
[HIDE]
1) Create a class and name it whatever
2) Type this:
Code:
public class NoScoreBoard extends Module {
3) add a boolean called
Code:
public boolean isEnabled;
4) Add onEnable and onDisable where if its enabled it's true and if it's disabled its false
5) Go to your GuiIngame class or GuiIngameHook or your Mixin and under
Code:
func_175180_a
6) Go here and copy and paste or insert this
Code:
(in GuiIngame you won't need this right below, but in your hook/mixin you will need to call the ScoreObjective and make some vars or something)
ScoreObjective var161 = var13 != null ? var13 : var121.getObjectiveInDisplaySlot(1);
if (var161 != null) {
if (!NoScoreBoard.isEnabled) {
this.func_180475_a(var161, var2);
}
}
[/HIDE]