Jump to content

Saving Specific NBT data to Player(Or how to open specific data so other mods can use it)


Willsbr

Recommended Posts

So I'm creating a mod, and trying to get this mod compatible with another mod called "Figura". It's a model creation mod and one of the neat things it lets you do is use the player's NBT data in your models. Originally I thought since my the stuff I wanted to be used was a capability it was all good, then I realized that it never saved to NBT in a way I wanted it to. I tried to forcefully save it using event.player.serializeNBT();, but the discovered that saves everything at the exact state, and unless your calling it very slowly it effectively freezes every stat in the game.
There's also some way to create a plugin for figura, but there's no documentation and I don't know how to even let another mod see the data I want it to see from my own mod. 

If someone could answer either question, that would manage to solve my problem!

Link to comment
Share on other sites

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • i tried to upgrade my modrith LBC modpack that i added a few more mods to from version 1.16.5 to 1.18.2, but even tho ive upgraded all the mod versions, it just does not run.... i tried deleting the config files and waiting to see if they will reinstall, but that didnt work... i also tried creating a forge modpack with no mods in it, just the forge launcher and that worked fine.... i dunno what the problem is, but maybe someone here might, here is the log that happens when i try to run the game:   [09sep2024 18:38:16.456] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, {MINECRAFT_USERNAME}, --version, 1.18.2, --gameDir, C:\Users\{COMPUTER_USERNAME}\AppData\Roaming\com.modrinth.theseus\profiles\Lucky Block Challenge, --assetsDir, C:\Users\{COMPUTER_USERNAME}\AppData\Roaming\com.modrinth.theseus\meta\assets, --assetIndex, 1.18, --uuid, {MINECRAFT_UUID}, --accessToken, ????????, --clientId, c4502edb-87c6-40cb-b595-64a280cf8906, --xuid, 0, --userType, msa, --versionType, release, --width, 854, --height, 480, --launchTarget, forgeclient, --fml.forgeVersion, 40.2.14, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914] [09sep2024 18:38:16.459] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.11 by Azul Systems, Inc. [09sep2024 18:38:16.979] [main/INFO] [gg.essential.loader.stage1.EssentialLoaderBase/]: Starting Essential Loader (stage2) version 1.6.3 (285f951adc7537f49ae3ef9fc0d2fd3e) [stable] [09sep2024 18:38:17.014] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/{COMPUTER_USERNAME}/AppData/Roaming/com.modrinth.theseus/meta/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=CLIENT   and here are all the upgraded mods in the modpack if that helps:   essential_1-3-4-1_forge_1-18-2.jar mostructures-forge-1.2.0-1.16.5.jar XaerosWorldMap_1.39.0_Forge_1.18.2.jar rubidium-0.5.6.jar chaosawakens-1.16.5-0.12.1.1.jar citadel-1.11.3-1.18.2.jar konkrete_forge_1.8.0_MC_1.18-1.18.2.jar purechaos-1.16.5-4.0.0.jar apexcore-1.18.2-4.13.0.jar lucky-block-forge-1.16.5-6.0.jar ftb-ultimine-forge-1605.3.1-build.45.jar kryptonreforged-mc1.16.5_v1.0.0.jar easy_villagers-1.16.5-1.0.11.jar loadmyresources_forge_1.0.4_MC_1.18-1.18.2.jar betterbiomeblend-1.18.2-1.3.5-forge.jar TConstruct-1.18.2-3.7.1.155.jar radon-0.8.1.jar SpawnerFix-1.16.2-1.0.0.2.jar ferritecore-4.2.2-forge.jar SimpleRPC-Universal-3.3.3.jar DragonSurvival_DragonEditor-1.16.5-0.10.7.jar BadMobs-1.18.2-13.01.jar ChanceCubes-1.18.2-5.0.2.478.jar MutantBeasts-1.16.4-1.1.3.jar Fallingleaves-1.16.3-1.2.4.jar geckolib-forge-1.18-3.0.57.jar fancymenu_forge_3.2.3_MC_1.18.2.jar Hwyla-forge-1.10.11-B78_1.16.2.jar modernfix-forge-5.18.0+mc1.18.2.jar Mantle-1.18.2-1.9.50.jar ftb-library-forge-1605.3.4-build.90.jar fantasyfurniture-1.18.2-3.14.0.jar lightspeed-1.18.2-1.0.5.jar silent-lib-1.18.2-6.2.0.jar oculus-mc1.18.2-1.6.4.jar jei-1.16.5-7.8.0.1009.jar DefaultOptions_1.16.5-12.2.1.jar Shatter-1.16.5-10.0.1.jar selene-1.18.2-1.17.16.jar BHMenu-Forge-1.18.2-2.4.1.jar minecraft-comes-alive-7.4.11+1.18.2-universal.jar shutupexperimentalsettings-1.0.3.jar saturn-mc1.18.2-0.1.5.jar configured-1.5.4-1.16.5.jar Hats-1.16.5-10.3.4.jar incontrol-1.18-6.1.13.jar Wyrmroost-1.16.3-1.2.11.jar BiomesOPlenty-1.18.2-16.0.0.134.jar justzoom_forge_2.0.0_MC_1.18.2.jar iceandfire-2.1.13-1.18.2-beta-3.jar AppleTreesRev-Forge-1.16.5-v2.6.jar torohealth-1.16.4-forge-4.jar iChunUtil-1.16.5-10.7.0.jar entitycollisionfpsfix-1.16-1.0.1.jar MyServerIsCompatible-1.18-1.0.jar appleskin-forge-mc1.18.2-2.5.1.jar Oh_The_Biomes_You'll_Go-forge-1.18.2-1.5.1.jar lazydfu-0.1.3.jar supplementaries-1.18.2-1.5.18.jar architectury-4.12.94-forge.jar carryon-1.18.2-1.17.2.15.jar dragonseeker-1.1.jar  
  • Topics

×
×
  • Create New...

Important Information

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