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

  • Author
30 minutes ago, diesieben07 said:
  • The ID for your WorldSavedData must be a valid file name, it can't include a ":".
  • Your readFromNBT method does nothing but waste CPU cycles. You read the data from NBT and then... drop it on the ground and do nothing with it.
  • I doubt you want this.
  • I doubt you own this domain.

I tried your fixes, sadly still doesn't work and the dat file still doesn't exist 
updated data class
https://pastebin.com/7JeYbuNn

  • Author
On 8/16/2019 at 3:11 PM, diesieben07 said:

Is the data ever created? Is it's data ever modified? Use the debugger.

No like i said the dat file doesn't get created, and thus it doesn't get modified either.

  • izako changed the title to WorldSavedData doesn't save [FIXED] 1.12.2
  • Author

So basically @diesieben07 fix actually worked. it was just that I was looking in the wrong files to find the .dat files

+ i had a command to get the pos of the build and my get command was not working as intended so i just thought the data reset (my bad). 

here's the updated class for whoever needs it:
https://pastebin.com/Ex4ipDRW

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.