(Basic) Drill doesn't break torches, especially not instantly
Ayutac opened this issue ยท 5 comments
MC 1.18.2
TR 5.2.0-beta.2
Other mods are present, but I doubt they are responsible for this
Constructor for reference:
TechReborn/src/main/java/techreborn/items/tool/DrillItem.java
Lines 55 to 64 in af1159f
The unpowered breaking speed multiplier is literally NEGATIVE.
And since Torches don't need a tool, the negative mining speed is applied to them.
TechReborn/src/main/java/techreborn/items/tool/DrillItem.java
Lines 67 to 79 in af1159f
Special highlight to the Math.min
function.
-5 is obviously smaller than 6, so -5 is the mining speed for non-effective blocks.
Still exits in TR 5.3.4 standalone. Holds for torches, soulfire torches, redstone torches. Doesn't for e.g. item frame.
Not just torches
any tree, cactus, dead bush.
can understand trees and cactus but dead bush and torches are insta break no matter what is held