Project MMO

Project MMO

10M Downloads

Mining Fatigue-like Effect on Random Blocks

josephgilbert opened this issue ยท 11 comments

commented

Describe the bug
There are two ways I can explain this. 1. Random blocks seem to have random hardness above what they usually have. 2. The player seems to randomly get a random level of mining fatigue while mining certain blocks. Note that no mining fatigue debuff is actually present, or at least none show up on the GUI. In either case, random blocks take longer to mine than others of the same block. Sometimes the block won't drop after being mined.

Expected behavior
Not having some blocks randomly be slower to mine (not trying to come off as snarky, I just don't know what else to put here).

To Reproduce
Steps to reproduce the behavior:
Uncertain. It could very well be an incorrect configuration setting.
I specifically started noticing this bug while in a taiga biome.
Blocks like stone, logs, andesite, granite, diorite, dirt, and grass seem to exhibit this behavior frequently.
In fact, upon further testing, it seems only blocks that are more "natural" exhibit this behavior. Blocks like cracked stone bricks, stone bricks, and wooden planks do not exhibit this issue.

Versions:
-Minecraft 1.18.2
-Forge 40.1.73
-PMMO 2.0.0.10 (ALPHA 1.18.2)

Additional context
I understand that this is an alpha version of PMMO, so I understand fully that this type of bug is expected. I have added my configuration settings as well, as it might just be something I messed up in them for this bug to occur.

pmmo-AutoValues.txt
pmmo-Globals.txt
pmmo-Perks.txt
pmmo-server.txt
pmmo-Skills.txt

commented

@josephgilbert another person described this issue as well, albeit with less useful detail. Could you remove the entire BREAK_SPEED section from your pmmo-perks.toml and let me know if the issue persists?

commented

I did exactly as you recommended and removed the BREAK_SPEED section from the perks file and restarted my game. However the issue appears to still be present, albeit with much less frequency. I should note that I'm experiencing the issue almost 100% of the time in a Valhesia Structures castle. When I mine stone that isn't part of the structure, it seems to mine just fine.

commented

Also sorry for commenting so much, one thing that I have just noticed is that when I bring up the skills tab, I notice that I have a +25.00% for mining, woodcutting, and excavation, as can be seen in the picture I've attached.
2022-08-11_15 49 28

commented

Oh! I don't know how to disable that with the new configs though. If you can tell me how to turn off the biome bonuses, I'll test it out to see if that's what's causing the issue. Also, no the only thing I'm wearing on my player is a full set of iron armor, which seems to not give any bonuses.

commented

Are you wearing leather armor? Oh wait that might be a biome bonus.

commented

extract this in your save's datapack folder.
modifier-pack.zip

you should have the following path yoursavename/datapacks/modifier-pack/data/minecraft/pmmo/dimensions/overworld.json edit this json file to set the bonuses you want.

commented

Ok, obviously I have no clue what I'm doing. I tried deleting the section in the json file that set the bonuses, and that didn't seem to affect anything. Literally, the bonuses were still active. I then tried setting the bonuses to 0, and the issue is still persisting. In fact, when I set it to 0, it displays --100% as the bonus
2022-08-11_16 25 21
.

commented

Set them to 1. It's a multiplier so 1.0= 1x gain aka normal xp

commented

Ok, I set the bonuses correctly, but the issue still persists even without the bonuses present.

commented

I may try testing some more later, but for now I'm just going to downgrade to before the alpha. I really can't figure out what's going on here.

commented

Ok. First, I want to apologize for wasting so much of your time. Second, I've done a bit more testing and have realized that it doesn't seem to be a bug with PMMO at all. What it actually is is an issue with Valhesia Structures. So again, my apologies. I had assumed it was PMMO as I was using the alpha build and it was the only mod I could think would be the culprit. I don't think there's any reason to leave this issue open as it isn't something that can be resolved through PMMO.