FTB-Modpack-Issues icon indicating copy to clipboard operation
FTB-Modpack-Issues copied to clipboard

KubeJS Startup Error (NBT methods showing as deprecated)

Open DragonBuster10k opened this issue 1 year ago • 1 comments

Modpack

FTB Skies

Modpack version

1.6.0

Has the pack been modified

No

Log Files

client.log

Describe the bug

Every now and then when I leave a world on FTB Skies, it will show a screen with KubeJS startup errors, and they always have to do with something along the lines of getFullNBT() and fullNBT are deprecated. Use [something else] instead.. I'm not entirely sure what is causing it, but it only happens occasionally when I leave a world. It also isn't consistent, it seems to just randomly happen, and I have no clue if I'm doing something to cause it or if it's a problem with the modpack, etc. It also seems to always have a different amount of errors, and they aren't always exactly the same errors, but 99% of the time its related to deprecation warnings with NBT methods or something. It's not a huge deal, it just gets annoying having to relaunch the pack every time it happens.

Steps to reproduce

It isn't super easy to reproduce, since it again isn't quite consistent, but here's all I'm doing for it to happen:

  1. Open a world, one with many different modded things placed around that may be causing it (Functional Storage drawers, maybe sifters since I know they work using KubeJS I believe)
  2. Keep the session open for a bit, since it doesn't seem to happen often if it is a short one,
  3. Close the world, and it occasionally pops up.

Expected behaviour

I expected it to be consistently bringing me to my world selection screen/main menu without this happening randomly.

Screenshots

2024-08-11_16 08 55

(There have never been 10 of them at once, there's usually only about 6, but this is the only screenshot I have right now)

Additional information

I'm in no way certain, but it might have to do with the Functional Storage mod, since this time around it happened after a session where I was working with them a lot. However, it has happened numerous other times during a casual gameplay session, so I'm not sure its related. I'm playing on a survival single-player world with the default FTB Sky Island, and I don't have any outside mods installed, nor have I modified the pack settings that much (as in mod-specific settings, obviously I've changed video settings and stuff like that, but nothing too much). I don't recall seeing anything weird that may give a clue to the cause of it or anything like that either. For reference on how far I am into the game, I've completed the Getting Started quest line and have made decent progress on many other ones. As of this time around, I'm on day 162 and I've explored some of the surrounding structures, and visited a sky village (just in case that might be causing the problem, I have no clue).

DragonBuster10k avatar Aug 11 '24 20:08 DragonBuster10k

UPDATE:

I just went back to check on this and took an actual look at the client.log file I attached, and it appears that the problem is happening with custom ponders for AE2. Here's an example: [16:12:56] [WARN] ponder/ae2_controller.js#10: [PonderJS] modifyTileNBT(selection, (nbt) => {}) is deprecated, use modifyBlockEntityNBT(selection, (nbt) => {}) instead This is likely the cause since it is basically the same issue that I'm seeing with the in-game error screen; having to do with NBT methods being deprecated. There might be a way for me to fix this myself but I don't really have any idea how I would do it. If there is a way anyone knows of, please let me know! :)

DragonBuster10k avatar Aug 11 '24 22:08 DragonBuster10k

Same issue: when saving world, same errors appear as in image above. FTB skies 1.6.0 (legendary tooltips disabled by renaming jar to jar.disabled) Azul 17 jdk (latest, windows 10) JVM args: see the allthemods github wiki page

TheGrinchOnMath avatar Sep 30 '24 12:09 TheGrinchOnMath

Getting the same error on FTB Skies 1.8.0.

miniluz avatar Apr 06 '25 15:04 miniluz