SilverAndro / RPGStats

A stats mod for quilt servers
Mozilla Public License 2.0
40 stars 17 forks source link

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

Open Chikansky opened 2 years ago

Chikansky commented 2 years ago

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 commented 2 years ago

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.

SilverAndro commented 2 years ago

Could you enable the debug options and provide a log?

Chikansky commented 2 years ago

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 commented 2 years ago

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

SilverAndro commented 2 years ago

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 commented 2 years ago

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