RPGStats icon indicating copy to clipboard operation
RPGStats copied to clipboard

Mod compatibility issue with Mo'Enchantments (Veining III) - Minecraft 1.19

Open Chikansky opened this issue 1 year ago • 6 comments

While playing i noticed that my mining xp stoped increasing and with some experiments i discovered that i gained xp after breaking ores with an iron pickaxe, probably would work with diamond and netherite but my main pickaxe has some enchants like veining III and Alphafire from Mo'Enchantments and some vanila enchants like efficiency V and Fortune III. Don't know if its a compatability issue with that enchantment mod or anyother reason.

Chikansky avatar Jul 18 '22 23:07 Chikansky

I did some testing and the problem came from the veining III enchant even when i'm breaking only 1 block. If the issue should be directed to the Mo'Enchantments developer tell me and i will redirect thsi issue.

Chikansky avatar Jul 19 '22 00:07 Chikansky

Could you enable the debug options and provide a log?

SilverAndro avatar Jul 19 '22 01:07 SilverAndro

I don't think i know what you are referring to when you say enable debug, is it F3 or the command /debug? And the log is the one that is created when minecraft initializes oorwhen you use the /debug function? (didn't see any option abou rpgstats when i use /debug function)

Chikansky avatar Jul 19 '22 01:07 Chikansky

I think i got it!! I enabled all the debug options in the config file, then i created a new world and did 2 tests, the first is using a pickaxe without veining III and received the xp and the second with the enchant. The first test was at 11:29 and ended some seconds later The second test started at 11:30. The only thing i know is that with the first test it recognized that i was breaking blocks while in the second it didn't. And i noticed that you gain xp by breaking ores in creative

latest.log

Chikansky avatar Jul 19 '22 10:07 Chikansky

Awesome thanks! And yes that's what I meant, sorry, so used to not having to specify when talking about them to myself haha

SilverAndro avatar Jul 19 '22 16:07 SilverAndro

Wow ok I need to turn down the sync interval, is that running every tick??

But yeah thanks for the log! It seems like the mod that adds the vein mining enchant isn't firing the block break event, so RPGStats doesn't know anything happened, and thus can't grant XP

That's my assumption at least, don't have the time to do a deep dive

SilverAndro avatar Jul 20 '22 01:07 SilverAndro