@Override public CustomHitBox getCustomHitBox(int subHit, EntityPlayer thePlayer) { double v1 = getDuctType().isLargeTube() ? 0.075 : .3; double v = (1 - v1 * 2); CustomHitBox hb = new CustomHitBox(v, v, v, pos.getX() + v1, pos.getY() + v1, pos.getZ() + v1); for (int i = 0; i < 6; i++) { BlockDuct.ConnectionType renderConnectionType = getVisualConnectionType(i); if (renderConnectionType == BlockDuct.ConnectionType.DUCT) { hb.drawSide(i, true); hb.setSideLength(i, v1); } else if (renderConnectionType != BlockDuct.ConnectionType.NONE) { hb.drawSide(i, true); hb.setSideLength(i, .04); } } return hb; }