Jump to content

[1.7.2/1.6.4] How to change Minecraft main menu?


Tokio

Recommended Posts

I'm new to modding. However I haven't modded anything. I want to change Minecraft main menu first so this is the first step I should do and then menus for the server.

 

I've noticed that Voxel changed main menu and splash texts and so is Spoutcraft. I wanted to learn how they do that. After I've succeed changing main menu, I'll like tutorials how to mod for 1.6.4 and 1.7.2.

 

What I need to change main menu:

  • Removal of Singleplayer and Realms buttons.
  • Replace Multiplayer button to connect to the server button.
  • Change position of the buttons.
  • Edit color of the buttons.
  • Edit color of the texts.
  • Change logo.
  • Change position of the logo.
  • Change animated background to either non-animated or animated background.

If there are things I can't do, that's fine, except for button removals and replaces.

Link to comment
Share on other sites

Doing something like this is definitely NOT the first thing you should be doing IMO, also you can fined a TON of great tutorials just by searching for them on google! Once you have a base mod setup then what TLHPoE said is DEFINITELY the way to go on remaking it, not sure if the game has other parts of it that won't get canceled like the music, but it's definitely good for a simple layout change or something of the sort!

Creator of Metroid Cubed! Power Suits, Beams, Hypermode and more!

width=174 height=100http://i.imgur.com/ghgWmA3.jpg[/img]

Link to comment
Share on other sites

Doing something like this is definitely NOT the first thing you should be doing IMO, also you can fined a TON of great tutorials just by searching for them on google! Once you have a base mod setup then what TLHPoE said is DEFINITELY the way to go on remaking it, not sure if the game has other parts of it that won't get canceled like the music, but it's definitely good for a simple layout change or something of the sort!

This is not what I excepted you will say. Yeah I know there are tons of tutorials but I can't find the right one. It's kinda confusing... I said changing main menu is the first thing I should do because I have to for my server. So, please kindly tell me how to change main menu like how I want.

 

I'm not sure if this would work, but you could cancel the menu from opening since it's a gui. From there, you can open your own gui.

Can you please explain? I'll like to learn that as well.

Link to comment
Share on other sites

*sigh

 

You have to have a main mod class set up to do ANYTHING. Literally, ANYTHING. Here's some tutorials for setting it up:

http://www.wuppy29.com/minecraft/modding-tutorials/forge-modding/

 

 

After that, learn how to use forge events via forges tutorial page, (a link to it is on the main menu for this website) and do what he said and add code for your custom title screen. Do you atleast know Java? If not learn that first. Changing the main menu is a pretty advanced thing to do, and requires a descent amount of knowledge on how forge and minecraft both work, it definitely shouldn't be the first thing you try, if you're doing a mod for a server add some items and stuff you want to add first, and get familiar with the environment. THEN maybe try to do it (again, with forge events)

Creator of Metroid Cubed! Power Suits, Beams, Hypermode and more!

width=174 height=100http://i.imgur.com/ghgWmA3.jpg[/img]

Link to comment
Share on other sites

*sigh

 

You have to have a main mod class set up to do ANYTHING. Literally, ANYTHING. Here's some tutorials for setting it up:

http://www.wuppy29.com/minecraft/modding-tutorials/forge-modding/

 

 

After that, learn how to use forge events via forges tutorial page, (a link to it is on the main menu for this website) and do what he said and add code for your custom title screen. Do you atleast know Java? If not learn that first. Changing the main menu is a pretty advanced thing to do, and requires a descent amount of knowledge on how forge and minecraft both work, it definitely shouldn't be the first thing you try, if you're doing a mod for a server add some items and stuff you want to add first, and get familiar with the environment. THEN maybe try to do it (again, with forge events)

Thank you. That is very helpful and I already know Wuppy. I found his tutorials before I read this but thanks anyway. Didn't know he have a tutorial about setting up main menu.

Link to comment
Share on other sites

There is another post going on about the exact same question.

If you don't want to bother looking at it - you should use GuiOpenEvent.

 

Check if the event's GUI is an instance of GuiMainMenu, cancel it - and override it with your own version of the main-menu.

Link to comment
Share on other sites

There is another post going on about the exact same question.

If you don't want to bother looking at it - you should use GuiOpenEvent.

 

Check if the event's GUI is an instance of GuiMainMenu, cancel it - and override it with your own version of the main-menu.

 

Lol, way to suggest the same thing I did right above your post. xD

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Here's the newest crash: https://pastebin.com/mumDeWzW Seems to have something to do with JEI Also delete that server file? Also the newest log: https://pastebin.com/ATH8dbWc
    • Recently started to attempt 1.20.1 modding, in registering idle, walk and attack animations in the mob entity class i've run into two issues:   a) idle and walk animations seem to play simultaneously  + the mob itself does not seem to walk private static final EntityDataAccessor<Boolean> ATTACKING = SynchedEntityData.defineId(MugaEntity.class, EntityDataSerializers.BOOLEAN); public MugaEntity(EntityType<? extends Monster > pEntityType, Level pLevel) { super(pEntityType, pLevel); } public final AnimationState idleAnimationState = new AnimationState(); private int idleAnimationTimeout = 1; public final AnimationState attackAnimationState = new AnimationState(); public int attackAnimationTimeout = 0; @Override public void tick() { super.tick(); if(this.level().isClientSide()) { setupAnimationStates(); } } private void setupAnimationStates () { if(this.idleAnimationTimeout <= 0) { this.idleAnimationTimeout = this.random.nextInt(30) + 60; this.idleAnimationState.start(this.tickCount); } else { --this.idleAnimationTimeout; } if (this.isAttacking() && attackAnimationTimeout <= 0 ) { attackAnimationTimeout = 20; attackAnimationState.start(this.tickCount); } else { --this.attackAnimationTimeout; } if(this.isAttacking()) { attackAnimationState.stop(); } } @Override protected void updateWalkAnimation(float pPartialTick) { float f; if(this.getPose() == Pose.STANDING) { f=Math.min(pPartialTick * 3.0F, 1.0F); } else { f= 0.0F; } this.walkAnimation.update(f, 0.2F); } @Override protected void defineSynchedData() { super.defineSynchedData(); this.entityData.define(ATTACKING, false); } public void setAttacking(boolean attacking) { this.entityData.set(ATTACKING, attacking); } public boolean isAttacking() { return this.entityData.get(ATTACKING); } b) the attack animation is never played on attack, despite being registered  @Override public void setupAnim(Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) { this.root().getAllParts().forEach(ModelPart::resetPose); this.animateWalk(ModAnimationDefinitions.MUGA_WALKING, limbSwing, limbSwingAmount, 1f, 1f ); this.animate(((MugaEntity)entity).idleAnimationState, ModAnimationDefinitions.MUGA_IDLE, ageInTicks, 1f); this.animate(((MugaEntity)entity).attackAnimationState, ModAnimationDefinitions.MUGA_ATTACK, ageInTicks, 1f); }
    • Maybe there are some more broken files - check the new crash-report - the file name is mentioned in the first lines   If it is another crash, add it here
    • Thanks. Found and deleted it, but it doesn't change anything. When joining a new file is created, the screen freezes/ does not respond in typical manner and I have to close it then. I deleted it in curseforge>minecraft>instances>Modpack>saves>World>serverconfig Should I have deleted it anywhere else?
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.