Waila Harvestability

Waila Harvestability

55M Downloads

Gravel Silk Touchability Icon Flickers in WAILA

gabor7d2 opened this issue ยท 5 comments

commented

I saw this everywhere. Like in AS2 ME^4, My Modpack that I am making, Infinity, etc.
The problem is in the title, the Silk Touchability Icon Flickers right next to the Currently Harvestable text.
Youtube Video Link

WAILA Version: 1.5.10
WAILA Harvestability Version: 1.1.2

Thanks for the help!
If you need modlist, forge log or anything like that, tell me.

commented

I found another block that does this: The Cloud Blocks from Chisel (all of them), but this time not just the silk touchability flickers, but the whole line with the Currently Harvestable text.
ID: chisel:cloud
Does your fix fixes all of these issues ?

commented

Not sure, will look into that.

commented

Committed the fix without realizing it in 3794f40. Should be fixed in v1.1.3.

commented

No problem! Thanks! ๐Ÿ˜„

commented

Thanks for reporting this. It's happening because the silk touch handler checks the block's drops to see if silk touch gives a different drop than regular harvesting, but gravel blocks drop flint instead of the gravel block 10% of the time, so the check is currently failing some of the time and succeeding other times, causing the icon to flicker.

I came up with one way to fix it, but I'm not sure it's the best. I'll think about it some more and see if I can come up with anything better.