Closed TheJaysH closed 11 months ago
@altaiiiir Let me know if you want to work through this.
branch here: https://github.com/altaiiiir/Viner/tree/bugfix/0013-no-mining-exp
@altaiiiir If you take a look in ForgeHooks.java. Lines: 486-489
int silkTouchLevel = stack.getEnchantmentLevel(Enchantments.SILK_TOUCH);
int exp = state.getExpDrop(level, level.random, pos, fortuneLevel, silkTouchLevel);
if (exp > 0)
state.getBlock().popExperience(level, pos, exp);
This should be a good starting point
Originally reported by KizXii on discord https://discord.com/channels/1135099149658890340/1135099150405480525/1168441808926281789