Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hi,

 

My name's David and I'm new into Forge Modding. I would to know if there is any way to disable Forge-compatible mods using any method into Java code. If there is, could you tell me how?

 

Thanks,

David.

Why?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author

Well, I have a project and I would like to disable all the MODS installed when a player enters in a certain world. I mean, in a server there will be 2 different worlds, in the "Modded" world you will need Forge and the MODS required by the server. On the other hand, there will be a "Vanilla" world, in which you will be able to enter with vanilla Minecraft, no Forge. I repeat, it's a project ;)

Even if you succeed, the player is going to get kicked from the server when he enters your new dimension if he's carrying any mod items.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author

I was thinking about that, I think when you enter in the portal to the other dimension, you will go to a... private room in another dimension where you can leave your things in chests and go to vanilla portal. Then, you can came into the private room from vanilla world, get your things, and continue playing into modded world.

which takes as much time as having 2 server... one vanilla, 1 modded

and logging out/in

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Why would you disable mods anyways? Totally unregarding the fact that it's impossible to unregister registered things just like that (yet), in most cases it doesn't even matter if the server you join does not have the mods installed. You simply won't be able to use them.

 

Make one of your core server mods remove and save all the inventory items of mods upon changing dimensions. Use the IPlayerTracker to be notified when a player does so. Vice versa, when switching back to the modded side of the server, add the previously saved items back to the player's inventory and you should be fine.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.