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.

BioAndy

Members
  • Joined

  • Last visited

  1. Thanks for all the replies everyone. I will edit my post and mark it solved. I ended up using config files. I was just worried about storing information in them that should not be stored in them. NBT just seemed like overkill for my purposes.
  2. Good Afternoon Everyone! So I have been writing my first mod for Minecraft using Forge 1.8. My son comes up with the idea and I help him implement it. He's only 9, but really interested in software development and I think this is a good way for him to experience it and gives us some fun times together. I have worked with c++ for the past 15 years in a professional setting, so if you can help with my problem, pointing me in the right direction should be good enough. I highly doubt I would need full code examples, and really dislike going through other peoples code anyway! The problem - Saving state information between sessions. Example - Lets say I have a simple GUI (no inventory attached and client side only) that when opened lets the user re-position an overlay onto the screen. Now this overlay needs to have it's X and Y coords. saved between sessions. I'm just not really sure where I would be saving this information -> Config File - From what I've read it's mostly for Block and Item ID's. NBTData - Seems like overkill to save what little information I need saving in here. Now I have only been digging through the Forge API for a couple days now, so I'm sure that I am missing something. Questions? Am I missing some other way Forge easily enables the saving of client side data? With something as generic as x and y coords. that is not an item, block, or entity do I just need to write my own input / output handler that does what i need and saves it in my mod folder? I guess before writing my own, I'm just wondering if Forge already implements an easy to use Interface for this. Thanks everyone and I'm looking forward to being a part of the Minecraft modding community!

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.