Pufferfish's Skills [Fabric & Forge & NeoForge]

Pufferfish's Skills [Fabric & Forge & NeoForge]

12M Downloads

Expected a valid operation

iStryka opened this issue ยท 7 comments

commented

Minecraft version 1.19.2
puffish attributes 0.6.0
puffish skills 0.14.1
Modpack used Dimensional Ascension 0.7.1b

Running into an error for operations and dropped xp and max_health variable unknown.

Expected a valid operation type at type at index 0 at operations at max_health at variables at data at index 0 at sources at categories\combat\experience.json
Expected a valid operation type at type at index 0 at operations at dropped_xp at variables at data at index 0 at sources at categories\combat\experience.json
Unknown variable dropped_xp at expression at index 0 at experience at data at index 0 at sources at categories\combat\experience.json
Unknown variable max_health at expression at index 0 at experience at data at index 0 at sources at categories\combat\experience.json

Initially I was getting a rewards error calling 'rewards' at 'skill names' but that was fixed after adding puffish attributes, then now stuck with operations within the experience.json file

commented

@Kamkarot I will try that when I am not busy.

commented

I am having the same issue. I installed from CurseForge,
Pufferfish's Skills [Fabric & Forge & NeoForge]
Pufferfish's Attributes [Fabric & Forge & NeoForge]
Default Skill Trees
[Server thread/ERROR]: [puffish_skills] Mod configuration could not be loaded: Expected a valid operation type at typeat index 0 atoperationsatmax_healthatvariablesatdataat index 0 atsourcesatcategories\combat\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatdropped_xpatvariablesatdataat index 0 atsourcesatcategories\combat\experience.jsonUnknown variabledropped_xpatexpressionat index 0 atexperienceatdataat index 0 atsourcesatcategories\combat\experience.jsonUnknown variablemax_healthatexpressionat index 0 atexperienceatdataat index 0 atsourcesatcategories\combat\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatdeepslateatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatcopper_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatgold_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatredstone_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatstone_likeatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatdeepslate_redstone_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatsilk_touchatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatdeepslate_emerald_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatiron_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatdiamond_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatdeepslate_copper_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatlapis_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatcoal_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatdeepslate_iron_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatdeepslate_lapis_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatemerald_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatdeepslate_coal_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatdeepslate_gold_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonExpected a valid operation type attypeat index 0 atoperationsatdeepslate_diamond_oreatvariablesatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variablesilk_touchatconditionat index 0 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variablestone_likeatconditionat index 0 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variablesilk_touchatconditionat index 1 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variabledeepslateatconditionat index 1 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variablesilk_touchatconditionat index 2 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variablecoal_oreatconditionat index 2 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variablecopper_oreatconditionat index 2 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variableiron_oreatconditionat index 2 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variablegold_oreatconditionat index 2 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variableredstone_oreatconditionat index 2 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variablelapis_oreatconditionat index 2 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variablediamond_oreatconditionat index 2 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variableemerald_oreatconditionat index 2 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variablesilk_touchatconditionat index 3 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variabledeepslate_coal_oreatconditionat index 3 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variabledeepslate_copper_oreatconditionat index 3 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variabledeepslate_iron_oreatconditionat index 3 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variabledeepslate_gold_oreatconditionat index 3 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variabledeepslate_redstone_oreatconditionat index 3 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variabledeepslate_lapis_oreatconditionat index 3 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variabledeepslate_diamond_oreatconditionat index 3 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.jsonUnknown variabledeepslate_emerald_oreatconditionat index 3 atexperienceatdataat index 0 atsourcesatcategories\mining\experience.json``

commented

I don't know if it is a fix for iStryka, but uninstalling all and actually deleting the puffish folders etc. Then installing Pufferfish's Attributes, launching and ensuring the attributes are available (/attributes @s puff ) this should show if they are installed correctly. Then installing the other parts, pufferfish skills , default skill tree, has worked.

commented

@Kamkarot Default Skill Trees data pack is intended to be put into data packs folder, but you have put it into the mod configuration folder. It is possible to do that this way, but you need to decrease version in config.json to 2, because when it is set to 3 legacy features that this data pack uses are not allowed. Alternatively you can download updated 1.1 version of Default Skill Trees data pack, that I have just uploaded, which it is compatible with configuration version 3.

commented

@iStryka In your case I can't tell from the logs how you have installed Default Skill Trees, but solutions are the same. Decrease configuration version or update the Default Skill Trees. There is also Default Skill Trees mod which is a bit easier to install.

commented

I assume you both got these errors after doing either of these:

  • Copying categories from data pack into mod configuration folder, and using config.json generated by to mod which had version set to 3.
  • Manually increasing version in config.json because the warning in the logs said to do so.

If none of these describe your case please let me know, because otherwise there may be a bug in the mod.

commented

I assume you both got these errors after doing either of these:

  • Copying categories from data pack into mod configuration folder, and using config.json generated by to mod which had version set to 3.
  • Manually increasing version in config.json because the warning in the logs said to do so.

If none of these describe your case please let me know, because otherwise there may be a bug in the mod.

My issue is fixed after completely removing the modpack, reinstalling a clean slate of it with the latest pufferfish and installing everything manually afterwards via data pack zip, what borked it was the older pufferfish mod that didn't need to use the datapack so my assumption is the datapack + conflicting old folders. So from that, I re-imported all of my custom attributes I had into the data pack zip and everything is working well.