From a708d0ad7de777bf53199e2f28ceade6c08283b1 Mon Sep 17 00:00:00 2001 From: Alexander Anishin Date: Sun, 13 Oct 2024 18:34:45 +0300 Subject: Fixed dust output of Ore Drilling Plant (#3350) Co-authored-by: Martin Robertz --- src/main/java/gregtech/common/blocks/TileEntityOres.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main/java/gregtech/common/blocks') diff --git a/src/main/java/gregtech/common/blocks/TileEntityOres.java b/src/main/java/gregtech/common/blocks/TileEntityOres.java index 9ddcbcc19c..0dbdcec1a2 100644 --- a/src/main/java/gregtech/common/blocks/TileEntityOres.java +++ b/src/main/java/gregtech/common/blocks/TileEntityOres.java @@ -452,6 +452,14 @@ public class TileEntityOres extends TileEntity implements IAllSidedTexturedTileE return rList; } + public ArrayList getSilkTouchDrops(Block aDroppedOre) { + final boolean tShouldSilkTouch = TileEntityOres.shouldSilkTouch; + TileEntityOres.shouldSilkTouch = true; + final ArrayList tDrops = getDrops(aDroppedOre, 0); + TileEntityOres.shouldSilkTouch = tShouldSilkTouch; + return tDrops; + } + @Override public ITexture[] getTexture(Block aBlock) { if (mMetadataForCachedTexture == mMetaData && mCachedTexture != null) return mCachedTexture; -- cgit