From 71aeac25b9a809f209795e502bb474882891178d Mon Sep 17 00:00:00 2001 From: Technus Date: Mon, 5 Jun 2017 15:03:34 +0200 Subject: [PATCH] Missing in item pipe --- .../implementations/GT_MetaPipeEntity_Item.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaPipeEntity_Item.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaPipeEntity_Item.java index 5be23050..7e2e7b78 100644 --- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaPipeEntity_Item.java +++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaPipeEntity_Item.java @@ -18,6 +18,8 @@ import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntityDispenser; import net.minecraft.tileentity.TileEntityHopper; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.world.World; import java.util.ArrayList; import java.util.concurrent.ConcurrentHashMap; @@ -314,4 +316,9 @@ public class GT_MetaPipeEntity_Item extends MetaPipeEntity implements IMetaTileE if(GT_Client.hideValue==1) return 0.0625F; return mThickNess; } + + @Override + public AxisAlignedBB getCollisionBoundingBoxFromPool(World aWorld, int aX, int aY, int aZ) { + return AxisAlignedBB.getBoundingBox(aX + 0.0625D, aY + 0.0625D, aZ + 0.0625D, aX + 0.9375D, aY + 0.9375D, aZ + 0.9375D); + } } \ No newline at end of file