#✅ | Detect if a mod is present and display a different title screen.

1 messages · Page 1 of 1 (latest)

fast epoch
#

Im using essential mod, which adds buttons to the main screen which I have made a layout including, however many people dislike this mod and remove it in favor of e4mc. How do I switch the layout they see based off the mods presence?

solid stagBOT
# fast epoch Im using essential mod, which adds buttons to the main screen which I have made ...

You can do that with loading requirements using the Is Mod Loaded requirement ✅

What to do

  1. Make two separate Title Screen layouts

    • one layout that includes the Essential buttons
    • one layout without them
  2. On the layout that should only show when Essential is installed:

    • right-click the editor background
    • go to Loading Requirements [Layout-Wide]
    • add Is Mod Loaded
    • set the mod ID to essential
  3. On the other layout, do the opposite:

    • either make it only load when Essential is not installed
    • or simply keep it as the fallback layout and disable the Essential-specific one when the mod isn’t present

Important

If you use a universal layout, you can still do this, but the cleanest way is usually to make two Title Screen layouts and gate them with requirements.

Docs

If you want, I can also show you the exact setup for a fallback layout that only appears when Essential is missing 🙂

fast epoch
#

I have set up both layouts, however neither activates now, on the Main_Essentials UI i have it set to Is Mod Loaded Mode: Normal Value: essential and it does not activate when game is opened

solid stagBOT
# fast epoch I have set up both layouts, however neither activates now, on the Main_Essential...

A couple things to check first 🙂

  • The requirement should be on the layout itself: right-click editor background → Loading Requirements [Layout-Wide]
  • Make sure the mod ID is exactly essential in lowercase
  • Check whether your layout is actually a layout for the current screen and not a universal one

Also important: if you’re using a fallback layout for when Essential is missing, that second layout needs the opposite requirement, otherwise both layouts can end up blocked depending on how you set them up.

For troubleshooting, please compare this:

  • Essential layout: Is Mod Loaded -> essential
  • Fallback layout: Is Mod Loaded with OPPOSITE / inverted behavior, or a requirement that only passes when Essential is not loaded

If it still doesn’t activate, I need:

  • your Minecraft version
  • your FancyMenu version
  • whether the screen is the normal Title Screen
  • a screenshot of both layouts’ layout-wide requirements

And if you want, you can also press the Request Human Help button for a real human to check it with you.

solid stagBOT
#

✅ | Detect if a mod is present and display a different title screen.