Disable play sound when crafting with gt tools (#659)

This commit is contained in:
slprime authored and GitHub committed 2025-07-08 15:41:42 +02:00
1 parent 3a0722adc2
commit ca79cdd3c9
4 files changed
+28

No files matched your search

@@ -84,6 +84,12 @@ public class StackInfo {
return result;
}
public static void playItemDamageSound(boolean enabled) {
for (IStackStringifyHandler handler : stackStringifyHandlers) {
handler.playItemDamageSound(enabled);
}
}
public static ItemStack withAmount(ItemStack stack, long customCount) {
if (stack == null) return null;
final NBTTagCompound nbTag = StackInfo.itemStackToNBT(stack);