![Pufferfish's Skills [Fabric & Forge & NeoForge]](https://media.forgecdn.net/avatars/thumbnails/786/631/256/256/638138098303113835.png)
Expected a valid operation
iStryka opened this issue ยท 7 comments
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
@Kamkarot I will try that when I am not busy.
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 at
operationsat
max_healthat
variablesat
dataat index 0 at
sourcesat
categories\combat\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
dropped_xpat
variablesat
dataat index 0 at
sourcesat
categories\combat\experience.jsonUnknown variable
dropped_xpat
expressionat index 0 at
experienceat
dataat index 0 at
sourcesat
categories\combat\experience.jsonUnknown variable
max_healthat
expressionat index 0 at
experienceat
dataat index 0 at
sourcesat
categories\combat\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
deepslateat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
copper_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
gold_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
redstone_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
stone_likeat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
deepslate_redstone_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
silk_touchat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
deepslate_emerald_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
iron_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
diamond_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
deepslate_copper_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
lapis_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
coal_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
deepslate_iron_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
deepslate_lapis_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
emerald_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
deepslate_coal_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
deepslate_gold_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonExpected a valid operation type at
typeat index 0 at
operationsat
deepslate_diamond_oreat
variablesat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
silk_touchat
conditionat index 0 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
stone_likeat
conditionat index 0 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
silk_touchat
conditionat index 1 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
deepslateat
conditionat index 1 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
silk_touchat
conditionat index 2 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
coal_oreat
conditionat index 2 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
copper_oreat
conditionat index 2 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
iron_oreat
conditionat index 2 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
gold_oreat
conditionat index 2 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
redstone_oreat
conditionat index 2 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
lapis_oreat
conditionat index 2 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
diamond_oreat
conditionat index 2 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
emerald_oreat
conditionat index 2 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
silk_touchat
conditionat index 3 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
deepslate_coal_oreat
conditionat index 3 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
deepslate_copper_oreat
conditionat index 3 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
deepslate_iron_oreat
conditionat index 3 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
deepslate_gold_oreat
conditionat index 3 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
deepslate_redstone_oreat
conditionat index 3 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
deepslate_lapis_oreat
conditionat index 3 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
deepslate_diamond_oreat
conditionat index 3 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.jsonUnknown variable
deepslate_emerald_oreat
conditionat index 3 at
experienceat
dataat index 0 at
sourcesat
categories\mining\experience.json``
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.
@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
.
@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.
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 hadversion
set to3
. - 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.
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 hadversion
set to3
.- 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.