Open QuantumXenon opened 1 year ago
latest.log Here is the log, I just noticed that it wasn't included in the original issue report.
Cannot invoke "io.github.edwinmindcraft.apoli.api.power.configuration.ConfiguredPower.getFactory()" because "power" is null
One of the origins in Origins++ causes a crash with Origins (Forge), but not Origins (Fabric). I'm not sure what the cause is, but it looks to be caused by Apoli. Here is the crash report for more information.
yes please fix this for 1.18.5 ): cant join existing worlds, just keeps crashing. i really wanna use orgins ++
origins:modify_damage_dealt
does not work as expectedThis power is supposed to increase damage when a stone sword is used:
"type":"origins:modify_damage_dealt",
"condition":{
"type":"origins:equipped_item",
"equipment_slot":"mainhand",
"item_condition":{
"type":"origins:ingredient",
"ingredient":{
"item":"minecraft:stone_sword"
}
}
},
"modifier":{
"operation":"multiply_total",
"value":1.25
}
With Origins (Fabric), damage dealt is increased (tested using Target Dummy mod), however the damage does not change using the Forge version.
@QuantumXenon Would you mind sending me the entire datapack for Issue 4? There's some specifics like functions and tags that I'm missing here.
Thanks for taking the time to resolve the various issues I have reported!
Unfortunately, I do not have access to a computer at the moment, so I will only be able to provide URLs. I have done some renaming so some of the names have been changed from the version of the power pasted above.
The data pack can be found at https://github.com/QuantumXenon/origins-plus-plus.
The functions used can be found at https://github.com/QuantumXenon/origins-plus-plus/blob/main/data/origins-plus-plus/functions/deathsworn/crystallize.mcfunction and https://github.com/QuantumXenon/origins-plus-plus/blob/main/data/origins-plus-plus/functions/deathsworn/set_stats.mcfunction
The tag used can be found at https://github.com/QuantumXenon/origins-plus-plus/blob/main/data/origins-plus-plus/tags/entity_types/petrified_heart_mobs.json
Sorry for the inconvenience of not being able to upload specific files.
I'll probably go in and fix that bug at a later date, mainly because I just released a version.
Context
While working on the Forge version of Origins++, I've noticed a few bugs/inconsistencies between the Fabric and Forge versions of Origins. I have been able to reproduce all of them with:
The logs also contain a lot of errors in the form
Removed [x] missing powers from origins-plus-plus:[origin]
. This doesn't happen on the Fabric version, but I might be missing something on how to get it to work properly on the Forge version.I appreciate all your help in the past and hope that I haven't caused too many issues with people coming here for help regarding Origins++ and any mistakes I may have made regarding making it work properly for Origins (Forge).
-- QuantumXenon
Issue 1: Rejoining an existing world can sometimes result in an error message
Attempting to rejoin a world which has already been generated will sometimes result in an error message like
Registry ResourceKey[minecraft:root/apoli:configured_power] was missing
orInvalid player data
. See attached log for more information.Issue 2:
origins:restrict_armor
not applying to only one equipment slotWhen an origin is given the following power, the player is prevented from wearing any armour, rather than just being prevented from wearing a helmet. This power works as expected in the Fabric version.
Issue 3:
origins:modify_break_speed
does not work as expectedWhen an origin is given the ability to break bedrock (by increasing their break speed for it, such as in this example), they are unable to mine it. This power works as expected in the Fabric version.
Issue 4: Power that works on Fabric doesn't work on Forge
I'm not sure what the cause of this issue is, but using the following power works as expected in Fabric (mobs with a tag drop an item when killed), whereas on Forge, nothing happens.
Please let me know if you need any more information regarding any of the issues (or anything else, for that matter).