Temporarily Disable Tutorial Button
This commit is contained in:
parent
7ead5ab7d5
commit
ffc1188bdc
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ import static xyz.limepot.emb.EMB.MOD_VER;
|
|||
|
||||
@Mixin(TitleScreen.class)
|
||||
public class TitleScreenMixin extends Screen {
|
||||
/*Tutorial Button, Temprorarily disabled until I can figure out how to package the world with the mod and hijack the world loading process, oh and make a nice gui screen maybe?
|
||||
@Inject(at = @At("RETURN"), method = "initWidgetsNormal")
|
||||
private void addCustomButton(int spacingY, int par2, CallbackInfo ci) {
|
||||
this.buttons.add(new ButtonWidget(13, this.width / 2 + 105, 108, 50, 20, I18n.translate("menu.tutorial", new Object[0])));
|
||||
|
@ -26,6 +27,7 @@ public class TitleScreenMixin extends Screen {
|
|||
private void CustomButtonClicked(ButtonWidget par1, CallbackInfo ci) {
|
||||
if (par1.id == 13) this.client.setScreen(new SettingsScreen(this, this.client.options));
|
||||
}
|
||||
*/
|
||||
|
||||
@ModifyArg(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/screen/TitleScreen;drawWithShadow(Lnet/minecraft/client/font/TextRenderer;Ljava/lang/String;III)V"))
|
||||
private String addEMBBranding(String text) {
|
||||
|
|
Loading…
Reference in a new issue