oωo (owo-lib)

oωo (owo-lib)

29M Downloads

bug with data packs using food tracking with scoreboard

Lord-Voidy opened this issue · 4 comments

commented

When using the mod, I encountered an error, which is that any date pack that tracks food intake does not work correctly, and actions are triggered before consuming the item. The error is detected even in a single-user world without cheats. I was playing with the owo-lib version-0.12.18+1.21.2. Please fix this bug.

commented

Could you provide steps on how to reproduce this issue?

commented

Could you provide steps on how to reproduce this issue?

I just deleted the mod and the datapack started working correctly.

commented

In order for us to try fixing this issue, we have to be able to reproduce it - as Noaaan already clearly stated. Thus, you'd need to, at the very least, provide us with a link to the datapack you were using when you encountered the problem.

commented

Steps to reproduce (tested using 0.12.20+1.21.4 on Fabric):

  1. Create a scoreboard
    /scoreboard objectives add count minecraft.used:minecraft.blaze_powder
    /scoreboard objectives setdisplay sidebar count
  2. Get a consumable item
    /give @s minecraft:blaze_powder[consumable={}]
    (consumable component options don't seem to matter)
  3. Scoreboard value increases every time item is right clicked, even without fully consuming.
    In vanilla, score is only added when item is fully consumed.