File tree Expand file tree Collapse file tree 5 files changed +10
-7
lines changed
Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ loader_version=0.14.17
88# Mod Properties
99mod_version =0.1.0
1010maven_group =com.nxyi
11- archives_base_name =popbobxd
11+ archives_base_name =zewo2
1212
1313# Dependencies
1414
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ public class Addon extends MeteorAddon {
2121 public static String BOOTSESSION ;
2222
2323 public static final Logger LOG = LogUtils .getLogger ();
24- public static final Category CATEGORY = new Category ("Namico " );
25- public static final HudGroup HUD_GROUP = new HudGroup ("Namico " );
24+ public static final Category CATEGORY = new Category ("Zewo2 " );
25+ public static final HudGroup HUD_GROUP = new HudGroup ("Zewo2 " );
2626
2727 @ Override
2828 public void onInitialize () {
Original file line number Diff line number Diff line change 11package com .nxyi .addon .gui .screens ;
22
3+ import com .nxyi .addon .Addon ;
34import meteordevelopment .meteorclient .gui .GuiTheme ;
45import meteordevelopment .meteorclient .gui .WindowScreen ;
56import meteordevelopment .meteorclient .gui .widgets .containers .WContainer ;
910import meteordevelopment .meteorclient .utils .misc .NbtUtils ;
1011import net .minecraft .client .gui .screen .multiplayer .MultiplayerScreen ;
1112
13+ import static meteordevelopment .meteorclient .MeteorClient .ADDON ;
1214import static meteordevelopment .meteorclient .MeteorClient .mc ;
1315
1416public class accounts extends WindowScreen {
1517 private final MultiplayerScreen multiplayerScreen ;
1618 public accounts (GuiTheme theme , MultiplayerScreen multiplayerScreen ) {
17- super (theme , "PopbobXD" );
19+ super (theme , Addon . CATEGORY . toString () );
1820 this .parent = multiplayerScreen ;
1921 this .multiplayerScreen = multiplayerScreen ;
2022 }
Original file line number Diff line number Diff line change 11package com .nxyi .addon .mixin ;
22
3+ import com .nxyi .addon .Addon ;
34import com .nxyi .addon .gui .screens .accounts ;
45import meteordevelopment .meteorclient .gui .GuiThemes ;
56import net .minecraft .client .gui .screen .Screen ;
@@ -19,7 +20,7 @@ protected MultiplayerScreenMixin(Text title) {
1920
2021 @ Inject (method = "init" , at = @ At ("TAIL" ))
2122 private void onInit (CallbackInfo info ) {
22- addDrawableChild (ButtonWidget .builder (Text .of ("PopbobXD" ), button -> {
23+ addDrawableChild (ButtonWidget .builder (Text .of (Addon . CATEGORY . toString () ), button -> {
2324 client .setScreen (new accounts (GuiThemes .get (), (MultiplayerScreen ) (Object ) this ));
2425 })
2526 .position (this .width - 75 - 3 - 150 - 4 , 3 )
Original file line number Diff line number Diff line change 11{
22 "schemaVersion" : 1 ,
3- "id" : " popbobxd " ,
3+ "id" : " zewo2 " ,
44 "version" : " ${version}" ,
5- "name" : " PopbobXD " ,
5+ "name" : " Zewo2 " ,
66 "description" : " An addon template for the Meteor addons." ,
77 "authors" : [
88 " Nxyi#7584"
You can’t perform that action at this time.
0 commit comments