diff options
author | Alexander Anishin <oneeyemaker@gmail.com> | 2024-10-13 18:34:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-13 15:34:45 +0000 |
commit | a708d0ad7de777bf53199e2f28ceade6c08283b1 (patch) | |
tree | 3ece29aa086382b9944856808c74d5d2ea499e74 /src/main/java/gregtech/common/blocks | |
parent | 52a4582f46de42ff19086760ac13303dfecb1593 (diff) | |
download | GT5-Unofficial-a708d0ad7de777bf53199e2f28ceade6c08283b1.tar.gz GT5-Unofficial-a708d0ad7de777bf53199e2f28ceade6c08283b1.tar.bz2 GT5-Unofficial-a708d0ad7de777bf53199e2f28ceade6c08283b1.zip |
Fixed dust output of Ore Drilling Plant (#3350)
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/gregtech/common/blocks')
-rw-r--r-- | src/main/java/gregtech/common/blocks/TileEntityOres.java | 8 |
1 files changed, 8 insertions, 0 deletions
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<ItemStack> getSilkTouchDrops(Block aDroppedOre) { + final boolean tShouldSilkTouch = TileEntityOres.shouldSilkTouch; + TileEntityOres.shouldSilkTouch = true; + final ArrayList<ItemStack> tDrops = getDrops(aDroppedOre, 0); + TileEntityOres.shouldSilkTouch = tShouldSilkTouch; + return tDrops; + } + @Override public ITexture[] getTexture(Block aBlock) { if (mMetadataForCachedTexture == mMetaData && mCachedTexture != null) return mCachedTexture; |