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

Hey guys!

Ive a question. How to make a button which turns specific things on and/or off?

 

Thanks a lot if you can help me!

 

 

There are certain questions that when the person asks it, it shows that they may not be strong enough in programming generally to do modding.

 

When you're a programmer you'll already know that anything Java can do is possible. So if someone asks "how do I access a file location", or "how do I create a timer", that is really just a Java question and if you don't already know the answer (or can't quickly figure it out) then you should probably study more Java.

 

A more legitimate question is one asked about the details of the Minecraft, FML or Forge implementation. Like most new modders have to figure out that an Item is a singleton but ItemStack is instantiated. That is specific to Minecraft modding.

 

So, back to the original question -- if he doesn't know how to set or test a boolean then he needs to study more programming. If what he really meant was something like "how do I ensure that all players know when a player has clicked on a button in an overlay GUI", that is much more reasonable to ask here. Hopefully he can clarify whether he really doesn't know how to do the boolean part, or if it is more about the mechanics of the drawing and syncing of the button activity.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

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.